From 20b69c10b6ce499f144979a28bff3d043567e1e5 Mon Sep 17 00:00:00 2001 From: Bill Leoutsakos Date: Fri, 4 Sep 2026 21:56:09 -0700 Subject: [PATCH] feat(oracle-fusion-financials): add Payables Receivables Expenses and GL --- apps/docs/components/ui/icon-mapping.ts | 1 + apps/docs/content/docs/integrations/meta.json | 1 + .../integrations/oracle_fusion_financials.mdx | 2447 +++++++ .../blocks/blocks/oracle_fusion_financials.ts | 6049 +++++++++++++++++ apps/sim/blocks/registry-maps.ts | 6 + .../lib/copilot/generated/docs-manifest.ts | 1 + .../integrations/credential-display.test.ts | 15 + apps/sim/lib/integrations/icon-mapping.ts | 1 + .../execute-tool.test.ts | 278 + .../oracle-fusion-financials/execute-tool.ts | 44 + .../operations.test.ts | 1775 +++++ .../oracle-fusion-financials/operations.ts | 2407 +++++++ .../oracle-fusion-financials/schema.test.ts | 425 ++ .../oracle-fusion-financials/schema.ts | 2789 ++++++++ .../tool-operations/registry.server.ts | 116 + apps/sim/lib/oauth/oauth.ts | 18 + apps/sim/lib/oauth/types.ts | 1 + apps/sim/lib/selectors/manifest.test.ts | 32 +- apps/sim/lib/selectors/manifest.ts | 36 + .../oracle-fusion-financials.test.ts | 479 ++ .../providers/oracle-fusion-financials.ts | 376 + apps/sim/lib/selectors/server/registry.ts | 2 + apps/sim/tools/generated/tool-ids.ts | 2 +- apps/sim/tools/generated/tool-metadata.ts | 2 +- apps/sim/tools/generated/tool-outputs.ts | 2 +- .../apply_receivables_receipt.ts | 53 + .../approve_receivables_credit_memo.ts | 41 + .../approve_receivables_invoice.ts | 41 + .../create_expense_distribution.ts | 81 + .../create_expense_itemization.ts | 171 + .../create_expense_line.ts | 207 + .../create_expense_report.ts | 111 + .../create_receivables_credit_memo.ts | 157 + ...te_receivables_credit_memo_distribution.ts | 87 + .../create_receivables_credit_memo_line.ts | 105 + .../create_receivables_invoice.ts | 157 + ...create_receivables_invoice_distribution.ts | 87 + .../create_receivables_invoice_line.ts | 123 + .../create_receivables_receipt.ts | 129 + .../delete_gl_journal_batch.ts | 36 + .../delete_receivables_invoice.ts | 36 + .../delete_receivables_receipt.ts | 36 + .../get_expense_distribution.ts | 51 + .../get_expense_itemization.ts | 51 + .../get_expense_line.ts | 45 + .../get_expense_line_error.ts | 51 + .../get_expense_report.ts | 39 + .../get_expense_report_payment.ts | 45 + .../get_expense_report_processing_detail.ts | 46 + .../get_gl_journal_action_log.ts | 45 + .../get_gl_journal_batch.ts | 39 + .../get_gl_journal_error.ts | 45 + .../get_gl_journal_header.ts | 45 + .../get_gl_journal_line.ts | 51 + .../oracle_fusion_financials/get_gl_ledger.ts | 39 + .../get_payables_applied_prepayment.ts | 37 + .../get_payables_available_prepayment.ts | 37 + .../get_payables_invoice.ts | 35 + .../get_payables_invoice_distribution.ts | 41 + .../get_payables_invoice_hold.ts | 35 + .../get_payables_invoice_installment.ts | 37 + .../get_payables_invoice_line.ts | 37 + .../get_payables_payment.ts | 35 + .../get_payables_payment_related_invoice.ts | 39 + .../get_payables_payment_term.ts | 35 + .../get_payables_payment_term_line.ts | 37 + .../get_payment_process_request.ts | 37 + .../get_receivables_credit_memo.ts | 39 + ...get_receivables_credit_memo_application.ts | 45 + ...et_receivables_credit_memo_distribution.ts | 45 + .../get_receivables_credit_memo_line.ts | 45 + .../get_receivables_customer_account.ts | 39 + .../get_receivables_customer_account_site.ts | 39 + .../get_receivables_invoice.ts | 39 + .../get_receivables_invoice_distribution.ts | 45 + .../get_receivables_invoice_installment.ts | 45 + .../get_receivables_invoice_line.ts | 45 + .../get_receivables_receipt.ts | 39 + .../get_receivables_receipt_application.ts | 45 + .../get_receivables_transaction_adjustment.ts | 45 + ...eceivables_transaction_payment_schedule.ts | 46 + .../tools/oracle_fusion_financials/index.ts | 109 + .../list_expense_distributions.ts | 49 + .../list_expense_itemizations.ts | 49 + .../list_expense_line_errors.ts | 49 + .../list_expense_lines.ts | 43 + .../list_expense_report_payments.ts | 43 + .../list_expense_report_processing_details.ts | 46 + .../list_expense_reports.ts | 37 + .../list_gl_balances.ts | 42 + .../list_gl_journal_action_logs.ts | 43 + .../list_gl_journal_batches.ts | 37 + .../list_gl_journal_errors.ts | 43 + .../list_gl_journal_headers.ts | 43 + .../list_gl_journal_lines.ts | 49 + .../list_gl_ledgers.ts | 37 + .../list_payables_applied_prepayments.ts | 46 + .../list_payables_available_prepayments.ts | 46 + .../list_payables_invoice_distributions.ts | 48 + .../list_payables_invoice_holds.ts | 44 + .../list_payables_invoice_installments.ts | 46 + .../list_payables_invoice_lines.ts | 46 + .../list_payables_invoices.ts | 50 + .../list_payables_payment_related_invoices.ts | 46 + .../list_payables_payment_term_lines.ts | 46 + .../list_payables_payment_terms.ts | 44 + .../list_payables_payments.ts | 44 + .../list_payment_process_requests.ts | 44 + ...st_receivables_credit_memo_applications.ts | 46 + ...t_receivables_credit_memo_distributions.ts | 46 + .../list_receivables_credit_memo_lines.ts | 43 + .../list_receivables_credit_memos.ts | 37 + ...list_receivables_customer_account_sites.ts | 40 + .../list_receivables_customer_accounts.ts | 37 + .../list_receivables_invoice_distributions.ts | 46 + .../list_receivables_invoice_installments.ts | 46 + .../list_receivables_invoice_lines.ts | 43 + .../list_receivables_invoices.ts | 37 + .../list_receivables_receipt_applications.ts | 46 + .../list_receivables_receipts.ts | 37 + ...ist_receivables_transaction_adjustments.ts | 46 + ...ceivables_transaction_payment_schedules.ts | 46 + .../remove_expense_report_cash_advance.ts | 41 + .../rework_receivables_credit_memo.ts | 41 + .../rework_receivables_invoice.ts | 41 + .../tools/oracle_fusion_financials/shared.ts | 1019 +++ .../submit_expense_report.ts | 35 + .../tools/oracle_fusion_financials/types.ts | 865 +++ .../update_expense_distribution.ts | 87 + .../update_expense_itemization.ts | 177 + .../update_expense_line.ts | 213 + .../update_expense_report.ts | 93 + .../update_receivables_credit_memo.ts | 69 + .../update_receivables_invoice.ts | 57 + .../update_receivables_invoice_installment.ts | 57 + .../update_receivables_receipt.ts | 129 + apps/sim/tools/registry.ts | 297 + .../deployment-config/src/integrations.json | 453 +- 138 files changed, 26129 insertions(+), 8 deletions(-) create mode 100644 apps/docs/content/docs/integrations/oracle_fusion_financials.mdx create mode 100644 apps/sim/blocks/blocks/oracle_fusion_financials.ts create mode 100644 apps/sim/lib/internal/oracle-fusion-financials/execute-tool.test.ts create mode 100644 apps/sim/lib/internal/oracle-fusion-financials/execute-tool.ts create mode 100644 apps/sim/lib/internal/oracle-fusion-financials/operations.test.ts create mode 100644 apps/sim/lib/internal/oracle-fusion-financials/operations.ts create mode 100644 apps/sim/lib/internal/oracle-fusion-financials/schema.test.ts create mode 100644 apps/sim/lib/internal/oracle-fusion-financials/schema.ts create mode 100644 apps/sim/lib/selectors/server/providers/oracle-fusion-financials.test.ts create mode 100644 apps/sim/lib/selectors/server/providers/oracle-fusion-financials.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/apply_receivables_receipt.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/approve_receivables_credit_memo.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/approve_receivables_invoice.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_expense_distribution.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_expense_itemization.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_expense_line.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_expense_report.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_receivables_credit_memo.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_receivables_credit_memo_distribution.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_receivables_credit_memo_line.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_receivables_invoice.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_receivables_invoice_distribution.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_receivables_invoice_line.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/create_receivables_receipt.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/delete_gl_journal_batch.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/delete_receivables_invoice.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/delete_receivables_receipt.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_expense_distribution.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_expense_itemization.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_expense_line.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_expense_line_error.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_expense_report.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_expense_report_payment.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_expense_report_processing_detail.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_gl_journal_action_log.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_gl_journal_batch.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_gl_journal_error.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_gl_journal_header.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_gl_journal_line.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_gl_ledger.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_applied_prepayment.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_available_prepayment.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_invoice.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_invoice_distribution.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_invoice_hold.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_invoice_installment.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_invoice_line.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_payment.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_payment_related_invoice.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_payment_term.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payables_payment_term_line.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_payment_process_request.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_credit_memo.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_credit_memo_application.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_credit_memo_distribution.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_credit_memo_line.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_customer_account.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_customer_account_site.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_invoice.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_invoice_distribution.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_invoice_installment.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_invoice_line.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_receipt.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_receipt_application.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_transaction_adjustment.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/get_receivables_transaction_payment_schedule.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/index.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_expense_distributions.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_expense_itemizations.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_expense_line_errors.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_expense_lines.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_expense_report_payments.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_expense_report_processing_details.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_expense_reports.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_gl_balances.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_gl_journal_action_logs.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_gl_journal_batches.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_gl_journal_errors.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_gl_journal_headers.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_gl_journal_lines.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_gl_ledgers.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_applied_prepayments.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_available_prepayments.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_invoice_distributions.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_invoice_holds.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_invoice_installments.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_invoice_lines.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_invoices.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_payment_related_invoices.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_payment_term_lines.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_payment_terms.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payables_payments.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_payment_process_requests.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_credit_memo_applications.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_credit_memo_distributions.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_credit_memo_lines.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_credit_memos.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_customer_account_sites.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_customer_accounts.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_invoice_distributions.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_invoice_installments.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_invoice_lines.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_invoices.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_receipt_applications.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_receipts.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_transaction_adjustments.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/list_receivables_transaction_payment_schedules.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/remove_expense_report_cash_advance.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/rework_receivables_credit_memo.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/rework_receivables_invoice.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/shared.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/submit_expense_report.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/types.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/update_expense_distribution.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/update_expense_itemization.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/update_expense_line.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/update_expense_report.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/update_receivables_credit_memo.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/update_receivables_invoice.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/update_receivables_invoice_installment.ts create mode 100644 apps/sim/tools/oracle_fusion_financials/update_receivables_receipt.ts diff --git a/apps/docs/components/ui/icon-mapping.ts b/apps/docs/components/ui/icon-mapping.ts index bf4284b3408..d1baab7cdf2 100644 --- a/apps/docs/components/ui/icon-mapping.ts +++ b/apps/docs/components/ui/icon-mapping.ts @@ -480,6 +480,7 @@ export const blockTypeToIconMap: Record = { onedrive: MicrosoftOneDriveIcon, onepassword: OnePasswordIcon, openai: OpenAIIcon, + oracle_fusion_financials: NetSuiteIcon, outlook: OutlookIcon, pagerduty: PagerDutyIcon, parallel_ai: ParallelIcon, diff --git a/apps/docs/content/docs/integrations/meta.json b/apps/docs/content/docs/integrations/meta.json index 382216cef33..d6e6470ebc1 100644 --- a/apps/docs/content/docs/integrations/meta.json +++ b/apps/docs/content/docs/integrations/meta.json @@ -187,6 +187,7 @@ "onedrive", "onepassword", "openai", + "oracle_fusion_financials", "outlook", "pagerduty", "parallel_ai", diff --git a/apps/docs/content/docs/integrations/oracle_fusion_financials.mdx b/apps/docs/content/docs/integrations/oracle_fusion_financials.mdx new file mode 100644 index 00000000000..2052f7f3af3 --- /dev/null +++ b/apps/docs/content/docs/integrations/oracle_fusion_financials.mdx @@ -0,0 +1,2447 @@ +--- +title: Oracle Fusion Cloud Financials +description: Read Payables, manage Receivables and Expenses, and inspect General Ledger +--- + +import { BlockInfoCard } from "@/components/ui/block-info-card" + + + +## Usage Instructions + +Connect a reusable Oracle Fusion Cloud Financials service account with a Fusion application URL, username, and password for Basic authentication. Read bounded pages and individual Payables invoices, lines, distributions, installments, prepayments, holds, payments, paid invoices, payment process requests, and payment terms with fixed projections. Manage Receivables transactions and employee expense reports using supported writes and named lifecycle actions. Inspect ledgers, journals, and balances, and delete eligible journal batches; journal posting and import are not supported. Payables remains read-only. Permissions and business-unit or employee access are controlled by Oracle; no arbitrary REST operations or credentials are exposed. + + + +## Actions + +### Oracle Fusion Financials List Receivables Invoices + +List one page of Oracle Fusion receivables invoices. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables invoices in this page | + +### Oracle Fusion Financials Get Receivables Invoice + +Get Oracle Fusion receivables invoice. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesInvoice` | json | Projected receivables invoice | + +### Oracle Fusion Financials Create Receivables Invoice + +Create Oracle Fusion receivables invoice. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `businessUnit` | string | No | Business Unit | +| `transactionNumber` | string | No | Transaction Number | +| `transactionDate` | string | No | Transaction Date \(YYYY-MM-DD\) | +| `accountingDate` | string | No | Accounting Date \(YYYY-MM-DD\) | +| `billToCustomerName` | string | No | Bill To Customer Name | +| `billToCustomerNumber` | string | No | Bill To Customer Number | +| `billToSite` | string | No | Bill To Site | +| `invoiceCurrencyCode` | string | No | Invoice Currency Code | +| `invoiceStatus` | string | No | Invoice Status | +| `paymentTerms` | string | No | Payment Terms | +| `transactionSource` | string | No | Transaction Source | +| `transactionType` | string | No | Transaction Type | +| `comments` | string | No | Comments | +| `purchaseOrder` | string | No | Purchase Order | +| `conversionRateType` | string | No | Conversion Rate Type | +| `conversionRate` | number | No | Conversion Rate | +| `conversionDate` | string | No | Conversion Date \(YYYY-MM-DD\) | +| `lines` | json | No | Typed lines to create with the receivables invoice \(at most 1000\). Use Oracle attribute names; exact integer attributes must be strings. | +| `distributions` | json | No | Typed distributions to create with the receivables invoice \(at most 1000\). Use Oracle attribute names; exact integer attributes must be strings. | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesInvoice` | json | Projected receivables invoice | + +### Oracle Fusion Financials Update Receivables Invoice + +Update Oracle Fusion receivables invoice. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | +| `invoiceStatus` | string | No | Invoice Status | +| `paymentTerms` | string | No | Payment Terms | +| `transactionDate` | string | No | Transaction Date \(YYYY-MM-DD\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesInvoice` | json | Projected receivables invoice | + +### Oracle Fusion Financials Delete Receivables Invoice + +Delete an Oracle Fusion receivables invoice when its current lifecycle state permits deletion. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `deleted` | boolean | Whether the resource was deleted | +| `id` | string | Deleted resource identifier | + +### Oracle Fusion Financials Approve Receivables Invoice + +Approve a pending-approval Oracle Fusion receivables invoice. Returns the action result, not a refreshed transaction. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | +| `comment` | string | No | Note recorded in the approval audit history | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `result` | string | Oracle action result; success is reported separately | + +### Oracle Fusion Financials Rework Receivables Invoice + +Request rework for a pending-approval Oracle Fusion receivables invoice. Returns the action result, not a refreshed transaction. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | +| `comment` | string | No | Note recorded in the approval audit history | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `result` | string | Oracle action result; success is reported separately | + +### Oracle Fusion Financials List Receivables Invoice Lines + +List one page of Oracle Fusion receivables invoice lines. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables invoice lines in this page | + +### Oracle Fusion Financials Get Receivables Invoice Line + +Get Oracle Fusion receivables invoice line. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | +| `receivablesInvoiceLineId` | string | Yes | receivables Invoice Line Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesInvoiceLine` | json | Projected receivables invoice line | + +### Oracle Fusion Financials Create Receivables Invoice Line + +Create Oracle Fusion receivables invoice line. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | +| `lineNumber` | number | No | Line Number | +| `description` | string | No | Description | +| `itemNumber` | string | No | Item Number | +| `memoLine` | string | No | Memo Line | +| `lineAmount` | number | No | Line Amount | +| `quantity` | number | No | Quantity | +| `unitSellingPrice` | number | No | Unit Selling Price | +| `unitOfMeasure` | string | No | Unit Of Measure | +| `accountingRule` | string | No | Accounting Rule | +| `accountingRuleDuration` | string | No | Accounting Rule Duration as an exact decimal string | +| `ruleStartDate` | string | No | Rule Start Date \(YYYY-MM-DD\) | +| `ruleEndDate` | string | No | Rule End Date \(YYYY-MM-DD\) | +| `taxClassificationCode` | string | No | Tax Classification Code | +| `salesOrder` | string | No | Sales Order | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesInvoiceLine` | json | Projected receivables invoice line | + +### Oracle Fusion Financials List Receivables Invoice Distributions + +List one page of Oracle Fusion receivables invoice distributions. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables invoice distributions in this page | + +### Oracle Fusion Financials Get Receivables Invoice Distribution + +Get Oracle Fusion receivables invoice distribution. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | +| `receivablesInvoiceDistributionId` | string | Yes | receivables Invoice Distribution Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesInvoiceDistribution` | json | Projected receivables invoice distribution | + +### Oracle Fusion Financials Create Receivables Invoice Distribution + +Create Oracle Fusion receivables invoice distribution. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | +| `accountClass` | string | No | Account Class | +| `accountCombination` | string | No | Account Combination | +| `accountedAmount` | number | No | Accounted Amount | +| `amount` | number | No | Amount | +| `invoiceLineNumber` | number | No | Invoice Line Number | +| `detailedTaxLineNumber` | number | No | Detailed Tax Line Number | +| `percent` | number | No | Percent | +| `comments` | string | No | Comments | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesInvoiceDistribution` | json | Projected receivables invoice distribution | + +### Oracle Fusion Financials List Receivables Invoice Installments + +List one page of Oracle Fusion receivables invoice installments. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables invoice installments in this page | + +### Oracle Fusion Financials Get Receivables Invoice Installment + +Get Oracle Fusion receivables invoice installment. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | +| `receivablesInvoiceInstallmentId` | string | Yes | receivables Invoice Installment Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesInvoiceInstallment` | json | Projected receivables invoice installment | + +### Oracle Fusion Financials Update Receivables Invoice Installment + +Update Oracle Fusion receivables invoice installment. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesInvoiceId` | string | Yes | receivables Invoice Id \(exact decimal resource identifier\) | +| `receivablesInvoiceInstallmentId` | string | Yes | receivables Invoice Installment Id \(exact decimal resource identifier\) | +| `installmentDueDate` | string | No | Installment Due Date \(YYYY-MM-DD\) | +| `originalAmount` | number | No | Original Amount | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesInvoiceInstallment` | json | Projected receivables invoice installment | + +### Oracle Fusion Financials List Receivables Credit Memos + +List one page of Oracle Fusion receivables credit memos. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables credit memos in this page | + +### Oracle Fusion Financials Get Receivables Credit Memo + +Get Oracle Fusion receivables credit memo. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCreditMemoId` | string | Yes | receivables Credit Memo Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesCreditMemo` | json | Projected receivables credit memo | + +### Oracle Fusion Financials Create Receivables Credit Memo + +Create Oracle Fusion receivables credit memo. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `businessUnit` | string | Yes | Business Unit | +| `transactionNumber` | string | Yes | Transaction Number | +| `transactionDate` | string | Yes | Transaction Date \(YYYY-MM-DD\) | +| `accountingDate` | string | No | Accounting Date \(YYYY-MM-DD\) | +| `billToCustomerName` | string | No | Bill To Customer Name | +| `billToCustomerNumber` | string | No | Bill To Customer Number | +| `billToSite` | string | No | Bill To Site | +| `creditMemoCurrency` | string | No | Credit Memo Currency | +| `creditMemoStatus` | string | No | Credit Memo Status | +| `creditReason` | string | No | Credit Reason | +| `freightCreditAmount` | string | No | Freight Credit Amount | +| `transactionSource` | string | No | Transaction Source | +| `transactionType` | string | No | Transaction Type | +| `creditMemoComments` | string | No | Credit Memo Comments | +| `conversionRate` | number | No | Conversion Rate | +| `conversionRateType` | string | No | Conversion Rate Type | +| `conversionRateDate` | string | No | Conversion Rate Date \(YYYY-MM-DD\) | +| `lines` | json | No | Typed lines to create with the receivables credit memo \(at most 1000\). Use Oracle attribute names; exact integer attributes must be strings. | +| `distributions` | json | No | Typed distributions to create with the receivables credit memo \(at most 1000\). Use Oracle attribute names; exact integer attributes must be strings. | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesCreditMemo` | json | Projected receivables credit memo | + +### Oracle Fusion Financials Update Receivables Credit Memo + +Update Oracle Fusion receivables credit memo. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCreditMemoId` | string | Yes | receivables Credit Memo Id \(exact decimal resource identifier\) | +| `allowCompletion` | string | No | Allow Completion | +| `controlCompletionReason` | string | No | Control Completion Reason | +| `creditMemoStatus` | string | No | Credit Memo Status | +| `recipientEmail` | string | No | Recipient Email | +| `transactionType` | string | No | Transaction Type | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesCreditMemo` | json | Projected receivables credit memo | + +### Oracle Fusion Financials Approve Receivables Credit Memo + +Approve a pending-approval Oracle Fusion receivables credit memo. Returns the action result, not a refreshed transaction. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCreditMemoId` | string | Yes | receivables Credit Memo Id \(exact decimal resource identifier\) | +| `comment` | string | No | Note recorded in the approval audit history | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `result` | string | Oracle action result; success is reported separately | + +### Oracle Fusion Financials Rework Receivables Credit Memo + +Request rework for a pending-approval Oracle Fusion receivables credit memo. Returns the action result, not a refreshed transaction. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCreditMemoId` | string | Yes | receivables Credit Memo Id \(exact decimal resource identifier\) | +| `comment` | string | No | Note recorded in the approval audit history | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `result` | string | Oracle action result; success is reported separately | + +### Oracle Fusion Financials List Receivables Credit Memo Lines + +List one page of Oracle Fusion receivables credit memo lines. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `receivablesCreditMemoId` | string | Yes | receivables Credit Memo Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables credit memo lines in this page | + +### Oracle Fusion Financials Get Receivables Credit Memo Line + +Get Oracle Fusion receivables credit memo line. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCreditMemoId` | string | Yes | receivables Credit Memo Id \(exact decimal resource identifier\) | +| `receivablesCreditMemoLineId` | string | Yes | receivables Credit Memo Line Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesCreditMemoLine` | json | Projected receivables credit memo line | + +### Oracle Fusion Financials Create Receivables Credit Memo Line + +Create Oracle Fusion receivables credit memo line. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCreditMemoId` | string | Yes | receivables Credit Memo Id \(exact decimal resource identifier\) | +| `lineNumber` | number | Yes | Line Number | +| `lineDescription` | string | No | Line Description | +| `itemNumber` | string | No | Item Number | +| `memoLine` | string | No | Memo Line | +| `lineAmountCredit` | number | No | Line Amount Credit | +| `lineQuantityCredit` | number | No | Line Quantity Credit | +| `unitSellingPrice` | number | No | Unit Selling Price | +| `unitOfMeasure` | string | No | Unit Of Measure | +| `lineCreditReason` | string | No | Line Credit Reason | +| `lineFreightCreditAmount` | number | No | Line Freight Credit Amount | +| `taxClassificationCode` | string | No | Tax Classification Code | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesCreditMemoLine` | json | Projected receivables credit memo line | + +### Oracle Fusion Financials List Receivables Credit Memo Distributions + +List one page of Oracle Fusion receivables credit memo distributions. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `receivablesCreditMemoId` | string | Yes | receivables Credit Memo Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables credit memo distributions in this page | + +### Oracle Fusion Financials Get Receivables Credit Memo Distribution + +Get Oracle Fusion receivables credit memo distribution. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCreditMemoId` | string | Yes | receivables Credit Memo Id \(exact decimal resource identifier\) | +| `receivablesCreditMemoDistributionId` | string | Yes | receivables Credit Memo Distribution Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesCreditMemoDistribution` | json | Projected receivables credit memo distribution | + +### Oracle Fusion Financials Create Receivables Credit Memo Distribution + +Create Oracle Fusion receivables credit memo distribution. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCreditMemoId` | string | Yes | receivables Credit Memo Id \(exact decimal resource identifier\) | +| `accountClass` | string | No | Account Class | +| `accountCombination` | string | No | Account Combination | +| `accountedAmount` | number | No | Accounted Amount | +| `amount` | number | No | Amount | +| `creditMemoLineNumber` | number | No | Credit Memo Line Number | +| `detailedTaxLineNumber` | number | No | Detailed Tax Line Number | +| `percent` | number | No | Percent | +| `comments` | string | No | Comments | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesCreditMemoDistribution` | json | Projected receivables credit memo distribution | + +### Oracle Fusion Financials List Receivables Receipts + +List one page of Oracle Fusion receivables receipts. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables receipts in this page | + +### Oracle Fusion Financials Get Receivables Receipt + +Get Oracle Fusion receivables receipt. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesReceiptId` | string | Yes | receivables Receipt Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesReceipt` | json | Projected receivables receipt | + +### Oracle Fusion Financials Create Receivables Receipt + +Create Oracle Fusion receivables receipt. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `amount` | number | Yes | Amount | +| `businessUnit` | string | Yes | Business Unit | +| `currency` | string | Yes | Currency | +| `receiptDate` | string | Yes | Receipt Date \(YYYY-MM-DD\) | +| `receiptMethod` | string | Yes | Receipt Method | +| `receiptNumber` | string | No | Receipt Number | +| `accountingDate` | string | No | Accounting Date \(YYYY-MM-DD\) | +| `customerAccountNumber` | string | No | Customer Account Number | +| `customerName` | string | No | Customer Name | +| `customerSite` | string | No | Customer Site | +| `comments` | string | No | Comments | +| `conversionRate` | number | No | Conversion Rate | +| `conversionRateType` | string | No | Conversion Rate Type | +| `conversionDate` | string | No | Conversion Date \(YYYY-MM-DD\) | +| `maturityDate` | string | No | Maturity Date \(YYYY-MM-DD\) | +| `structuredPaymentReference` | string | No | Structured Payment Reference | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesReceipt` | json | Projected receivables receipt | + +### Oracle Fusion Financials Update Receivables Receipt + +Update Oracle Fusion receivables receipt. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesReceiptId` | string | Yes | receivables Receipt Id \(exact decimal resource identifier\) | +| `amount` | number | No | Amount | +| `currency` | string | No | Currency | +| `receiptDate` | string | No | Receipt Date \(YYYY-MM-DD\) | +| `receiptMethod` | string | No | Receipt Method | +| `receiptNumber` | string | No | Receipt Number | +| `accountingDate` | string | No | Accounting Date \(YYYY-MM-DD\) | +| `customerAccountNumber` | string | No | Customer Account Number | +| `customerName` | string | No | Customer Name | +| `customerSite` | string | No | Customer Site | +| `comments` | string | No | Comments | +| `conversionRate` | number | No | Conversion Rate | +| `conversionRateType` | string | No | Conversion Rate Type | +| `conversionDate` | string | No | Conversion Date \(YYYY-MM-DD\) | +| `maturityDate` | string | No | Maturity Date \(YYYY-MM-DD\) | +| `structuredPaymentReference` | string | No | Structured Payment Reference | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesReceipt` | json | Projected receivables receipt | + +### Oracle Fusion Financials Delete Receivables Receipt + +Delete an Oracle Fusion receivables receipt when its current lifecycle state permits deletion. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesReceiptId` | string | Yes | receivables Receipt Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `deleted` | boolean | Whether the resource was deleted | +| `id` | string | Deleted resource identifier | + +### Oracle Fusion Financials Apply Receivables Receipt + +Apply a standard receipt to a Receivables invoice installment. An omitted amount applies the full open transaction balance. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesReceiptId` | string | Yes | receivables Receipt Id \(exact decimal resource identifier\) | +| `appliedPaymentScheduleId` | string | Yes | Invoice installment identifier as an exact decimal string | +| `amountApplied` | number | No | Amount to apply; omitted means the full open transaction balance | +| `calledFrom` | string | No | Caller or process name recorded for audit | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `result` | string | Oracle action result; success is reported separately | + +### Oracle Fusion Financials List Receivables Customer Accounts + +List one page of Oracle Fusion receivables customer accounts. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables customer accounts in this page | + +### Oracle Fusion Financials Get Receivables Customer Account + +Get Oracle Fusion receivables customer account. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCustomerAccountId` | string | Yes | receivables Customer Account Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesCustomerAccount` | json | Projected receivables customer account | + +### Oracle Fusion Financials List Receivables Customer Account Sites + +List one page of Oracle Fusion receivables customer account sites. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables customer account sites in this page | + +### Oracle Fusion Financials Get Receivables Customer Account Site + +Get Oracle Fusion receivables customer account site. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCustomerAccountSiteId` | string | Yes | receivables Customer Account Site Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesCustomerAccountSite` | json | Projected receivables customer account site | + +### Oracle Fusion Financials List Receivables Receipt Applications + +List one page of Oracle Fusion receivables receipt applications. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `receivablesCustomerAccountId` | string | Yes | receivables Customer Account Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables receipt applications in this page | + +### Oracle Fusion Financials Get Receivables Receipt Application + +Get Oracle Fusion receivables receipt application. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCustomerAccountId` | string | Yes | receivables Customer Account Id \(exact decimal resource identifier\) | +| `receivablesReceiptApplicationId` | string | Yes | receivables Receipt Application Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesReceiptApplication` | json | Projected receivables receipt application | + +### Oracle Fusion Financials List Receivables Credit Memo Applications + +List one page of Oracle Fusion receivables credit memo applications. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `receivablesCustomerAccountId` | string | Yes | receivables Customer Account Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables credit memo applications in this page | + +### Oracle Fusion Financials Get Receivables Credit Memo Application + +Get Oracle Fusion receivables credit memo application. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCustomerAccountId` | string | Yes | receivables Customer Account Id \(exact decimal resource identifier\) | +| `receivablesCreditMemoApplicationId` | string | Yes | receivables Credit Memo Application Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesCreditMemoApplication` | json | Projected receivables credit memo application | + +### Oracle Fusion Financials List Receivables Transaction Payment Schedules + +List one page of Oracle Fusion receivables transaction payment schedules. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `receivablesCustomerAccountId` | string | Yes | receivables Customer Account Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables transaction payment schedules in this page | + +### Oracle Fusion Financials Get Receivables Transaction Payment Schedule + +Get Oracle Fusion receivables transaction payment schedule. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCustomerAccountId` | string | Yes | receivables Customer Account Id \(exact decimal resource identifier\) | +| `receivablesTransactionPaymentScheduleId` | string | Yes | receivables Transaction Payment Schedule Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesTransactionPaymentSchedule` | json | Projected receivables transaction payment schedule | + +### Oracle Fusion Financials List Receivables Transaction Adjustments + +List one page of Oracle Fusion receivables transaction adjustments. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `receivablesCustomerAccountId` | string | Yes | receivables Customer Account Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | receivables transaction adjustments in this page | + +### Oracle Fusion Financials Get Receivables Transaction Adjustment + +Get Oracle Fusion receivables transaction adjustment. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `receivablesCustomerAccountId` | string | Yes | receivables Customer Account Id \(exact decimal resource identifier\) | +| `receivablesTransactionAdjustmentId` | string | Yes | receivables Transaction Adjustment Id \(exact decimal resource identifier\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `receivablesTransactionAdjustment` | json | Projected receivables transaction adjustment | + +### Oracle Fusion Financials List Expense Reports + +List one bounded page of Oracle Fusion expense reports. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Expense Reports in this page | + +### Oracle Fusion Financials Get Expense Report + +Get an Oracle Fusion expense report. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseReport` | object | Projected expense report | + +### Oracle Fusion Financials Create Expense Report + +Create an Oracle Fusion expense report. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `orgId` | string | Yes | Org Id as an exact integer string | +| `personId` | string | No | Person Id as an exact integer string | +| `assignmentId` | string | No | Assignment Id as an exact integer string | +| `preparerId` | string | No | Preparer Id as an exact integer string | +| `purpose` | string | No | Purpose | +| `expenseReportNumber` | string | No | Expense Report Number | +| `expenseReportDate` | string | No | Expense Report Date \(YYYY-MM-DD\) | +| `reimbursementCurrencyCode` | string | No | Reimbursement Currency Code | +| `exchangeRateType` | string | No | Exchange Rate Type | +| `paymentMethodCode` | string | No | Payment Method Code | +| `overrideApproverId` | string | No | Override Approver Id as an exact integer string | +| `unappliedAdvancesJust` | string | No | Unapplied Advances Just | +| `unappliedCashAdvReason` | string | No | Unapplied Cash Adv Reason | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseReport` | object | Projected expense report | + +### Oracle Fusion Financials Update Expense Report + +Update an Oracle Fusion expense report. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `orgId` | string | No | Org Id as an exact integer string | +| `purpose` | string | No | Purpose | +| `expenseReportDate` | string | No | Expense Report Date \(YYYY-MM-DD\) | +| `reimbursementCurrencyCode` | string | No | Reimbursement Currency Code | +| `exchangeRateType` | string | No | Exchange Rate Type | +| `paymentMethodCode` | string | No | Payment Method Code | +| `overrideApproverId` | string | No | Override Approver Id as an exact integer string | +| `unappliedAdvancesJust` | string | No | Unapplied Advances Just | +| `unappliedCashAdvReason` | string | No | Unapplied Cash Adv Reason | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseReport` | object | Projected expense report | + +### Oracle Fusion Financials Submit Expense Report + +Submit an Oracle Fusion expense report. Only result S means submission without errors; other results are returned as business failures. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `result` | string | Documented Oracle action result | + +### Oracle Fusion Financials Remove Expense Report Cash Advance + +Remove the specified cash advance from an Oracle Fusion expense report. Result Y means removal succeeded; N means it failed. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `cashAdvanceNumber` | string | Yes | Number of the specific cash advance to remove | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `result` | string | Documented Oracle action result | + +### Oracle Fusion Financials List Expense Lines + +List one bounded page of Oracle Fusion expense lines. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Expense Lines in this page | + +### Oracle Fusion Financials Get Expense Line + +Get an Oracle Fusion expense line. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseLine` | object | Projected expense line | + +### Oracle Fusion Financials Create Expense Line + +Create an Oracle Fusion expense line. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `assignmentId` | string | Yes | Assignment Id as an exact integer string | +| `orgId` | string | Yes | Org Id as an exact integer string | +| `personId` | string | Yes | Person Id as an exact integer string | +| `ticketClass` | string | Yes | Ticket Class | +| `expenseTypeId` | string | No | Expense Type Id as an exact integer string | +| `expenseTemplateId` | string | No | Expense Template Id as an exact integer string | +| `description` | string | No | Description | +| `justification` | string | No | Justification | +| `receiptAmount` | number | No | Receipt Amount | +| `receiptCurrencyCode` | string | No | Receipt Currency Code | +| `receiptDate` | string | No | Receipt Date \(YYYY-MM-DD\) | +| `merchantName` | string | No | Merchant Name | +| `startDate` | string | No | Start Date \(YYYY-MM-DD\) | +| `endDate` | string | No | End Date | +| `exchangeRate` | number | No | Exchange Rate | +| `reimbursementCurrencyCode` | string | No | Reimbursement Currency Code | +| `itemizationParentExpenseId` | string | No | Itemization Parent Expense Id as an exact integer string | +| `receiptMissingFlag` | boolean | No | Receipt Missing Flag | +| `location` | string | No | Location | +| `countryCode` | string | No | Country Code | +| `expenseCategoryCode` | string | No | Expense Category Code | +| `expenseSource` | string | No | Expense Source | +| `numberOfDays` | number | No | Number Of Days | +| `numberOfAttendees` | number | No | Number Of Attendees | +| `tripDistance` | number | No | Trip Distance | +| `distanceUnitCode` | string | No | Distance Unit Code | +| `ticketClassCode` | string | No | Ticket Class Code | +| `ticketNumber` | string | No | Ticket Number | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseLine` | object | Projected expense line | + +### Oracle Fusion Financials Update Expense Line + +Update an Oracle Fusion expense line. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | +| `assignmentId` | string | No | Assignment Id as an exact integer string | +| `orgId` | string | No | Org Id as an exact integer string | +| `personId` | string | No | Person Id as an exact integer string | +| `ticketClass` | string | No | Ticket Class | +| `expenseTypeId` | string | No | Expense Type Id as an exact integer string | +| `expenseTemplateId` | string | No | Expense Template Id as an exact integer string | +| `description` | string | No | Description | +| `justification` | string | No | Justification | +| `receiptAmount` | number | No | Receipt Amount | +| `receiptCurrencyCode` | string | No | Receipt Currency Code | +| `receiptDate` | string | No | Receipt Date \(YYYY-MM-DD\) | +| `merchantName` | string | No | Merchant Name | +| `startDate` | string | No | Start Date \(YYYY-MM-DD\) | +| `endDate` | string | No | End Date | +| `exchangeRate` | number | No | Exchange Rate | +| `reimbursementCurrencyCode` | string | No | Reimbursement Currency Code | +| `itemizationParentExpenseId` | string | No | Itemization Parent Expense Id as an exact integer string | +| `receiptMissingFlag` | boolean | No | Receipt Missing Flag | +| `location` | string | No | Location | +| `countryCode` | string | No | Country Code | +| `expenseCategoryCode` | string | No | Expense Category Code | +| `expenseSource` | string | No | Expense Source | +| `numberOfDays` | number | No | Number Of Days | +| `numberOfAttendees` | number | No | Number Of Attendees | +| `tripDistance` | number | No | Trip Distance | +| `distanceUnitCode` | string | No | Distance Unit Code | +| `ticketClassCode` | string | No | Ticket Class Code | +| `ticketNumber` | string | No | Ticket Number | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseLine` | object | Projected expense line | + +### Oracle Fusion Financials List Expense Distributions + +List one bounded page of Oracle Fusion expense distributions. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Expense Distributions in this page | + +### Oracle Fusion Financials Get Expense Distribution + +Get an Oracle Fusion expense distribution. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | +| `expenseDistributionId` | string | Yes | Expense Distribution Id as an exact decimal string | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseDistribution` | object | Projected expense distribution | + +### Oracle Fusion Financials Create Expense Distribution + +Create an Oracle Fusion expense distribution. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | +| `expenseId` | string | Yes | Expense Id as an exact integer string | +| `orgId` | string | Yes | Org Id as an exact integer string | +| `codeCombinationId` | string | No | Code Combination Id as an exact integer string | +| `company` | string | No | Company | +| `costCenter` | string | No | Cost Center | +| `reimbursableAmount` | number | No | Reimbursable Amount | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseDistribution` | object | Projected expense distribution | + +### Oracle Fusion Financials Update Expense Distribution + +Update an Oracle Fusion expense distribution. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | +| `expenseDistributionId` | string | Yes | Expense Distribution Id as an exact decimal string | +| `expenseId` | string | Yes | Expense Id as an exact integer string | +| `orgId` | string | Yes | Org Id as an exact integer string | +| `codeCombinationId` | string | No | Code Combination Id as an exact integer string | +| `company` | string | No | Company | +| `costCenter` | string | No | Cost Center | +| `reimbursableAmount` | number | No | Reimbursable Amount | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseDistribution` | object | Projected expense distribution | + +### Oracle Fusion Financials List Expense Itemizations + +List one bounded page of Oracle Fusion expense itemizations. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Expense Itemizations in this page | + +### Oracle Fusion Financials Get Expense Itemization + +Get an Oracle Fusion expense itemization. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | +| `expenseItemizationId` | string | Yes | Expense Itemization Id as an exact decimal string | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseItemization` | object | Projected expense itemization | + +### Oracle Fusion Financials Create Expense Itemization + +Create an Oracle Fusion expense itemization. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | +| `assignmentId` | string | No | Assignment Id as an exact integer string | +| `orgId` | string | No | Org Id as an exact integer string | +| `personId` | string | No | Person Id as an exact integer string | +| `expenseTypeId` | string | No | Expense Type Id as an exact integer string | +| `expenseTemplateId` | string | No | Expense Template Id as an exact integer string | +| `itemizationParentExpenseId` | string | No | Itemization Parent Expense Id as an exact integer string | +| `description` | string | No | Description | +| `justification` | string | No | Justification | +| `receiptAmount` | number | No | Receipt Amount | +| `receiptCurrencyCode` | string | No | Receipt Currency Code | +| `receiptDate` | string | No | Receipt Date \(YYYY-MM-DD\) | +| `merchantName` | string | No | Merchant Name | +| `startDate` | string | No | Start Date \(YYYY-MM-DD\) | +| `endDate` | string | No | End Date | +| `exchangeRate` | number | No | Exchange Rate | +| `reimbursementCurrencyCode` | string | No | Reimbursement Currency Code | +| `receiptMissingFlag` | boolean | No | Receipt Missing Flag | +| `location` | string | No | Location | +| `expenseCategoryCode` | string | No | Expense Category Code | +| `numberOfDays` | number | No | Number Of Days | +| `numberOfAttendees` | number | No | Number Of Attendees | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseItemization` | object | Projected expense itemization | + +### Oracle Fusion Financials Update Expense Itemization + +Update an Oracle Fusion expense itemization. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | +| `expenseItemizationId` | string | Yes | Expense Itemization Id as an exact decimal string | +| `assignmentId` | string | No | Assignment Id as an exact integer string | +| `orgId` | string | No | Org Id as an exact integer string | +| `personId` | string | No | Person Id as an exact integer string | +| `expenseTypeId` | string | No | Expense Type Id as an exact integer string | +| `expenseTemplateId` | string | No | Expense Template Id as an exact integer string | +| `itemizationParentExpenseId` | string | No | Itemization Parent Expense Id as an exact integer string | +| `description` | string | No | Description | +| `justification` | string | No | Justification | +| `receiptAmount` | number | No | Receipt Amount | +| `receiptCurrencyCode` | string | No | Receipt Currency Code | +| `receiptDate` | string | No | Receipt Date \(YYYY-MM-DD\) | +| `merchantName` | string | No | Merchant Name | +| `startDate` | string | No | Start Date \(YYYY-MM-DD\) | +| `endDate` | string | No | End Date | +| `exchangeRate` | number | No | Exchange Rate | +| `reimbursementCurrencyCode` | string | No | Reimbursement Currency Code | +| `receiptMissingFlag` | boolean | No | Receipt Missing Flag | +| `location` | string | No | Location | +| `expenseCategoryCode` | string | No | Expense Category Code | +| `numberOfDays` | number | No | Number Of Days | +| `numberOfAttendees` | number | No | Number Of Attendees | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseItemization` | object | Projected expense itemization | + +### Oracle Fusion Financials List Expense Report Processing Details + +List one bounded page of Oracle Fusion expense report processing details. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Expense Report Processing Details in this page | + +### Oracle Fusion Financials Get Expense Report Processing Detail + +Get an Oracle Fusion expense report processing detail. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseReportProcessingDetailUniqId` | string | Yes | Expense Report Processing Detail Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseReportProcessingDetail` | object | Projected expense report processing detail | + +### Oracle Fusion Financials List Expense Report Payments + +List one bounded page of Oracle Fusion expense report payments. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Expense Report Payments in this page | + +### Oracle Fusion Financials Get Expense Report Payment + +Get an Oracle Fusion expense report payment. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseReportPaymentId` | string | Yes | Expense Report Payment Id as an exact decimal string | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseReportPayment` | object | Projected expense report payment | + +### Oracle Fusion Financials List Expense Line Errors + +List one bounded page of Oracle Fusion expense line errors. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Expense Line Errors in this page | + +### Oracle Fusion Financials Get Expense Line Error + +Get an Oracle Fusion expense line error. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `expenseReportUniqId` | string | Yes | Expense Report Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineUniqId` | string | Yes | Expense Line Uniq Id returned by Oracle; preserve it exactly | +| `expenseLineErrorSequence` | string | Yes | Expense Line Error Sequence as an exact decimal string | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `expenseLineError` | object | Projected expense line error | + +### Oracle Fusion Financials List GL Ledgers + +List one bounded page of Oracle Fusion gl ledgers. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | GL Ledgers in this page | + +### Oracle Fusion Financials Get GL Ledger + +Get an Oracle Fusion gl ledger. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `glLedgerId` | string | Yes | GL Ledger Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `glLedger` | object | Projected gl ledger | + +### Oracle Fusion Financials List GL Journal Batches + +List one bounded page of Oracle Fusion gl journal batches. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | GL Journal Batches in this page | + +### Oracle Fusion Financials Get GL Journal Batch + +Get an Oracle Fusion gl journal batch. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `glJournalBatchId` | string | Yes | GL Journal Batch Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `glJournalBatch` | object | Projected gl journal batch | + +### Oracle Fusion Financials Delete GL Journal Batch + +Delete an Oracle Fusion GL journal batch when its current lifecycle state permits deletion. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `glJournalBatchId` | string | Yes | GL Journal Batch Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `deleted` | boolean | Whether the resource was deleted | +| `id` | string | Deleted resource identifier | + +### Oracle Fusion Financials List GL Journal Headers + +List one bounded page of Oracle Fusion gl journal headers. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `glJournalBatchId` | string | Yes | GL Journal Batch Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | GL Journal Headers in this page | + +### Oracle Fusion Financials Get GL Journal Header + +Get an Oracle Fusion gl journal header. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `glJournalBatchId` | string | Yes | GL Journal Batch Id returned by Oracle; preserve it exactly | +| `glJournalHeaderUniqId` | string | Yes | GL Journal Header Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `glJournalHeader` | object | Projected gl journal header | + +### Oracle Fusion Financials List GL Journal Lines + +List one bounded page of Oracle Fusion gl journal lines. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `glJournalBatchId` | string | Yes | GL Journal Batch Id returned by Oracle; preserve it exactly | +| `glJournalHeaderUniqId` | string | Yes | GL Journal Header Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | GL Journal Lines in this page | + +### Oracle Fusion Financials Get GL Journal Line + +Get an Oracle Fusion gl journal line. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `glJournalBatchId` | string | Yes | GL Journal Batch Id returned by Oracle; preserve it exactly | +| `glJournalHeaderUniqId` | string | Yes | GL Journal Header Uniq Id returned by Oracle; preserve it exactly | +| `glJournalLineUniqId` | string | Yes | GL Journal Line Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `glJournalLine` | object | Projected gl journal line | + +### Oracle Fusion Financials List GL Journal Errors + +List one bounded page of Oracle Fusion gl journal errors. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `glJournalBatchId` | string | Yes | GL Journal Batch Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | GL Journal Errors in this page | + +### Oracle Fusion Financials Get GL Journal Error + +Get an Oracle Fusion gl journal error. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `glJournalBatchId` | string | Yes | GL Journal Batch Id returned by Oracle; preserve it exactly | +| `glJournalErrorUniqId` | string | Yes | GL Journal Error Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `glJournalError` | object | Projected gl journal error | + +### Oracle Fusion Financials List GL Journal Action Logs + +List one bounded page of Oracle Fusion gl journal action logs. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `glJournalBatchId` | string | Yes | GL Journal Batch Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | GL Journal Action Logs in this page | + +### Oracle Fusion Financials Get GL Journal Action Log + +Get an Oracle Fusion gl journal action log. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `glJournalBatchId` | string | Yes | GL Journal Batch Id returned by Oracle; preserve it exactly | +| `glJournalActionLogUniqId` | string | Yes | GL Journal Action Log Uniq Id returned by Oracle; preserve it exactly | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `glJournalActionLog` | object | Projected gl journal action log | + +### Oracle Fusion Financials List GL Balances + +List one bounded page of Oracle Fusion gl balances. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | AccountBalanceFinder accepts ledgerName, accountCombination, accountingPeriod, currency, amountType, currencyType, and scenario. AccountGroupBalanceFinder accepts accountGroupName, accountName, accountingPeriod, currency, and ledgerName. | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | GL Balances in this page | + +### Oracle Fusion Financials List Payables Invoices + +List one page of Oracle Fusion Payables invoices using a fixed safe projection. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | +| `effectiveDate` | string | No | Effective date in YYYY-MM-DD format | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Payables invoices in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Invoice + +Get one Oracle Fusion Payables invoice by its opaque Oracle resource key. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `invoice` | object | The Payables invoice | + +### Oracle Fusion Financials List Payables Invoice Lines + +List one page of lines for an Oracle Fusion Payables invoice. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Invoice lines in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Invoice Line + +Get one Oracle Fusion Payables invoice line by its Oracle-derived opaque key. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | +| `invoiceLineUniqId` | string | Yes | Opaque invoice-line key returned by Oracle Fusion | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `invoiceLine` | object | The Payables invoice line | + +### Oracle Fusion Financials List Payables Invoice Installments + +List one page of payment installments for an Oracle Fusion Payables invoice. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Invoice installments in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Invoice Installment + +Get one Oracle Fusion Payables invoice installment by its opaque key. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | +| `invoiceInstallmentUniqId` | string | Yes | Opaque invoice-installment key returned by Oracle Fusion | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `invoiceInstallment` | object | The Payables invoice installment | + +### Oracle Fusion Financials List Payables Invoice Distributions + +List one page of accounting distributions for a Payables invoice line. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | +| `invoiceLineUniqId` | string | Yes | Opaque invoice-line key returned by Oracle Fusion | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Invoice distributions in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Invoice Distribution + +Get one accounting distribution for an Oracle Fusion Payables invoice line. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | +| `invoiceLineUniqId` | string | Yes | Opaque invoice-line key returned by Oracle Fusion | +| `invoiceDistributionId` | string | Yes | Oracle InvoiceDistributionId as a decimal string | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `invoiceDistribution` | object | The Payables invoice distribution | + +### Oracle Fusion Financials List Payables Applied Prepayments + +List one page of prepayments already applied to a Payables invoice. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Applied prepayments in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Applied Prepayment + +Get one prepayment already applied to a Payables invoice. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | +| `appliedPrepaymentUniqId` | string | Yes | Opaque applied-prepayment key returned by Oracle Fusion | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `appliedPrepayment` | object | The applied prepayment | + +### Oracle Fusion Financials List Payables Available Prepayments + +List one page of prepayments available to apply to a Payables invoice. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Available prepayments in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Available Prepayment + +Get one prepayment available to apply to a Payables invoice. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `invoiceUniqId` | string | Yes | Opaque invoice key returned by an Oracle Fusion invoice list or selector | +| `availablePrepaymentUniqId` | string | Yes | Opaque available-prepayment key returned by Oracle Fusion | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `availablePrepayment` | object | The available prepayment | + +### Oracle Fusion Financials List Payables Payments + +List one page of Oracle Fusion Payables payments using a fixed safe projection. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Payables payments in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Payment + +Get one Oracle Fusion Payables payment by its CheckId. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `checkId` | string | Yes | Oracle payment CheckId as a decimal string | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `payment` | object | The Payables payment | + +### Oracle Fusion Financials List Payables Payment Related Invoices + +List one page of paid invoices related to a Payables payment. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `checkId` | string | Yes | Oracle payment CheckId as a decimal string | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Payment-related invoices in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Payment Related Invoice + +Get one paid invoice related to an Oracle Fusion Payables payment. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `checkId` | string | Yes | Oracle payment CheckId as a decimal string | +| `invoicePaymentId` | string | Yes | Oracle InvoicePaymentId as a decimal string | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `paymentRelatedInvoice` | object | The payment-related invoice | + +### Oracle Fusion Financials List Payment Process Requests + +List one page of Oracle Fusion payment process requests and their statuses. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Payment process requests in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payment Process Request + +Get one Oracle Fusion payment process request and its current status. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `paymentProcessRequestId` | string | Yes | Oracle PaymentProcessRequestId as a decimal string | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `paymentProcessRequest` | object | The payment process request | + +### Oracle Fusion Financials List Payables Invoice Holds + +List one page of Oracle Fusion Payables invoice holds and release details. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Payables invoice holds in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Invoice Hold + +Get one Oracle Fusion Payables invoice hold and its release details. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `holdId` | string | Yes | Oracle HoldId as a decimal string | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `invoiceHold` | object | The Payables invoice hold | + +### Oracle Fusion Financials List Payables Payment Terms + +List one page of Oracle Fusion Payables payment term headers. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Payables payment terms in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Payment Term + +Get one Oracle Fusion Payables payment term header. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `termsId` | string | Yes | Oracle termsId as a decimal string | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `paymentTerm` | object | The Payables payment term | + +### Oracle Fusion Financials List Payables Payment Term Lines + +List one page of calculation lines for a Payables payment term. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `termsId` | string | Yes | Oracle termsId as a decimal string | +| `q` | string | No | Oracle REST Framework q filter expression | +| `finder` | string | No | Oracle predefined finder expression | +| `orderBy` | string | No | Comma-separated Oracle attributes with optional :asc or :desc direction | +| `limit` | number | No | Records in this page \(integer from 1 to 100; default 50\) | +| `offset` | number | No | Zero-based record offset \(non-negative integer; default 0\) | +| `totalResults` | boolean | No | Ask Oracle to include its estimated total matching row count | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Payables payment term lines in this page | +| `count` | number | Number of records in this page | +| `hasMore` | boolean | Whether Oracle has another page | +| `limit` | number | Page size returned by Oracle | +| `offset` | number | Offset returned by Oracle | +| `totalResults` | number | Estimated total matching records when requested | + +### Oracle Fusion Financials Get Payables Payment Term Line + +Get one calculation line for an Oracle Fusion Payables payment term. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `oauthCredential` | string | Yes | Oracle Fusion Cloud Financials service-account credential | +| `termsId` | string | Yes | Oracle termsId as a decimal string | +| `paymentTermLineUniqId` | string | Yes | Opaque payment-term-line key returned by Oracle Fusion | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `paymentTermLine` | object | The Payables payment term line | + + diff --git a/apps/sim/blocks/blocks/oracle_fusion_financials.ts b/apps/sim/blocks/blocks/oracle_fusion_financials.ts new file mode 100644 index 00000000000..a06e7800940 --- /dev/null +++ b/apps/sim/blocks/blocks/oracle_fusion_financials.ts @@ -0,0 +1,6049 @@ +import { NetSuiteIcon } from '@/components/icons' +import type { BlockConfig, BlockMeta } from '@/blocks/types' +import { AuthMode, IntegrationType } from '@/blocks/types' +import { + parseOptionalBooleanInput, + parseOptionalJsonInput, + parseOptionalNumberInput, +} from '@/blocks/utils' + +function optionalString(value: unknown, label: string): string | undefined { + if (value === undefined || value === null || value === '') return undefined + if (typeof value !== 'string') throw new Error(`${label} must be a string`) + const normalized = value.trim() + return normalized || undefined +} + +function optionalWriteString(value: unknown) { + return value === '' ? undefined : value +} + +function optionalWriteNumber(value: unknown, label: string) { + return value === null ? null : parseOptionalNumberInput(value, label) +} + +function optionalWriteBoolean(value: unknown) { + return value === null ? null : parseOptionalBooleanInput(value) +} + +function optionalWriteJson(value: unknown, label: string) { + return value === null ? null : parseOptionalJsonInput(value, label) +} + +function financialsWriteParams(operation: string, params: Record) { + switch (operation) { + case 'oracle_fusion_financials_create_receivables_invoice': + return { + businessUnit: optionalWriteString(params.businessUnit), + transactionNumber: optionalWriteString(params.transactionNumber), + transactionDate: optionalWriteString(params.transactionDate), + accountingDate: optionalWriteString(params.accountingDate), + billToCustomerName: optionalWriteString(params.billToCustomerName), + billToCustomerNumber: optionalWriteString(params.billToCustomerNumber), + billToSite: optionalWriteString(params.billToSite), + invoiceCurrencyCode: optionalWriteString(params.invoiceCurrencyCode), + invoiceStatus: optionalWriteString(params.invoiceStatus), + paymentTerms: optionalWriteString(params.paymentTerms), + transactionSource: optionalWriteString(params.transactionSource), + transactionType: optionalWriteString(params.transactionType), + comments: optionalWriteString(params.comments), + purchaseOrder: optionalWriteString(params.purchaseOrder), + conversionRateType: optionalWriteString(params.conversionRateType), + conversionRate: optionalWriteNumber(params.conversionRate, 'Conversion Rate'), + conversionDate: optionalWriteString(params.conversionDate), + lines: optionalWriteJson(params.lines, 'Lines'), + distributions: optionalWriteJson(params.distributions, 'Distributions'), + } + case 'oracle_fusion_financials_update_receivables_invoice': + return { + invoiceStatus: optionalWriteString(params.invoiceStatus), + paymentTerms: optionalWriteString(params.paymentTerms), + transactionDate: optionalWriteString(params.transactionDate), + } + case 'oracle_fusion_financials_approve_receivables_invoice': + return { + comment: optionalWriteString(params.comment), + } + case 'oracle_fusion_financials_rework_receivables_invoice': + return { + comment: optionalWriteString(params.comment), + } + case 'oracle_fusion_financials_create_receivables_invoice_line': + return { + lineNumber: optionalWriteNumber(params.lineNumber, 'Line Number'), + description: optionalWriteString(params.description), + itemNumber: optionalWriteString(params.itemNumber), + memoLine: optionalWriteString(params.memoLine), + lineAmount: optionalWriteNumber(params.lineAmount, 'Line Amount'), + quantity: optionalWriteNumber(params.quantity, 'Quantity'), + unitSellingPrice: optionalWriteNumber(params.unitSellingPrice, 'Unit Selling Price'), + unitOfMeasure: optionalWriteString(params.unitOfMeasure), + accountingRule: optionalWriteString(params.accountingRule), + accountingRuleDuration: optionalWriteString(params.accountingRuleDuration), + ruleStartDate: optionalWriteString(params.ruleStartDate), + ruleEndDate: optionalWriteString(params.ruleEndDate), + taxClassificationCode: optionalWriteString(params.taxClassificationCode), + salesOrder: optionalWriteString(params.salesOrder), + } + case 'oracle_fusion_financials_create_receivables_invoice_distribution': + return { + accountClass: optionalWriteString(params.accountClass), + accountCombination: optionalWriteString(params.accountCombination), + accountedAmount: optionalWriteNumber(params.accountedAmount, 'Accounted Amount'), + amount: optionalWriteNumber(params.amount, 'Amount'), + invoiceLineNumber: optionalWriteNumber(params.invoiceLineNumber, 'Invoice Line Number'), + detailedTaxLineNumber: optionalWriteNumber( + params.detailedTaxLineNumber, + 'Detailed Tax Line Number' + ), + percent: optionalWriteNumber(params.percent, 'Percent'), + comments: optionalWriteString(params.comments), + } + case 'oracle_fusion_financials_update_receivables_invoice_installment': + return { + installmentDueDate: optionalWriteString(params.installmentDueDate), + originalAmount: optionalWriteNumber(params.originalAmount, 'Original Amount'), + } + case 'oracle_fusion_financials_create_receivables_credit_memo': + return { + businessUnit: optionalWriteString(params.businessUnit), + transactionNumber: optionalWriteString(params.transactionNumber), + transactionDate: optionalWriteString(params.transactionDate), + accountingDate: optionalWriteString(params.accountingDate), + billToCustomerName: optionalWriteString(params.billToCustomerName), + billToCustomerNumber: optionalWriteString(params.billToCustomerNumber), + billToSite: optionalWriteString(params.billToSite), + creditMemoCurrency: optionalWriteString(params.creditMemoCurrency), + creditMemoStatus: optionalWriteString(params.creditMemoStatus), + creditReason: optionalWriteString(params.creditReason), + freightCreditAmount: optionalWriteString(params.freightCreditAmount), + transactionSource: optionalWriteString(params.transactionSource), + transactionType: optionalWriteString(params.transactionType), + creditMemoComments: optionalWriteString(params.creditMemoComments), + conversionRate: optionalWriteNumber(params.conversionRate, 'Conversion Rate'), + conversionRateType: optionalWriteString(params.conversionRateType), + conversionRateDate: optionalWriteString(params.conversionRateDate), + lines: optionalWriteJson(params.lines, 'Lines'), + distributions: optionalWriteJson(params.distributions, 'Distributions'), + } + case 'oracle_fusion_financials_update_receivables_credit_memo': + return { + allowCompletion: optionalWriteString(params.allowCompletion), + controlCompletionReason: optionalWriteString(params.controlCompletionReason), + creditMemoStatus: optionalWriteString(params.creditMemoStatus), + recipientEmail: optionalWriteString(params.recipientEmail), + transactionType: optionalWriteString(params.transactionType), + } + case 'oracle_fusion_financials_approve_receivables_credit_memo': + return { + comment: optionalWriteString(params.comment), + } + case 'oracle_fusion_financials_rework_receivables_credit_memo': + return { + comment: optionalWriteString(params.comment), + } + case 'oracle_fusion_financials_create_receivables_credit_memo_line': + return { + lineNumber: optionalWriteNumber(params.lineNumber, 'Line Number'), + lineDescription: optionalWriteString(params.lineDescription), + itemNumber: optionalWriteString(params.itemNumber), + memoLine: optionalWriteString(params.memoLine), + lineAmountCredit: optionalWriteNumber(params.lineAmountCredit, 'Line Amount Credit'), + lineQuantityCredit: optionalWriteNumber(params.lineQuantityCredit, 'Line Quantity Credit'), + unitSellingPrice: optionalWriteNumber(params.unitSellingPrice, 'Unit Selling Price'), + unitOfMeasure: optionalWriteString(params.unitOfMeasure), + lineCreditReason: optionalWriteString(params.lineCreditReason), + lineFreightCreditAmount: optionalWriteNumber( + params.lineFreightCreditAmount, + 'Line Freight Credit Amount' + ), + taxClassificationCode: optionalWriteString(params.taxClassificationCode), + } + case 'oracle_fusion_financials_create_receivables_credit_memo_distribution': + return { + accountClass: optionalWriteString(params.accountClass), + accountCombination: optionalWriteString(params.accountCombination), + accountedAmount: optionalWriteNumber(params.accountedAmount, 'Accounted Amount'), + amount: optionalWriteNumber(params.amount, 'Amount'), + creditMemoLineNumber: optionalWriteNumber( + params.creditMemoLineNumber, + 'Credit Memo Line Number' + ), + detailedTaxLineNumber: optionalWriteNumber( + params.detailedTaxLineNumber, + 'Detailed Tax Line Number' + ), + percent: optionalWriteNumber(params.percent, 'Percent'), + comments: optionalWriteString(params.comments), + } + case 'oracle_fusion_financials_create_receivables_receipt': + return { + amount: optionalWriteNumber(params.amount, 'Amount'), + businessUnit: optionalWriteString(params.businessUnit), + currency: optionalWriteString(params.currency), + receiptDate: optionalWriteString(params.receiptDate), + receiptMethod: optionalWriteString(params.receiptMethod), + receiptNumber: optionalWriteString(params.receiptNumber), + accountingDate: optionalWriteString(params.accountingDate), + customerAccountNumber: optionalWriteString(params.customerAccountNumber), + customerName: optionalWriteString(params.customerName), + customerSite: optionalWriteString(params.customerSite), + comments: optionalWriteString(params.comments), + conversionRate: optionalWriteNumber(params.conversionRate, 'Conversion Rate'), + conversionRateType: optionalWriteString(params.conversionRateType), + conversionDate: optionalWriteString(params.conversionDate), + maturityDate: optionalWriteString(params.maturityDate), + structuredPaymentReference: optionalWriteString(params.structuredPaymentReference), + } + case 'oracle_fusion_financials_update_receivables_receipt': + return { + amount: optionalWriteNumber(params.amount, 'Amount'), + currency: optionalWriteString(params.currency), + receiptDate: optionalWriteString(params.receiptDate), + receiptMethod: optionalWriteString(params.receiptMethod), + receiptNumber: optionalWriteString(params.receiptNumber), + accountingDate: optionalWriteString(params.accountingDate), + customerAccountNumber: optionalWriteString(params.customerAccountNumber), + customerName: optionalWriteString(params.customerName), + customerSite: optionalWriteString(params.customerSite), + comments: optionalWriteString(params.comments), + conversionRate: optionalWriteNumber(params.conversionRate, 'Conversion Rate'), + conversionRateType: optionalWriteString(params.conversionRateType), + conversionDate: optionalWriteString(params.conversionDate), + maturityDate: optionalWriteString(params.maturityDate), + structuredPaymentReference: optionalWriteString(params.structuredPaymentReference), + } + case 'oracle_fusion_financials_apply_receivables_receipt': + return { + appliedPaymentScheduleId: optionalWriteString(params.appliedPaymentScheduleId), + amountApplied: optionalWriteNumber(params.amountApplied, 'Amount Applied'), + calledFrom: optionalWriteString(params.calledFrom), + } + case 'oracle_fusion_financials_create_expense_report': + return { + orgId: optionalWriteString(params.orgId), + personId: optionalWriteString(params.personId), + assignmentId: optionalWriteString(params.assignmentId), + preparerId: optionalWriteString(params.preparerId), + purpose: optionalWriteString(params.purpose), + expenseReportNumber: optionalWriteString(params.expenseReportNumber), + expenseReportDate: optionalWriteString(params.expenseReportDate), + reimbursementCurrencyCode: optionalWriteString(params.reimbursementCurrencyCode), + exchangeRateType: optionalWriteString(params.exchangeRateType), + paymentMethodCode: optionalWriteString(params.paymentMethodCode), + overrideApproverId: optionalWriteString(params.overrideApproverId), + unappliedAdvancesJust: optionalWriteString(params.unappliedAdvancesJust), + unappliedCashAdvReason: optionalWriteString(params.unappliedCashAdvReason), + } + case 'oracle_fusion_financials_update_expense_report': + return { + orgId: optionalWriteString(params.orgId), + purpose: optionalWriteString(params.purpose), + expenseReportDate: optionalWriteString(params.expenseReportDate), + reimbursementCurrencyCode: optionalWriteString(params.reimbursementCurrencyCode), + exchangeRateType: optionalWriteString(params.exchangeRateType), + paymentMethodCode: optionalWriteString(params.paymentMethodCode), + overrideApproverId: optionalWriteString(params.overrideApproverId), + unappliedAdvancesJust: optionalWriteString(params.unappliedAdvancesJust), + unappliedCashAdvReason: optionalWriteString(params.unappliedCashAdvReason), + } + case 'oracle_fusion_financials_remove_expense_report_cash_advance': + return { + cashAdvanceNumber: optionalWriteString(params.cashAdvanceNumber), + } + case 'oracle_fusion_financials_create_expense_line': + return { + assignmentId: optionalWriteString(params.assignmentId), + orgId: optionalWriteString(params.orgId), + personId: optionalWriteString(params.personId), + ticketClass: optionalWriteString(params.ticketClass), + expenseTypeId: optionalWriteString(params.expenseTypeId), + expenseTemplateId: optionalWriteString(params.expenseTemplateId), + description: optionalWriteString(params.description), + justification: optionalWriteString(params.justification), + receiptAmount: optionalWriteNumber(params.receiptAmount, 'Receipt Amount'), + receiptCurrencyCode: optionalWriteString(params.receiptCurrencyCode), + receiptDate: optionalWriteString(params.receiptDate), + merchantName: optionalWriteString(params.merchantName), + startDate: optionalWriteString(params.startDate), + endDate: optionalWriteString(params.endDate), + exchangeRate: optionalWriteNumber(params.exchangeRate, 'Exchange Rate'), + reimbursementCurrencyCode: optionalWriteString(params.reimbursementCurrencyCode), + itemizationParentExpenseId: optionalWriteString(params.itemizationParentExpenseId), + receiptMissingFlag: optionalWriteBoolean(params.receiptMissingFlag), + location: optionalWriteString(params.location), + countryCode: optionalWriteString(params.countryCode), + expenseCategoryCode: optionalWriteString(params.expenseCategoryCode), + expenseSource: optionalWriteString(params.expenseSource), + numberOfDays: optionalWriteNumber(params.numberOfDays, 'Number Of Days'), + numberOfAttendees: optionalWriteNumber(params.numberOfAttendees, 'Number Of Attendees'), + tripDistance: optionalWriteNumber(params.tripDistance, 'Trip Distance'), + distanceUnitCode: optionalWriteString(params.distanceUnitCode), + ticketClassCode: optionalWriteString(params.ticketClassCode), + ticketNumber: optionalWriteString(params.ticketNumber), + } + case 'oracle_fusion_financials_update_expense_line': + return { + assignmentId: optionalWriteString(params.assignmentId), + orgId: optionalWriteString(params.orgId), + personId: optionalWriteString(params.personId), + ticketClass: optionalWriteString(params.ticketClass), + expenseTypeId: optionalWriteString(params.expenseTypeId), + expenseTemplateId: optionalWriteString(params.expenseTemplateId), + description: optionalWriteString(params.description), + justification: optionalWriteString(params.justification), + receiptAmount: optionalWriteNumber(params.receiptAmount, 'Receipt Amount'), + receiptCurrencyCode: optionalWriteString(params.receiptCurrencyCode), + receiptDate: optionalWriteString(params.receiptDate), + merchantName: optionalWriteString(params.merchantName), + startDate: optionalWriteString(params.startDate), + endDate: optionalWriteString(params.endDate), + exchangeRate: optionalWriteNumber(params.exchangeRate, 'Exchange Rate'), + reimbursementCurrencyCode: optionalWriteString(params.reimbursementCurrencyCode), + itemizationParentExpenseId: optionalWriteString(params.itemizationParentExpenseId), + receiptMissingFlag: optionalWriteBoolean(params.receiptMissingFlag), + location: optionalWriteString(params.location), + countryCode: optionalWriteString(params.countryCode), + expenseCategoryCode: optionalWriteString(params.expenseCategoryCode), + expenseSource: optionalWriteString(params.expenseSource), + numberOfDays: optionalWriteNumber(params.numberOfDays, 'Number Of Days'), + numberOfAttendees: optionalWriteNumber(params.numberOfAttendees, 'Number Of Attendees'), + tripDistance: optionalWriteNumber(params.tripDistance, 'Trip Distance'), + distanceUnitCode: optionalWriteString(params.distanceUnitCode), + ticketClassCode: optionalWriteString(params.ticketClassCode), + ticketNumber: optionalWriteString(params.ticketNumber), + } + case 'oracle_fusion_financials_create_expense_distribution': + return { + expenseId: optionalWriteString(params.expenseId), + orgId: optionalWriteString(params.orgId), + codeCombinationId: optionalWriteString(params.codeCombinationId), + company: optionalWriteString(params.company), + costCenter: optionalWriteString(params.costCenter), + reimbursableAmount: optionalWriteNumber(params.reimbursableAmount, 'Reimbursable Amount'), + } + case 'oracle_fusion_financials_update_expense_distribution': + return { + expenseId: optionalWriteString(params.expenseId), + orgId: optionalWriteString(params.orgId), + codeCombinationId: optionalWriteString(params.codeCombinationId), + company: optionalWriteString(params.company), + costCenter: optionalWriteString(params.costCenter), + reimbursableAmount: optionalWriteNumber(params.reimbursableAmount, 'Reimbursable Amount'), + } + case 'oracle_fusion_financials_create_expense_itemization': + return { + assignmentId: optionalWriteString(params.assignmentId), + orgId: optionalWriteString(params.orgId), + personId: optionalWriteString(params.personId), + expenseTypeId: optionalWriteString(params.expenseTypeId), + expenseTemplateId: optionalWriteString(params.expenseTemplateId), + itemizationParentExpenseId: optionalWriteString(params.itemizationParentExpenseId), + description: optionalWriteString(params.description), + justification: optionalWriteString(params.justification), + receiptAmount: optionalWriteNumber(params.receiptAmount, 'Receipt Amount'), + receiptCurrencyCode: optionalWriteString(params.receiptCurrencyCode), + receiptDate: optionalWriteString(params.receiptDate), + merchantName: optionalWriteString(params.merchantName), + startDate: optionalWriteString(params.startDate), + endDate: optionalWriteString(params.endDate), + exchangeRate: optionalWriteNumber(params.exchangeRate, 'Exchange Rate'), + reimbursementCurrencyCode: optionalWriteString(params.reimbursementCurrencyCode), + receiptMissingFlag: optionalWriteBoolean(params.receiptMissingFlag), + location: optionalWriteString(params.location), + expenseCategoryCode: optionalWriteString(params.expenseCategoryCode), + numberOfDays: optionalWriteNumber(params.numberOfDays, 'Number Of Days'), + numberOfAttendees: optionalWriteNumber(params.numberOfAttendees, 'Number Of Attendees'), + } + case 'oracle_fusion_financials_update_expense_itemization': + return { + assignmentId: optionalWriteString(params.assignmentId), + orgId: optionalWriteString(params.orgId), + personId: optionalWriteString(params.personId), + expenseTypeId: optionalWriteString(params.expenseTypeId), + expenseTemplateId: optionalWriteString(params.expenseTemplateId), + itemizationParentExpenseId: optionalWriteString(params.itemizationParentExpenseId), + description: optionalWriteString(params.description), + justification: optionalWriteString(params.justification), + receiptAmount: optionalWriteNumber(params.receiptAmount, 'Receipt Amount'), + receiptCurrencyCode: optionalWriteString(params.receiptCurrencyCode), + receiptDate: optionalWriteString(params.receiptDate), + merchantName: optionalWriteString(params.merchantName), + startDate: optionalWriteString(params.startDate), + endDate: optionalWriteString(params.endDate), + exchangeRate: optionalWriteNumber(params.exchangeRate, 'Exchange Rate'), + reimbursementCurrencyCode: optionalWriteString(params.reimbursementCurrencyCode), + receiptMissingFlag: optionalWriteBoolean(params.receiptMissingFlag), + location: optionalWriteString(params.location), + expenseCategoryCode: optionalWriteString(params.expenseCategoryCode), + numberOfDays: optionalWriteNumber(params.numberOfDays, 'Number Of Days'), + numberOfAttendees: optionalWriteNumber(params.numberOfAttendees, 'Number Of Attendees'), + } + default: + return {} + } +} + +export const OracleFusionFinancialsBlock: BlockConfig = { + type: 'oracle_fusion_financials', + name: 'Oracle Fusion Cloud Financials', + description: 'Read Payables, manage Receivables and Expenses, and inspect General Ledger', + longDescription: + 'Connect a reusable Oracle Fusion Cloud Financials service account with a Fusion application URL, username, and password for Basic authentication. Read bounded pages and individual Payables invoices, lines, distributions, installments, prepayments, holds, payments, paid invoices, payment process requests, and payment terms with fixed projections. Manage Receivables transactions and employee expense reports using supported writes and named lifecycle actions. Inspect ledgers, journals, and balances, and delete eligible journal batches; journal posting and import are not supported. Payables remains read-only. Permissions and business-unit or employee access are controlled by Oracle; no arbitrary REST operations or credentials are exposed.', + docsLink: 'https://docs.sim.ai/integrations/oracle_fusion_financials', + category: 'tools', + integrationType: IntegrationType.Commerce, + authMode: AuthMode.ApiKey, + bgColor: '#FFFFFF', + icon: NetSuiteIcon, + canvasPresentation: { + defaultTitle: 'Oracle Fusion Cloud Financials', + sentences: { + byOperation: { + oracle_fusion_financials_list_receivables_invoices: [ + 'List Receivables Invoices', + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_invoice: [ + 'Get Receivables Invoice', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + ], + oracle_fusion_financials_create_receivables_invoice: ['Create Receivables Invoice'], + oracle_fusion_financials_update_receivables_invoice: [ + 'Update Receivables Invoice', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + ], + oracle_fusion_financials_delete_receivables_invoice: [ + 'Delete Receivables Invoice', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + ], + oracle_fusion_financials_approve_receivables_invoice: [ + 'Approve Receivables Invoice', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + ], + oracle_fusion_financials_rework_receivables_invoice: [ + 'Rework Receivables Invoice', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_receivables_invoice_lines: [ + 'List Receivables Invoice Lines', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_invoice_line: [ + 'Get Receivables Invoice Line', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + { + text: 'with Receivables Invoice Line Id', + field: 'receivablesInvoiceLineId', + core: true, + }, + ], + oracle_fusion_financials_create_receivables_invoice_line: [ + 'Create Receivables Invoice Line', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_receivables_invoice_distributions: [ + 'List Receivables Invoice Distributions', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_invoice_distribution: [ + 'Get Receivables Invoice Distribution', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + { + text: 'with Receivables Invoice Distribution Id', + field: 'receivablesInvoiceDistributionId', + core: true, + }, + ], + oracle_fusion_financials_create_receivables_invoice_distribution: [ + 'Create Receivables Invoice Distribution', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_receivables_invoice_installments: [ + 'List Receivables Invoice Installments', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_invoice_installment: [ + 'Get Receivables Invoice Installment', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + { + text: 'with Receivables Invoice Installment Id', + field: 'receivablesInvoiceInstallmentId', + core: true, + }, + ], + oracle_fusion_financials_update_receivables_invoice_installment: [ + 'Update Receivables Invoice Installment', + { + text: 'with Receivables Invoice Id', + field: ['receivablesInvoiceIdSelector', 'receivablesInvoiceIdManual'], + core: true, + }, + { + text: 'with Receivables Invoice Installment Id', + field: 'receivablesInvoiceInstallmentId', + core: true, + }, + ], + oracle_fusion_financials_list_receivables_credit_memos: [ + 'List Receivables Credit Memos', + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_credit_memo: [ + 'Get Receivables Credit Memo', + { + text: 'with Receivables Credit Memo Id', + field: ['receivablesCreditMemoIdSelector', 'receivablesCreditMemoIdManual'], + core: true, + }, + ], + oracle_fusion_financials_create_receivables_credit_memo: ['Create Receivables Credit Memo'], + oracle_fusion_financials_update_receivables_credit_memo: [ + 'Update Receivables Credit Memo', + { + text: 'with Receivables Credit Memo Id', + field: ['receivablesCreditMemoIdSelector', 'receivablesCreditMemoIdManual'], + core: true, + }, + ], + oracle_fusion_financials_approve_receivables_credit_memo: [ + 'Approve Receivables Credit Memo', + { + text: 'with Receivables Credit Memo Id', + field: ['receivablesCreditMemoIdSelector', 'receivablesCreditMemoIdManual'], + core: true, + }, + ], + oracle_fusion_financials_rework_receivables_credit_memo: [ + 'Rework Receivables Credit Memo', + { + text: 'with Receivables Credit Memo Id', + field: ['receivablesCreditMemoIdSelector', 'receivablesCreditMemoIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_receivables_credit_memo_lines: [ + 'List Receivables Credit Memo Lines', + { + text: 'with Receivables Credit Memo Id', + field: ['receivablesCreditMemoIdSelector', 'receivablesCreditMemoIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_credit_memo_line: [ + 'Get Receivables Credit Memo Line', + { + text: 'with Receivables Credit Memo Id', + field: ['receivablesCreditMemoIdSelector', 'receivablesCreditMemoIdManual'], + core: true, + }, + { + text: 'with Receivables Credit Memo Line Id', + field: 'receivablesCreditMemoLineId', + core: true, + }, + ], + oracle_fusion_financials_create_receivables_credit_memo_line: [ + 'Create Receivables Credit Memo Line', + { + text: 'with Receivables Credit Memo Id', + field: ['receivablesCreditMemoIdSelector', 'receivablesCreditMemoIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_receivables_credit_memo_distributions: [ + 'List Receivables Credit Memo Distributions', + { + text: 'with Receivables Credit Memo Id', + field: ['receivablesCreditMemoIdSelector', 'receivablesCreditMemoIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_credit_memo_distribution: [ + 'Get Receivables Credit Memo Distribution', + { + text: 'with Receivables Credit Memo Id', + field: ['receivablesCreditMemoIdSelector', 'receivablesCreditMemoIdManual'], + core: true, + }, + { + text: 'with Receivables Credit Memo Distribution Id', + field: 'receivablesCreditMemoDistributionId', + core: true, + }, + ], + oracle_fusion_financials_create_receivables_credit_memo_distribution: [ + 'Create Receivables Credit Memo Distribution', + { + text: 'with Receivables Credit Memo Id', + field: ['receivablesCreditMemoIdSelector', 'receivablesCreditMemoIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_receivables_receipts: [ + 'List Receivables Receipts', + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_receipt: [ + 'Get Receivables Receipt', + { + text: 'with Receivables Receipt Id', + field: ['receivablesReceiptIdSelector', 'receivablesReceiptIdManual'], + core: true, + }, + ], + oracle_fusion_financials_create_receivables_receipt: ['Create Receivables Receipt'], + oracle_fusion_financials_update_receivables_receipt: [ + 'Update Receivables Receipt', + { + text: 'with Receivables Receipt Id', + field: ['receivablesReceiptIdSelector', 'receivablesReceiptIdManual'], + core: true, + }, + ], + oracle_fusion_financials_delete_receivables_receipt: [ + 'Delete Receivables Receipt', + { + text: 'with Receivables Receipt Id', + field: ['receivablesReceiptIdSelector', 'receivablesReceiptIdManual'], + core: true, + }, + ], + oracle_fusion_financials_apply_receivables_receipt: [ + 'Apply Receivables Receipt', + { + text: 'with Receivables Receipt Id', + field: ['receivablesReceiptIdSelector', 'receivablesReceiptIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_receivables_customer_accounts: [ + 'List Receivables Customer Accounts', + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_customer_account: [ + 'Get Receivables Customer Account', + { + text: 'with Receivables Customer Account Id', + field: ['receivablesCustomerAccountIdSelector', 'receivablesCustomerAccountIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_receivables_customer_account_sites: [ + 'List Receivables Customer Account Sites', + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_customer_account_site: [ + 'Get Receivables Customer Account Site', + { + text: 'with Receivables Customer Account Site Id', + field: [ + 'receivablesCustomerAccountSiteIdSelector', + 'receivablesCustomerAccountSiteIdManual', + ], + core: true, + }, + ], + oracle_fusion_financials_list_receivables_receipt_applications: [ + 'List Receivables Receipt Applications', + { + text: 'with Receivables Customer Account Id', + field: ['receivablesCustomerAccountIdSelector', 'receivablesCustomerAccountIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_receipt_application: [ + 'Get Receivables Receipt Application', + { + text: 'with Receivables Customer Account Id', + field: ['receivablesCustomerAccountIdSelector', 'receivablesCustomerAccountIdManual'], + core: true, + }, + { + text: 'with Receivables Receipt Application Id', + field: 'receivablesReceiptApplicationId', + core: true, + }, + ], + oracle_fusion_financials_list_receivables_credit_memo_applications: [ + 'List Receivables Credit Memo Applications', + { + text: 'with Receivables Customer Account Id', + field: ['receivablesCustomerAccountIdSelector', 'receivablesCustomerAccountIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_credit_memo_application: [ + 'Get Receivables Credit Memo Application', + { + text: 'with Receivables Customer Account Id', + field: ['receivablesCustomerAccountIdSelector', 'receivablesCustomerAccountIdManual'], + core: true, + }, + { + text: 'with Receivables Credit Memo Application Id', + field: 'receivablesCreditMemoApplicationId', + core: true, + }, + ], + oracle_fusion_financials_list_receivables_transaction_payment_schedules: [ + 'List Receivables Transaction Payment Schedules', + { + text: 'with Receivables Customer Account Id', + field: ['receivablesCustomerAccountIdSelector', 'receivablesCustomerAccountIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_transaction_payment_schedule: [ + 'Get Receivables Transaction Payment Schedule', + { + text: 'with Receivables Customer Account Id', + field: ['receivablesCustomerAccountIdSelector', 'receivablesCustomerAccountIdManual'], + core: true, + }, + { + text: 'with Receivables Transaction Payment Schedule Id', + field: 'receivablesTransactionPaymentScheduleId', + core: true, + }, + ], + oracle_fusion_financials_list_receivables_transaction_adjustments: [ + 'List Receivables Transaction Adjustments', + { + text: 'with Receivables Customer Account Id', + field: ['receivablesCustomerAccountIdSelector', 'receivablesCustomerAccountIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_receivables_transaction_adjustment: [ + 'Get Receivables Transaction Adjustment', + { + text: 'with Receivables Customer Account Id', + field: ['receivablesCustomerAccountIdSelector', 'receivablesCustomerAccountIdManual'], + core: true, + }, + { + text: 'with Receivables Transaction Adjustment Id', + field: 'receivablesTransactionAdjustmentId', + core: true, + }, + ], + oracle_fusion_financials_list_expense_reports: [ + 'List Expense Reports', + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_expense_report: [ + 'Get Expense Report', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_create_expense_report: ['Create Expense Report'], + oracle_fusion_financials_update_expense_report: [ + 'Update Expense Report', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_submit_expense_report: [ + 'Submit Expense Report', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_remove_expense_report_cash_advance: [ + 'Remove Expense Report Cash Advance', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_expense_lines: [ + 'List Expense Lines', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_expense_line: [ + 'Get Expense Line', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + ], + oracle_fusion_financials_create_expense_line: [ + 'Create Expense Line', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_update_expense_line: [ + 'Update Expense Line', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + ], + oracle_fusion_financials_list_expense_distributions: [ + 'List Expense Distributions', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_expense_distribution: [ + 'Get Expense Distribution', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + { + text: 'with Expense Distribution Id', + field: 'expenseDistributionId', + core: true, + }, + ], + oracle_fusion_financials_create_expense_distribution: [ + 'Create Expense Distribution', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + ], + oracle_fusion_financials_update_expense_distribution: [ + 'Update Expense Distribution', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + { + text: 'with Expense Distribution Id', + field: 'expenseDistributionId', + core: true, + }, + ], + oracle_fusion_financials_list_expense_itemizations: [ + 'List Expense Itemizations', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_expense_itemization: [ + 'Get Expense Itemization', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + { + text: 'with Expense Itemization Id', + field: 'expenseItemizationId', + core: true, + }, + ], + oracle_fusion_financials_create_expense_itemization: [ + 'Create Expense Itemization', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + ], + oracle_fusion_financials_update_expense_itemization: [ + 'Update Expense Itemization', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + { + text: 'with Expense Itemization Id', + field: 'expenseItemizationId', + core: true, + }, + ], + oracle_fusion_financials_list_expense_report_processing_details: [ + 'List Expense Report Processing Details', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_expense_report_processing_detail: [ + 'Get Expense Report Processing Detail', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Report Processing Detail Uniq Id', + field: 'expenseReportProcessingDetailUniqId', + core: true, + }, + ], + oracle_fusion_financials_list_expense_report_payments: [ + 'List Expense Report Payments', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_expense_report_payment: [ + 'Get Expense Report Payment', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Report Payment Id', + field: 'expenseReportPaymentId', + core: true, + }, + ], + oracle_fusion_financials_list_expense_line_errors: [ + 'List Expense Line Errors', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_expense_line_error: [ + 'Get Expense Line Error', + { + text: 'with Expense Report Uniq Id', + field: ['expenseReportUniqIdSelector', 'expenseReportUniqIdManual'], + core: true, + }, + { + text: 'with Expense Line Uniq Id', + field: 'expenseLineUniqId', + core: true, + }, + { + text: 'with Expense Line Error Sequence', + field: 'expenseLineErrorSequence', + core: true, + }, + ], + oracle_fusion_financials_list_gl_ledgers: [ + 'List Gl Ledgers', + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_gl_ledger: [ + 'Get Gl Ledger', + { + text: 'with Gl Ledger Id', + field: ['glLedgerIdSelector', 'glLedgerIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_gl_journal_batches: [ + 'List Gl Journal Batches', + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_gl_journal_batch: [ + 'Get Gl Journal Batch', + { + text: 'with Gl Journal Batch Id', + field: ['glJournalBatchIdSelector', 'glJournalBatchIdManual'], + core: true, + }, + ], + oracle_fusion_financials_delete_gl_journal_batch: [ + 'Delete Gl Journal Batch', + { + text: 'with Gl Journal Batch Id', + field: ['glJournalBatchIdSelector', 'glJournalBatchIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_gl_journal_headers: [ + 'List Gl Journal Headers', + { + text: 'with Gl Journal Batch Id', + field: ['glJournalBatchIdSelector', 'glJournalBatchIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_gl_journal_header: [ + 'Get Gl Journal Header', + { + text: 'with Gl Journal Batch Id', + field: ['glJournalBatchIdSelector', 'glJournalBatchIdManual'], + core: true, + }, + { + text: 'with Gl Journal Header Uniq Id', + field: 'glJournalHeaderUniqId', + core: true, + }, + ], + oracle_fusion_financials_list_gl_journal_lines: [ + 'List Gl Journal Lines', + { + text: 'with Gl Journal Batch Id', + field: ['glJournalBatchIdSelector', 'glJournalBatchIdManual'], + core: true, + }, + { + text: 'with Gl Journal Header Uniq Id', + field: 'glJournalHeaderUniqId', + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_gl_journal_line: [ + 'Get Gl Journal Line', + { + text: 'with Gl Journal Batch Id', + field: ['glJournalBatchIdSelector', 'glJournalBatchIdManual'], + core: true, + }, + { + text: 'with Gl Journal Header Uniq Id', + field: 'glJournalHeaderUniqId', + core: true, + }, + { + text: 'with Gl Journal Line Uniq Id', + field: 'glJournalLineUniqId', + core: true, + }, + ], + oracle_fusion_financials_list_gl_journal_errors: [ + 'List Gl Journal Errors', + { + text: 'with Gl Journal Batch Id', + field: ['glJournalBatchIdSelector', 'glJournalBatchIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_gl_journal_error: [ + 'Get Gl Journal Error', + { + text: 'with Gl Journal Batch Id', + field: ['glJournalBatchIdSelector', 'glJournalBatchIdManual'], + core: true, + }, + { + text: 'with Gl Journal Error Uniq Id', + field: 'glJournalErrorUniqId', + core: true, + }, + ], + oracle_fusion_financials_list_gl_journal_action_logs: [ + 'List Gl Journal Action Logs', + { + text: 'with Gl Journal Batch Id', + field: ['glJournalBatchIdSelector', 'glJournalBatchIdManual'], + core: true, + }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_gl_journal_action_log: [ + 'Get Gl Journal Action Log', + { + text: 'with Gl Journal Batch Id', + field: ['glJournalBatchIdSelector', 'glJournalBatchIdManual'], + core: true, + }, + { + text: 'with Gl Journal Action Log Uniq Id', + field: 'glJournalActionLogUniqId', + core: true, + }, + ], + oracle_fusion_financials_list_gl_balances: [ + 'List Gl Balances', + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_list_payables_invoices: [ + 'List Payables invoices', + { text: ', matching', field: 'q' }, + { text: ', ordered by', field: 'orderBy' }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_payables_invoice: [ + { + text: 'Read Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_payables_invoice_lines: [ + { + text: 'List lines for Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + { text: ', matching', field: 'q' }, + { text: ', up to', field: 'limit', after: 'lines' }, + ], + oracle_fusion_financials_get_payables_invoice_line: [ + { + text: 'Read line', + field: 'invoiceLineUniqId', + core: true, + }, + { + text: 'from Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_payables_invoice_installments: [ + { + text: 'List installments for Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + { text: ', matching', field: 'q' }, + { text: ', up to', field: 'limit', after: 'installments' }, + ], + oracle_fusion_financials_get_payables_invoice_installment: [ + { + text: 'Read installment', + field: 'invoiceInstallmentUniqId', + core: true, + }, + { + text: 'from Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_payables_invoice_distributions: [ + { + text: 'List distributions for line', + field: 'invoiceLineUniqId', + core: true, + }, + { + text: 'of Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + { text: ', matching', field: 'q' }, + ], + oracle_fusion_financials_get_payables_invoice_distribution: [ + { + text: 'Read distribution', + field: 'invoiceDistributionId', + core: true, + }, + { text: 'for line', field: 'invoiceLineUniqId', core: true }, + { + text: 'of Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_payables_applied_prepayments: [ + { + text: 'List applied prepayments for Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + { text: ', matching', field: 'q' }, + ], + oracle_fusion_financials_get_payables_applied_prepayment: [ + { + text: 'Read applied prepayment', + field: 'appliedPrepaymentUniqId', + core: true, + }, + { + text: 'for Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_payables_available_prepayments: [ + { + text: 'List available prepayments for Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + { text: ', matching', field: 'q' }, + ], + oracle_fusion_financials_get_payables_available_prepayment: [ + { + text: 'Read available prepayment', + field: 'availablePrepaymentUniqId', + core: true, + }, + { + text: 'for Payables invoice', + field: ['invoiceSelector', 'invoiceUniqIdManual'], + core: true, + }, + ], + oracle_fusion_financials_list_payables_payments: [ + 'List Payables payments', + { text: ', matching', field: 'q' }, + { text: ', ordered by', field: 'orderBy' }, + { text: ', up to', field: 'limit', after: 'records' }, + ], + oracle_fusion_financials_get_payables_payment: [ + { text: 'Read Payables payment', field: 'checkId', core: true }, + ], + oracle_fusion_financials_list_payables_payment_related_invoices: [ + { text: 'List invoices paid by payment', field: 'checkId', core: true }, + { text: ', matching', field: 'q' }, + ], + oracle_fusion_financials_get_payables_payment_related_invoice: [ + { text: 'Read paid invoice', field: 'invoicePaymentId', core: true }, + { text: 'for payment', field: 'checkId', core: true }, + ], + oracle_fusion_financials_list_payment_process_requests: [ + 'List payment process requests', + { text: ', matching', field: 'q' }, + { text: ', ordered by', field: 'orderBy' }, + ], + oracle_fusion_financials_get_payment_process_request: [ + { + text: 'Read payment process request', + field: 'paymentProcessRequestId', + core: true, + }, + ], + oracle_fusion_financials_list_payables_invoice_holds: [ + 'List Payables invoice holds', + { text: ', matching', field: 'q' }, + { text: ', ordered by', field: 'orderBy' }, + ], + oracle_fusion_financials_get_payables_invoice_hold: [ + { text: 'Read Payables invoice hold', field: 'holdId', core: true }, + ], + oracle_fusion_financials_list_payables_payment_terms: [ + 'List Payables payment terms', + { text: ', matching', field: 'q' }, + { text: ', ordered by', field: 'orderBy' }, + ], + oracle_fusion_financials_get_payables_payment_term: [ + { text: 'Read Payables payment term', field: 'termsId', core: true }, + ], + oracle_fusion_financials_list_payables_payment_term_lines: [ + { text: 'List calculation lines for payment term', field: 'termsId', core: true }, + { text: ', matching', field: 'q' }, + ], + oracle_fusion_financials_get_payables_payment_term_line: [ + { + text: 'Read calculation line', + field: 'paymentTermLineUniqId', + core: true, + }, + { text: 'for payment term', field: 'termsId', core: true }, + ], + }, + }, + }, + subBlocks: [ + { + id: 'credential', + title: 'Oracle Fusion Account', + type: 'oauth-input', + serviceId: 'oracle_fusion_financials', + credentialKind: 'service-account', + canonicalParamId: 'oauthCredential', + mode: 'basic', + placeholder: 'Select Oracle Fusion credential', + required: true, + }, + { + id: 'manualCredential', + title: 'Oracle Fusion Account', + type: 'short-input', + canonicalParamId: 'oauthCredential', + mode: 'advanced', + placeholder: 'Enter credential ID', + required: true, + }, + { + id: 'operation', + title: 'Operation', + type: 'dropdown', + options: [ + { + label: 'List Payables Invoices', + id: 'oracle_fusion_financials_list_payables_invoices', + }, + { + label: 'Get Payables Invoice', + id: 'oracle_fusion_financials_get_payables_invoice', + }, + { + label: 'List Payables Invoice Lines', + id: 'oracle_fusion_financials_list_payables_invoice_lines', + }, + { + label: 'Get Payables Invoice Line', + id: 'oracle_fusion_financials_get_payables_invoice_line', + }, + { + label: 'List Payables Invoice Installments', + id: 'oracle_fusion_financials_list_payables_invoice_installments', + }, + { + label: 'Get Payables Invoice Installment', + id: 'oracle_fusion_financials_get_payables_invoice_installment', + }, + { + label: 'List Payables Invoice Distributions', + id: 'oracle_fusion_financials_list_payables_invoice_distributions', + }, + { + label: 'Get Payables Invoice Distribution', + id: 'oracle_fusion_financials_get_payables_invoice_distribution', + }, + { + label: 'List Payables Applied Prepayments', + id: 'oracle_fusion_financials_list_payables_applied_prepayments', + }, + { + label: 'Get Payables Applied Prepayment', + id: 'oracle_fusion_financials_get_payables_applied_prepayment', + }, + { + label: 'List Payables Available Prepayments', + id: 'oracle_fusion_financials_list_payables_available_prepayments', + }, + { + label: 'Get Payables Available Prepayment', + id: 'oracle_fusion_financials_get_payables_available_prepayment', + }, + { + label: 'List Payables Payments', + id: 'oracle_fusion_financials_list_payables_payments', + }, + { + label: 'Get Payables Payment', + id: 'oracle_fusion_financials_get_payables_payment', + }, + { + label: 'List Payment-Related Invoices', + id: 'oracle_fusion_financials_list_payables_payment_related_invoices', + }, + { + label: 'Get Payment-Related Invoice', + id: 'oracle_fusion_financials_get_payables_payment_related_invoice', + }, + { + label: 'List Payment Process Requests', + id: 'oracle_fusion_financials_list_payment_process_requests', + }, + { + label: 'Get Payment Process Request', + id: 'oracle_fusion_financials_get_payment_process_request', + }, + { + label: 'List Payables Invoice Holds', + id: 'oracle_fusion_financials_list_payables_invoice_holds', + }, + { + label: 'Get Payables Invoice Hold', + id: 'oracle_fusion_financials_get_payables_invoice_hold', + }, + { + label: 'List Payables Payment Terms', + id: 'oracle_fusion_financials_list_payables_payment_terms', + }, + { + label: 'Get Payables Payment Term', + id: 'oracle_fusion_financials_get_payables_payment_term', + }, + { + label: 'List Payables Payment Term Lines', + id: 'oracle_fusion_financials_list_payables_payment_term_lines', + }, + { + label: 'Get Payables Payment Term Line', + id: 'oracle_fusion_financials_get_payables_payment_term_line', + }, + { + label: 'Receivables · List Invoices', + id: 'oracle_fusion_financials_list_receivables_invoices', + }, + { + label: 'Receivables · Get Invoice', + id: 'oracle_fusion_financials_get_receivables_invoice', + }, + { + label: 'Receivables · Create Invoice', + id: 'oracle_fusion_financials_create_receivables_invoice', + }, + { + label: 'Receivables · Update Invoice', + id: 'oracle_fusion_financials_update_receivables_invoice', + }, + { + label: 'Receivables · Delete Invoice', + id: 'oracle_fusion_financials_delete_receivables_invoice', + }, + { + label: 'Receivables · Approve Invoice', + id: 'oracle_fusion_financials_approve_receivables_invoice', + }, + { + label: 'Receivables · Rework Invoice', + id: 'oracle_fusion_financials_rework_receivables_invoice', + }, + { + label: 'Receivables · List Invoice Lines', + id: 'oracle_fusion_financials_list_receivables_invoice_lines', + }, + { + label: 'Receivables · Get Invoice Line', + id: 'oracle_fusion_financials_get_receivables_invoice_line', + }, + { + label: 'Receivables · Create Invoice Line', + id: 'oracle_fusion_financials_create_receivables_invoice_line', + }, + { + label: 'Receivables · List Invoice Distributions', + id: 'oracle_fusion_financials_list_receivables_invoice_distributions', + }, + { + label: 'Receivables · Get Invoice Distribution', + id: 'oracle_fusion_financials_get_receivables_invoice_distribution', + }, + { + label: 'Receivables · Create Invoice Distribution', + id: 'oracle_fusion_financials_create_receivables_invoice_distribution', + }, + { + label: 'Receivables · List Invoice Installments', + id: 'oracle_fusion_financials_list_receivables_invoice_installments', + }, + { + label: 'Receivables · Get Invoice Installment', + id: 'oracle_fusion_financials_get_receivables_invoice_installment', + }, + { + label: 'Receivables · Update Invoice Installment', + id: 'oracle_fusion_financials_update_receivables_invoice_installment', + }, + { + label: 'Receivables · List Credit Memos', + id: 'oracle_fusion_financials_list_receivables_credit_memos', + }, + { + label: 'Receivables · Get Credit Memo', + id: 'oracle_fusion_financials_get_receivables_credit_memo', + }, + { + label: 'Receivables · Create Credit Memo', + id: 'oracle_fusion_financials_create_receivables_credit_memo', + }, + { + label: 'Receivables · Update Credit Memo', + id: 'oracle_fusion_financials_update_receivables_credit_memo', + }, + { + label: 'Receivables · Approve Credit Memo', + id: 'oracle_fusion_financials_approve_receivables_credit_memo', + }, + { + label: 'Receivables · Rework Credit Memo', + id: 'oracle_fusion_financials_rework_receivables_credit_memo', + }, + { + label: 'Receivables · List Credit Memo Lines', + id: 'oracle_fusion_financials_list_receivables_credit_memo_lines', + }, + { + label: 'Receivables · Get Credit Memo Line', + id: 'oracle_fusion_financials_get_receivables_credit_memo_line', + }, + { + label: 'Receivables · Create Credit Memo Line', + id: 'oracle_fusion_financials_create_receivables_credit_memo_line', + }, + { + label: 'Receivables · List Credit Memo Distributions', + id: 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + }, + { + label: 'Receivables · Get Credit Memo Distribution', + id: 'oracle_fusion_financials_get_receivables_credit_memo_distribution', + }, + { + label: 'Receivables · Create Credit Memo Distribution', + id: 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + }, + { + label: 'Receivables · List Receipts', + id: 'oracle_fusion_financials_list_receivables_receipts', + }, + { + label: 'Receivables · Get Receipt', + id: 'oracle_fusion_financials_get_receivables_receipt', + }, + { + label: 'Receivables · Create Receipt', + id: 'oracle_fusion_financials_create_receivables_receipt', + }, + { + label: 'Receivables · Update Receipt', + id: 'oracle_fusion_financials_update_receivables_receipt', + }, + { + label: 'Receivables · Delete Receipt', + id: 'oracle_fusion_financials_delete_receivables_receipt', + }, + { + label: 'Receivables · Apply Receipt', + id: 'oracle_fusion_financials_apply_receivables_receipt', + }, + { + label: 'Receivables · List Customer Accounts', + id: 'oracle_fusion_financials_list_receivables_customer_accounts', + }, + { + label: 'Receivables · Get Customer Account', + id: 'oracle_fusion_financials_get_receivables_customer_account', + }, + { + label: 'Receivables · List Customer Account Sites', + id: 'oracle_fusion_financials_list_receivables_customer_account_sites', + }, + { + label: 'Receivables · Get Customer Account Site', + id: 'oracle_fusion_financials_get_receivables_customer_account_site', + }, + { + label: 'Receivables · List Receipt Applications', + id: 'oracle_fusion_financials_list_receivables_receipt_applications', + }, + { + label: 'Receivables · Get Receipt Application', + id: 'oracle_fusion_financials_get_receivables_receipt_application', + }, + { + label: 'Receivables · List Credit Memo Applications', + id: 'oracle_fusion_financials_list_receivables_credit_memo_applications', + }, + { + label: 'Receivables · Get Credit Memo Application', + id: 'oracle_fusion_financials_get_receivables_credit_memo_application', + }, + { + label: 'Receivables · List Transaction Payment Schedules', + id: 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + }, + { + label: 'Receivables · Get Transaction Payment Schedule', + id: 'oracle_fusion_financials_get_receivables_transaction_payment_schedule', + }, + { + label: 'Receivables · List Transaction Adjustments', + id: 'oracle_fusion_financials_list_receivables_transaction_adjustments', + }, + { + label: 'Receivables · Get Transaction Adjustment', + id: 'oracle_fusion_financials_get_receivables_transaction_adjustment', + }, + { + label: 'Expenses · List Expense Reports', + id: 'oracle_fusion_financials_list_expense_reports', + }, + { + label: 'Expenses · Get Expense Report', + id: 'oracle_fusion_financials_get_expense_report', + }, + { + label: 'Expenses · Create Expense Report', + id: 'oracle_fusion_financials_create_expense_report', + }, + { + label: 'Expenses · Update Expense Report', + id: 'oracle_fusion_financials_update_expense_report', + }, + { + label: 'Expenses · Submit Expense Report', + id: 'oracle_fusion_financials_submit_expense_report', + }, + { + label: 'Expenses · Remove Expense Report Cash Advance', + id: 'oracle_fusion_financials_remove_expense_report_cash_advance', + }, + { + label: 'Expenses · List Expense Lines', + id: 'oracle_fusion_financials_list_expense_lines', + }, + { + label: 'Expenses · Get Expense Line', + id: 'oracle_fusion_financials_get_expense_line', + }, + { + label: 'Expenses · Create Expense Line', + id: 'oracle_fusion_financials_create_expense_line', + }, + { + label: 'Expenses · Update Expense Line', + id: 'oracle_fusion_financials_update_expense_line', + }, + { + label: 'Expenses · List Expense Distributions', + id: 'oracle_fusion_financials_list_expense_distributions', + }, + { + label: 'Expenses · Get Expense Distribution', + id: 'oracle_fusion_financials_get_expense_distribution', + }, + { + label: 'Expenses · Create Expense Distribution', + id: 'oracle_fusion_financials_create_expense_distribution', + }, + { + label: 'Expenses · Update Expense Distribution', + id: 'oracle_fusion_financials_update_expense_distribution', + }, + { + label: 'Expenses · List Expense Itemizations', + id: 'oracle_fusion_financials_list_expense_itemizations', + }, + { + label: 'Expenses · Get Expense Itemization', + id: 'oracle_fusion_financials_get_expense_itemization', + }, + { + label: 'Expenses · Create Expense Itemization', + id: 'oracle_fusion_financials_create_expense_itemization', + }, + { + label: 'Expenses · Update Expense Itemization', + id: 'oracle_fusion_financials_update_expense_itemization', + }, + { + label: 'Expenses · List Expense Report Processing Details', + id: 'oracle_fusion_financials_list_expense_report_processing_details', + }, + { + label: 'Expenses · Get Expense Report Processing Detail', + id: 'oracle_fusion_financials_get_expense_report_processing_detail', + }, + { + label: 'Expenses · List Expense Report Payments', + id: 'oracle_fusion_financials_list_expense_report_payments', + }, + { + label: 'Expenses · Get Expense Report Payment', + id: 'oracle_fusion_financials_get_expense_report_payment', + }, + { + label: 'Expenses · List Expense Line Errors', + id: 'oracle_fusion_financials_list_expense_line_errors', + }, + { + label: 'Expenses · Get Expense Line Error', + id: 'oracle_fusion_financials_get_expense_line_error', + }, + { + label: 'General Ledger · List Ledgers', + id: 'oracle_fusion_financials_list_gl_ledgers', + }, + { + label: 'General Ledger · Get Ledger', + id: 'oracle_fusion_financials_get_gl_ledger', + }, + { + label: 'General Ledger · List Journal Batches', + id: 'oracle_fusion_financials_list_gl_journal_batches', + }, + { + label: 'General Ledger · Get Journal Batch', + id: 'oracle_fusion_financials_get_gl_journal_batch', + }, + { + label: 'General Ledger · Delete Journal Batch', + id: 'oracle_fusion_financials_delete_gl_journal_batch', + }, + { + label: 'General Ledger · List Journal Headers', + id: 'oracle_fusion_financials_list_gl_journal_headers', + }, + { + label: 'General Ledger · Get Journal Header', + id: 'oracle_fusion_financials_get_gl_journal_header', + }, + { + label: 'General Ledger · List Journal Lines', + id: 'oracle_fusion_financials_list_gl_journal_lines', + }, + { + label: 'General Ledger · Get Journal Line', + id: 'oracle_fusion_financials_get_gl_journal_line', + }, + { + label: 'General Ledger · List Journal Errors', + id: 'oracle_fusion_financials_list_gl_journal_errors', + }, + { + label: 'General Ledger · Get Journal Error', + id: 'oracle_fusion_financials_get_gl_journal_error', + }, + { + label: 'General Ledger · List Journal Action Logs', + id: 'oracle_fusion_financials_list_gl_journal_action_logs', + }, + { + label: 'General Ledger · Get Journal Action Log', + id: 'oracle_fusion_financials_get_gl_journal_action_log', + }, + { + label: 'General Ledger · List Balances', + id: 'oracle_fusion_financials_list_gl_balances', + }, + ], + value: () => 'oracle_fusion_financials_list_payables_invoices', + required: true, + }, + { + id: 'invoiceSelector', + title: 'Payables Invoice', + type: 'project-selector', + canonicalParamId: 'invoiceUniqId', + serviceId: 'oracle_fusion_financials', + selectorKey: 'oracleFusionFinancials.invoices', + dependsOn: ['credential'], + mode: 'basic', + placeholder: 'Select a recent invoice', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_payables_invoice', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_get_payables_invoice_line', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_get_payables_invoice_installment', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_get_payables_invoice_distribution', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_get_payables_applied_prepayment', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_get_payables_available_prepayment', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_payables_invoice', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_get_payables_invoice_line', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_get_payables_invoice_installment', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_get_payables_invoice_distribution', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_get_payables_applied_prepayment', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_get_payables_available_prepayment', + ], + }, + }, + { + id: 'invoiceUniqIdManual', + title: 'Payables Invoice Key', + type: 'short-input', + canonicalParamId: 'invoiceUniqId', + mode: 'advanced', + placeholder: 'Opaque key returned by Oracle Fusion', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_payables_invoice', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_get_payables_invoice_line', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_get_payables_invoice_installment', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_get_payables_invoice_distribution', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_get_payables_applied_prepayment', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_get_payables_available_prepayment', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_payables_invoice', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_get_payables_invoice_line', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_get_payables_invoice_installment', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_get_payables_invoice_distribution', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_get_payables_applied_prepayment', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_get_payables_available_prepayment', + ], + }, + }, + { + id: 'invoiceLineUniqId', + title: 'Invoice Line Key', + type: 'short-input', + placeholder: 'Opaque invoice-line key returned by Oracle', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_payables_invoice_line', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_get_payables_invoice_distribution', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_payables_invoice_line', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_get_payables_invoice_distribution', + ], + }, + }, + { + id: 'invoiceInstallmentUniqId', + title: 'Invoice Installment Key', + type: 'short-input', + placeholder: 'Opaque invoice-installment key returned by Oracle', + condition: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_invoice_installment', + }, + required: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_invoice_installment', + }, + }, + { + id: 'invoiceDistributionId', + title: 'Invoice Distribution ID', + type: 'short-input', + placeholder: 'Oracle InvoiceDistributionId', + condition: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_invoice_distribution', + }, + required: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_invoice_distribution', + }, + }, + { + id: 'appliedPrepaymentUniqId', + title: 'Applied Prepayment Key', + type: 'short-input', + placeholder: 'Opaque applied-prepayment key returned by Oracle', + condition: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_applied_prepayment', + }, + required: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_applied_prepayment', + }, + }, + { + id: 'availablePrepaymentUniqId', + title: 'Available Prepayment Key', + type: 'short-input', + placeholder: 'Opaque available-prepayment key returned by Oracle', + condition: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_available_prepayment', + }, + required: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_available_prepayment', + }, + }, + { + id: 'checkId', + title: 'Payment Check ID', + type: 'short-input', + placeholder: 'Oracle payment CheckId', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_payables_payment', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_get_payables_payment_related_invoice', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_payables_payment', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_get_payables_payment_related_invoice', + ], + }, + }, + { + id: 'invoicePaymentId', + title: 'Invoice Payment ID', + type: 'short-input', + placeholder: 'Oracle InvoicePaymentId', + condition: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_payment_related_invoice', + }, + required: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_payment_related_invoice', + }, + }, + { + id: 'paymentProcessRequestId', + title: 'Payment Process Request ID', + type: 'short-input', + placeholder: 'Oracle PaymentProcessRequestId', + condition: { + field: 'operation', + value: 'oracle_fusion_financials_get_payment_process_request', + }, + required: { + field: 'operation', + value: 'oracle_fusion_financials_get_payment_process_request', + }, + }, + { + id: 'holdId', + title: 'Invoice Hold ID', + type: 'short-input', + placeholder: 'Oracle HoldId', + condition: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_invoice_hold', + }, + required: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_invoice_hold', + }, + }, + { + id: 'termsId', + title: 'Payment Term ID', + type: 'short-input', + placeholder: 'Oracle termsId', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_payables_payment_term', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_get_payables_payment_term_line', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_payables_payment_term', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_get_payables_payment_term_line', + ], + }, + }, + { + id: 'paymentTermLineUniqId', + title: 'Payment Term Line Key', + type: 'short-input', + placeholder: 'Opaque payment-term-line key returned by Oracle', + condition: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_payment_term_line', + }, + required: { + field: 'operation', + value: 'oracle_fusion_financials_get_payables_payment_term_line', + }, + }, + { + id: 'receivablesInvoiceIdSelector', + title: 'Receivables Invoice', + type: 'project-selector', + canonicalParamId: 'receivablesInvoiceId', + serviceId: 'oracle_fusion_financials', + selectorKey: 'oracleFusionFinancials.receivablesInvoices', + dependsOn: ['credential'], + mode: 'basic', + placeholder: 'Select receivables invoice', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_invoice', + 'oracle_fusion_financials_update_receivables_invoice', + 'oracle_fusion_financials_delete_receivables_invoice', + 'oracle_fusion_financials_approve_receivables_invoice', + 'oracle_fusion_financials_rework_receivables_invoice', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_get_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_get_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_get_receivables_invoice_installment', + 'oracle_fusion_financials_update_receivables_invoice_installment', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_invoice', + 'oracle_fusion_financials_update_receivables_invoice', + 'oracle_fusion_financials_delete_receivables_invoice', + 'oracle_fusion_financials_approve_receivables_invoice', + 'oracle_fusion_financials_rework_receivables_invoice', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_get_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_get_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_get_receivables_invoice_installment', + 'oracle_fusion_financials_update_receivables_invoice_installment', + ], + }, + }, + { + id: 'receivablesInvoiceIdManual', + canonicalParamId: 'receivablesInvoiceId', + mode: 'advanced', + title: 'Receivables Invoice Id', + type: 'short-input', + placeholder: 'Receivables Invoice Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_invoice', + 'oracle_fusion_financials_update_receivables_invoice', + 'oracle_fusion_financials_delete_receivables_invoice', + 'oracle_fusion_financials_approve_receivables_invoice', + 'oracle_fusion_financials_rework_receivables_invoice', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_get_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_get_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_get_receivables_invoice_installment', + 'oracle_fusion_financials_update_receivables_invoice_installment', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_invoice', + 'oracle_fusion_financials_update_receivables_invoice', + 'oracle_fusion_financials_delete_receivables_invoice', + 'oracle_fusion_financials_approve_receivables_invoice', + 'oracle_fusion_financials_rework_receivables_invoice', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_get_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_get_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_get_receivables_invoice_installment', + 'oracle_fusion_financials_update_receivables_invoice_installment', + ], + }, + }, + { + id: 'businessUnit', + title: 'Business Unit', + type: 'short-input', + placeholder: 'Business Unit', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + 'oracle_fusion_financials_create_receivables_receipt', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_credit_memo', + 'oracle_fusion_financials_create_receivables_receipt', + ], + }, + }, + { + id: 'transactionNumber', + title: 'Transaction Number', + type: 'short-input', + placeholder: 'Transaction Number', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + ], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo'], + }, + }, + { + id: 'transactionDate', + title: 'Transaction Date', + type: 'short-input', + placeholder: 'Transaction Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_update_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + ], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo'], + }, + }, + { + id: 'accountingDate', + title: 'Accounting Date', + type: 'short-input', + placeholder: 'Accounting Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'billToCustomerName', + title: 'Bill To Customer Name', + type: 'short-input', + placeholder: 'Bill To Customer Name', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + ], + }, + }, + { + id: 'billToCustomerNumber', + title: 'Bill To Customer Number', + type: 'short-input', + placeholder: 'Bill To Customer Number', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + ], + }, + }, + { + id: 'billToSite', + title: 'Bill To Site', + type: 'short-input', + placeholder: 'Bill To Site', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + ], + }, + }, + { + id: 'invoiceCurrencyCode', + title: 'Invoice Currency Code', + type: 'short-input', + placeholder: 'Invoice Currency Code', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_invoice'], + }, + }, + { + id: 'invoiceStatus', + title: 'Invoice Status', + type: 'short-input', + placeholder: 'Invoice Status', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_update_receivables_invoice', + ], + }, + }, + { + id: 'paymentTerms', + title: 'Payment Terms', + type: 'short-input', + placeholder: 'Payment Terms', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_update_receivables_invoice', + ], + }, + }, + { + id: 'transactionSource', + title: 'Transaction Source', + type: 'short-input', + placeholder: 'Transaction Source', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + ], + }, + }, + { + id: 'transactionType', + title: 'Transaction Type', + type: 'short-input', + placeholder: 'Transaction Type', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + 'oracle_fusion_financials_update_receivables_credit_memo', + ], + }, + }, + { + id: 'comments', + title: 'Comments', + type: 'short-input', + placeholder: 'Comments', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'purchaseOrder', + title: 'Purchase Order', + type: 'short-input', + placeholder: 'Purchase Order', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_invoice'], + }, + }, + { + id: 'conversionRateType', + title: 'Conversion Rate Type', + type: 'short-input', + placeholder: 'Conversion Rate Type', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'conversionRate', + title: 'Conversion Rate', + type: 'short-input', + placeholder: 'Conversion Rate', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'conversionDate', + title: 'Conversion Date', + type: 'short-input', + placeholder: 'Conversion Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'lines', + title: 'Lines', + type: 'code', + language: 'json', + placeholder: + 'Typed lines to create with the receivables invoice (at most 1000). Use Oracle attribute names; exact integer attributes must be strings.', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + ], + }, + }, + { + id: 'distributions', + title: 'Distributions', + type: 'code', + language: 'json', + placeholder: + 'Typed distributions to create with the receivables invoice (at most 1000). Use Oracle attribute names; exact integer attributes must be strings.', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_create_receivables_credit_memo', + ], + }, + }, + { + id: 'comment', + title: 'Comment', + type: 'short-input', + placeholder: 'Note recorded in the approval audit history', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_approve_receivables_invoice', + 'oracle_fusion_financials_rework_receivables_invoice', + 'oracle_fusion_financials_approve_receivables_credit_memo', + 'oracle_fusion_financials_rework_receivables_credit_memo', + ], + }, + }, + { + id: 'receivablesInvoiceLineId', + title: 'Receivables Invoice Line Id', + type: 'short-input', + placeholder: 'Receivables Invoice Line Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_invoice_line'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_invoice_line'], + }, + }, + { + id: 'lineNumber', + title: 'Line Number', + type: 'short-input', + placeholder: 'Line Number', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + ], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo_line'], + }, + }, + { + id: 'description', + title: 'Description', + type: 'short-input', + placeholder: 'Description', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'itemNumber', + title: 'Item Number', + type: 'short-input', + placeholder: 'Item Number', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + ], + }, + }, + { + id: 'memoLine', + title: 'Memo Line', + type: 'short-input', + placeholder: 'Memo Line', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + ], + }, + }, + { + id: 'lineAmount', + title: 'Line Amount', + type: 'short-input', + placeholder: 'Line Amount', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_invoice_line'], + }, + }, + { + id: 'quantity', + title: 'Quantity', + type: 'short-input', + placeholder: 'Quantity', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_invoice_line'], + }, + }, + { + id: 'unitSellingPrice', + title: 'Unit Selling Price', + type: 'short-input', + placeholder: 'Unit Selling Price', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + ], + }, + }, + { + id: 'unitOfMeasure', + title: 'Unit Of Measure', + type: 'short-input', + placeholder: 'Unit Of Measure', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + ], + }, + }, + { + id: 'accountingRule', + title: 'Accounting Rule', + type: 'short-input', + placeholder: 'Accounting Rule', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_invoice_line'], + }, + }, + { + id: 'accountingRuleDuration', + title: 'Accounting Rule Duration', + type: 'short-input', + placeholder: 'Accounting Rule Duration as an exact decimal string', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_invoice_line'], + }, + }, + { + id: 'ruleStartDate', + title: 'Rule Start Date', + type: 'short-input', + placeholder: 'Rule Start Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_invoice_line'], + }, + }, + { + id: 'ruleEndDate', + title: 'Rule End Date', + type: 'short-input', + placeholder: 'Rule End Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_invoice_line'], + }, + }, + { + id: 'taxClassificationCode', + title: 'Tax Classification Code', + type: 'short-input', + placeholder: 'Tax Classification Code', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + ], + }, + }, + { + id: 'salesOrder', + title: 'Sales Order', + type: 'short-input', + placeholder: 'Sales Order', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_invoice_line'], + }, + }, + { + id: 'receivablesInvoiceDistributionId', + title: 'Receivables Invoice Distribution Id', + type: 'short-input', + placeholder: 'Receivables Invoice Distribution Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_invoice_distribution'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_invoice_distribution'], + }, + }, + { + id: 'accountClass', + title: 'Account Class', + type: 'short-input', + placeholder: 'Account Class', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + ], + }, + }, + { + id: 'accountCombination', + title: 'Account Combination', + type: 'short-input', + placeholder: 'Account Combination', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + ], + }, + }, + { + id: 'accountedAmount', + title: 'Accounted Amount', + type: 'short-input', + placeholder: 'Accounted Amount', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + ], + }, + }, + { + id: 'amount', + title: 'Amount', + type: 'short-input', + placeholder: 'Amount', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_receipt'], + }, + }, + { + id: 'invoiceLineNumber', + title: 'Invoice Line Number', + type: 'short-input', + placeholder: 'Invoice Line Number', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_invoice_distribution'], + }, + }, + { + id: 'detailedTaxLineNumber', + title: 'Detailed Tax Line Number', + type: 'short-input', + placeholder: 'Detailed Tax Line Number', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + ], + }, + }, + { + id: 'percent', + title: 'Percent', + type: 'short-input', + placeholder: 'Percent', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + ], + }, + }, + { + id: 'receivablesInvoiceInstallmentId', + title: 'Receivables Invoice Installment Id', + type: 'short-input', + placeholder: 'Receivables Invoice Installment Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_invoice_installment', + 'oracle_fusion_financials_update_receivables_invoice_installment', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_invoice_installment', + 'oracle_fusion_financials_update_receivables_invoice_installment', + ], + }, + }, + { + id: 'installmentDueDate', + title: 'Installment Due Date', + type: 'short-input', + placeholder: 'Installment Due Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_update_receivables_invoice_installment'], + }, + }, + { + id: 'originalAmount', + title: 'Original Amount', + type: 'short-input', + placeholder: 'Original Amount', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_update_receivables_invoice_installment'], + }, + }, + { + id: 'receivablesCreditMemoIdSelector', + title: 'Receivables Credit Memo', + type: 'project-selector', + canonicalParamId: 'receivablesCreditMemoId', + serviceId: 'oracle_fusion_financials', + selectorKey: 'oracleFusionFinancials.receivablesCreditMemos', + dependsOn: ['credential'], + mode: 'basic', + placeholder: 'Select receivables credit memo', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_credit_memo', + 'oracle_fusion_financials_update_receivables_credit_memo', + 'oracle_fusion_financials_approve_receivables_credit_memo', + 'oracle_fusion_financials_rework_receivables_credit_memo', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_get_receivables_credit_memo_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_get_receivables_credit_memo_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_credit_memo', + 'oracle_fusion_financials_update_receivables_credit_memo', + 'oracle_fusion_financials_approve_receivables_credit_memo', + 'oracle_fusion_financials_rework_receivables_credit_memo', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_get_receivables_credit_memo_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_get_receivables_credit_memo_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + ], + }, + }, + { + id: 'receivablesCreditMemoIdManual', + canonicalParamId: 'receivablesCreditMemoId', + mode: 'advanced', + title: 'Receivables Credit Memo Id', + type: 'short-input', + placeholder: 'Receivables Credit Memo Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_credit_memo', + 'oracle_fusion_financials_update_receivables_credit_memo', + 'oracle_fusion_financials_approve_receivables_credit_memo', + 'oracle_fusion_financials_rework_receivables_credit_memo', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_get_receivables_credit_memo_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_get_receivables_credit_memo_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_credit_memo', + 'oracle_fusion_financials_update_receivables_credit_memo', + 'oracle_fusion_financials_approve_receivables_credit_memo', + 'oracle_fusion_financials_rework_receivables_credit_memo', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_get_receivables_credit_memo_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_get_receivables_credit_memo_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + ], + }, + }, + { + id: 'creditMemoCurrency', + title: 'Credit Memo Currency', + type: 'short-input', + placeholder: 'Credit Memo Currency', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo'], + }, + }, + { + id: 'creditMemoStatus', + title: 'Credit Memo Status', + type: 'short-input', + placeholder: 'Credit Memo Status', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_credit_memo', + 'oracle_fusion_financials_update_receivables_credit_memo', + ], + }, + }, + { + id: 'creditReason', + title: 'Credit Reason', + type: 'short-input', + placeholder: 'Credit Reason', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo'], + }, + }, + { + id: 'freightCreditAmount', + title: 'Freight Credit Amount', + type: 'short-input', + placeholder: 'Freight Credit Amount', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo'], + }, + }, + { + id: 'creditMemoComments', + title: 'Credit Memo Comments', + type: 'short-input', + placeholder: 'Credit Memo Comments', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo'], + }, + }, + { + id: 'conversionRateDate', + title: 'Conversion Rate Date', + type: 'short-input', + placeholder: 'Conversion Rate Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo'], + }, + }, + { + id: 'allowCompletion', + title: 'Allow Completion', + type: 'short-input', + placeholder: 'Allow Completion', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_update_receivables_credit_memo'], + }, + }, + { + id: 'controlCompletionReason', + title: 'Control Completion Reason', + type: 'short-input', + placeholder: 'Control Completion Reason', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_update_receivables_credit_memo'], + }, + }, + { + id: 'recipientEmail', + title: 'Recipient Email', + type: 'short-input', + placeholder: 'Recipient Email', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_update_receivables_credit_memo'], + }, + }, + { + id: 'receivablesCreditMemoLineId', + title: 'Receivables Credit Memo Line Id', + type: 'short-input', + placeholder: 'Receivables Credit Memo Line Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_credit_memo_line'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_credit_memo_line'], + }, + }, + { + id: 'lineDescription', + title: 'Line Description', + type: 'short-input', + placeholder: 'Line Description', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo_line'], + }, + }, + { + id: 'lineAmountCredit', + title: 'Line Amount Credit', + type: 'short-input', + placeholder: 'Line Amount Credit', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo_line'], + }, + }, + { + id: 'lineQuantityCredit', + title: 'Line Quantity Credit', + type: 'short-input', + placeholder: 'Line Quantity Credit', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo_line'], + }, + }, + { + id: 'lineCreditReason', + title: 'Line Credit Reason', + type: 'short-input', + placeholder: 'Line Credit Reason', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo_line'], + }, + }, + { + id: 'lineFreightCreditAmount', + title: 'Line Freight Credit Amount', + type: 'short-input', + placeholder: 'Line Freight Credit Amount', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo_line'], + }, + }, + { + id: 'receivablesCreditMemoDistributionId', + title: 'Receivables Credit Memo Distribution Id', + type: 'short-input', + placeholder: 'Receivables Credit Memo Distribution Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_credit_memo_distribution'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_credit_memo_distribution'], + }, + }, + { + id: 'creditMemoLineNumber', + title: 'Credit Memo Line Number', + type: 'short-input', + placeholder: 'Credit Memo Line Number', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_credit_memo_distribution'], + }, + }, + { + id: 'receivablesReceiptIdSelector', + title: 'Receivables Receipt', + type: 'project-selector', + canonicalParamId: 'receivablesReceiptId', + serviceId: 'oracle_fusion_financials', + selectorKey: 'oracleFusionFinancials.receivablesReceipts', + dependsOn: ['credential'], + mode: 'basic', + placeholder: 'Select receivables receipt', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + 'oracle_fusion_financials_delete_receivables_receipt', + 'oracle_fusion_financials_apply_receivables_receipt', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + 'oracle_fusion_financials_delete_receivables_receipt', + 'oracle_fusion_financials_apply_receivables_receipt', + ], + }, + }, + { + id: 'receivablesReceiptIdManual', + canonicalParamId: 'receivablesReceiptId', + mode: 'advanced', + title: 'Receivables Receipt Id', + type: 'short-input', + placeholder: 'Receivables Receipt Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + 'oracle_fusion_financials_delete_receivables_receipt', + 'oracle_fusion_financials_apply_receivables_receipt', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + 'oracle_fusion_financials_delete_receivables_receipt', + 'oracle_fusion_financials_apply_receivables_receipt', + ], + }, + }, + { + id: 'currency', + title: 'Currency', + type: 'short-input', + placeholder: 'Currency', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_receipt'], + }, + }, + { + id: 'receiptDate', + title: 'Receipt Date', + type: 'short-input', + placeholder: 'Receipt Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_receipt'], + }, + }, + { + id: 'receiptMethod', + title: 'Receipt Method', + type: 'short-input', + placeholder: 'Receipt Method', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_create_receivables_receipt'], + }, + }, + { + id: 'receiptNumber', + title: 'Receipt Number', + type: 'short-input', + placeholder: 'Receipt Number', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'customerAccountNumber', + title: 'Customer Account Number', + type: 'short-input', + placeholder: 'Customer Account Number', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'customerName', + title: 'Customer Name', + type: 'short-input', + placeholder: 'Customer Name', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'customerSite', + title: 'Customer Site', + type: 'short-input', + placeholder: 'Customer Site', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'maturityDate', + title: 'Maturity Date', + type: 'short-input', + placeholder: 'Maturity Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'structuredPaymentReference', + title: 'Structured Payment Reference', + type: 'short-input', + placeholder: 'Structured Payment Reference', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + ], + }, + }, + { + id: 'appliedPaymentScheduleId', + title: 'Applied Payment Schedule Id', + type: 'short-input', + placeholder: 'Invoice installment identifier as an exact decimal string', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_apply_receivables_receipt'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_apply_receivables_receipt'], + }, + }, + { + id: 'amountApplied', + title: 'Amount Applied', + type: 'short-input', + placeholder: 'Amount to apply; omitted means the full open transaction balance', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_apply_receivables_receipt'], + }, + }, + { + id: 'calledFrom', + title: 'Called From', + type: 'short-input', + placeholder: 'Caller or process name recorded for audit', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_apply_receivables_receipt'], + }, + }, + { + id: 'receivablesCustomerAccountIdSelector', + title: 'Receivables Customer Account', + type: 'project-selector', + canonicalParamId: 'receivablesCustomerAccountId', + serviceId: 'oracle_fusion_financials', + selectorKey: 'oracleFusionFinancials.receivablesCustomerAccounts', + dependsOn: ['credential'], + mode: 'basic', + placeholder: 'Select receivables customer account', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_customer_account', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_get_receivables_receipt_application', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_get_receivables_credit_memo_application', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_get_receivables_transaction_payment_schedule', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_get_receivables_transaction_adjustment', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_customer_account', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_get_receivables_receipt_application', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_get_receivables_credit_memo_application', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_get_receivables_transaction_payment_schedule', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_get_receivables_transaction_adjustment', + ], + }, + }, + { + id: 'receivablesCustomerAccountIdManual', + canonicalParamId: 'receivablesCustomerAccountId', + mode: 'advanced', + title: 'Receivables Customer Account Id', + type: 'short-input', + placeholder: 'Receivables Customer Account Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_customer_account', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_get_receivables_receipt_application', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_get_receivables_credit_memo_application', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_get_receivables_transaction_payment_schedule', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_get_receivables_transaction_adjustment', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_receivables_customer_account', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_get_receivables_receipt_application', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_get_receivables_credit_memo_application', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_get_receivables_transaction_payment_schedule', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_get_receivables_transaction_adjustment', + ], + }, + }, + { + id: 'receivablesCustomerAccountSiteIdSelector', + title: 'Receivables Customer Account Site', + type: 'project-selector', + canonicalParamId: 'receivablesCustomerAccountSiteId', + serviceId: 'oracle_fusion_financials', + selectorKey: 'oracleFusionFinancials.receivablesCustomerAccountSites', + dependsOn: ['credential'], + mode: 'basic', + placeholder: 'Select receivables customer account site', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_customer_account_site'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_customer_account_site'], + }, + }, + { + id: 'receivablesCustomerAccountSiteIdManual', + canonicalParamId: 'receivablesCustomerAccountSiteId', + mode: 'advanced', + title: 'Receivables Customer Account Site Id', + type: 'short-input', + placeholder: 'Receivables Customer Account Site Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_customer_account_site'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_customer_account_site'], + }, + }, + { + id: 'receivablesReceiptApplicationId', + title: 'Receivables Receipt Application Id', + type: 'short-input', + placeholder: 'Receivables Receipt Application Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_receipt_application'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_receipt_application'], + }, + }, + { + id: 'receivablesCreditMemoApplicationId', + title: 'Receivables Credit Memo Application Id', + type: 'short-input', + placeholder: 'Receivables Credit Memo Application Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_credit_memo_application'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_credit_memo_application'], + }, + }, + { + id: 'receivablesTransactionPaymentScheduleId', + title: 'Receivables Transaction Payment Schedule Id', + type: 'short-input', + placeholder: 'Receivables Transaction Payment Schedule Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_transaction_payment_schedule'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_transaction_payment_schedule'], + }, + }, + { + id: 'receivablesTransactionAdjustmentId', + title: 'Receivables Transaction Adjustment Id', + type: 'short-input', + placeholder: 'Receivables Transaction Adjustment Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_transaction_adjustment'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_receivables_transaction_adjustment'], + }, + }, + { + id: 'expenseReportUniqIdSelector', + title: 'Expense Report', + type: 'project-selector', + canonicalParamId: 'expenseReportUniqId', + serviceId: 'oracle_fusion_financials', + selectorKey: 'oracleFusionFinancials.expenseReports', + dependsOn: ['credential'], + mode: 'basic', + placeholder: 'Select expense report', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_expense_report', + 'oracle_fusion_financials_update_expense_report', + 'oracle_fusion_financials_submit_expense_report', + 'oracle_fusion_financials_remove_expense_report_cash_advance', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_get_expense_line', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_get_expense_report_processing_detail', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_get_expense_report_payment', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_get_expense_line_error', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_expense_report', + 'oracle_fusion_financials_update_expense_report', + 'oracle_fusion_financials_submit_expense_report', + 'oracle_fusion_financials_remove_expense_report_cash_advance', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_get_expense_line', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_get_expense_report_processing_detail', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_get_expense_report_payment', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_get_expense_line_error', + ], + }, + }, + { + id: 'expenseReportUniqIdManual', + canonicalParamId: 'expenseReportUniqId', + mode: 'advanced', + title: 'Expense Report Uniq Id', + type: 'short-input', + placeholder: 'Expense Report Uniq Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_expense_report', + 'oracle_fusion_financials_update_expense_report', + 'oracle_fusion_financials_submit_expense_report', + 'oracle_fusion_financials_remove_expense_report_cash_advance', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_get_expense_line', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_get_expense_report_processing_detail', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_get_expense_report_payment', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_get_expense_line_error', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_expense_report', + 'oracle_fusion_financials_update_expense_report', + 'oracle_fusion_financials_submit_expense_report', + 'oracle_fusion_financials_remove_expense_report_cash_advance', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_get_expense_line', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_get_expense_report_processing_detail', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_get_expense_report_payment', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_get_expense_line_error', + ], + }, + }, + { + id: 'orgId', + title: 'Org Id', + type: 'short-input', + placeholder: 'Org Id as an exact integer string', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + ], + }, + }, + { + id: 'personId', + title: 'Person Id', + type: 'short-input', + placeholder: 'Person Id as an exact integer string', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_create_expense_line'], + }, + }, + { + id: 'assignmentId', + title: 'Assignment Id', + type: 'short-input', + placeholder: 'Assignment Id as an exact integer string', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_create_expense_line'], + }, + }, + { + id: 'preparerId', + title: 'Preparer Id', + type: 'short-input', + placeholder: 'Preparer Id as an exact integer string', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_expense_report'], + }, + }, + { + id: 'purpose', + title: 'Purpose', + type: 'short-input', + placeholder: 'Purpose', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + ], + }, + }, + { + id: 'expenseReportNumber', + title: 'Expense Report Number', + type: 'short-input', + placeholder: 'Expense Report Number', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_create_expense_report'], + }, + }, + { + id: 'expenseReportDate', + title: 'Expense Report Date', + type: 'short-input', + placeholder: 'Expense Report Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + ], + }, + }, + { + id: 'reimbursementCurrencyCode', + title: 'Reimbursement Currency Code', + type: 'short-input', + placeholder: 'Reimbursement Currency Code', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'exchangeRateType', + title: 'Exchange Rate Type', + type: 'short-input', + placeholder: 'Exchange Rate Type', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + ], + }, + }, + { + id: 'paymentMethodCode', + title: 'Payment Method Code', + type: 'short-input', + placeholder: 'Payment Method Code', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + ], + }, + }, + { + id: 'overrideApproverId', + title: 'Override Approver Id', + type: 'short-input', + placeholder: 'Override Approver Id as an exact integer string', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + ], + }, + }, + { + id: 'unappliedAdvancesJust', + title: 'Unapplied Advances Just', + type: 'short-input', + placeholder: 'Unapplied Advances Just', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + ], + }, + }, + { + id: 'unappliedCashAdvReason', + title: 'Unapplied Cash Adv Reason', + type: 'short-input', + placeholder: 'Unapplied Cash Adv Reason', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + ], + }, + }, + { + id: 'cashAdvanceNumber', + title: 'Cash Advance Number', + type: 'short-input', + placeholder: 'Number of the specific cash advance to remove', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_remove_expense_report_cash_advance'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_remove_expense_report_cash_advance'], + }, + }, + { + id: 'expenseLineUniqId', + title: 'Expense Line Uniq Id', + type: 'short-input', + placeholder: 'Expense Line Uniq Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_get_expense_line_error', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_get_expense_line_error', + ], + }, + }, + { + id: 'ticketClass', + title: 'Ticket Class', + type: 'short-input', + placeholder: 'Ticket Class', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + ], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_create_expense_line'], + }, + }, + { + id: 'expenseTypeId', + title: 'Expense Type Id', + type: 'short-input', + placeholder: 'Expense Type Id as an exact integer string', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'expenseTemplateId', + title: 'Expense Template Id', + type: 'short-input', + placeholder: 'Expense Template Id as an exact integer string', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'justification', + title: 'Justification', + type: 'short-input', + placeholder: 'Justification', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'receiptAmount', + title: 'Receipt Amount', + type: 'short-input', + placeholder: 'Receipt Amount', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'receiptCurrencyCode', + title: 'Receipt Currency Code', + type: 'short-input', + placeholder: 'Receipt Currency Code', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'merchantName', + title: 'Merchant Name', + type: 'short-input', + placeholder: 'Merchant Name', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'startDate', + title: 'Start Date', + type: 'short-input', + placeholder: 'Start Date (YYYY-MM-DD)', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'endDate', + title: 'End Date', + type: 'short-input', + placeholder: 'End Date', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'exchangeRate', + title: 'Exchange Rate', + type: 'short-input', + placeholder: 'Exchange Rate', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'itemizationParentExpenseId', + title: 'Itemization Parent Expense Id', + type: 'short-input', + placeholder: 'Itemization Parent Expense Id as an exact integer string', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'receiptMissingFlag', + title: 'Receipt Missing Flag', + type: 'dropdown', + options: [ + { label: 'Not set', id: '' }, + { label: 'Yes', id: 'true' }, + { label: 'No', id: 'false' }, + ], + placeholder: 'Receipt Missing Flag', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'location', + title: 'Location', + type: 'short-input', + placeholder: 'Location', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'countryCode', + title: 'Country Code', + type: 'short-input', + placeholder: 'Country Code', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + ], + }, + }, + { + id: 'expenseCategoryCode', + title: 'Expense Category Code', + type: 'short-input', + placeholder: 'Expense Category Code', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'expenseSource', + title: 'Expense Source', + type: 'short-input', + placeholder: 'Expense Source', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + ], + }, + }, + { + id: 'numberOfDays', + title: 'Number Of Days', + type: 'short-input', + placeholder: 'Number Of Days', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'numberOfAttendees', + title: 'Number Of Attendees', + type: 'short-input', + placeholder: 'Number Of Attendees', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'tripDistance', + title: 'Trip Distance', + type: 'short-input', + placeholder: 'Trip Distance', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + ], + }, + }, + { + id: 'distanceUnitCode', + title: 'Distance Unit Code', + type: 'short-input', + placeholder: 'Distance Unit Code', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + ], + }, + }, + { + id: 'ticketClassCode', + title: 'Ticket Class Code', + type: 'short-input', + placeholder: 'Ticket Class Code', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + ], + }, + }, + { + id: 'ticketNumber', + title: 'Ticket Number', + type: 'short-input', + placeholder: 'Ticket Number', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + ], + }, + }, + { + id: 'expenseDistributionId', + title: 'Expense Distribution Id', + type: 'short-input', + placeholder: 'Expense Distribution Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + ], + }, + }, + { + id: 'expenseId', + title: 'Expense Id', + type: 'short-input', + placeholder: 'Expense Id as an exact integer string', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + ], + }, + }, + { + id: 'codeCombinationId', + title: 'Code Combination Id', + type: 'short-input', + placeholder: 'Code Combination Id as an exact integer string', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + ], + }, + }, + { + id: 'company', + title: 'Company', + type: 'short-input', + placeholder: 'Company', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + ], + }, + }, + { + id: 'costCenter', + title: 'Cost Center', + type: 'short-input', + placeholder: 'Cost Center', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + ], + }, + }, + { + id: 'reimbursableAmount', + title: 'Reimbursable Amount', + type: 'short-input', + placeholder: 'Reimbursable Amount', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + ], + }, + }, + { + id: 'expenseItemizationId', + title: 'Expense Itemization Id', + type: 'short-input', + placeholder: 'Expense Itemization Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + ], + }, + }, + { + id: 'expenseReportProcessingDetailUniqId', + title: 'Expense Report Processing Detail Uniq Id', + type: 'short-input', + placeholder: 'Expense Report Processing Detail Uniq Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_expense_report_processing_detail'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_expense_report_processing_detail'], + }, + }, + { + id: 'expenseReportPaymentId', + title: 'Expense Report Payment Id', + type: 'short-input', + placeholder: 'Expense Report Payment Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_expense_report_payment'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_expense_report_payment'], + }, + }, + { + id: 'expenseLineErrorSequence', + title: 'Expense Line Error Sequence', + type: 'short-input', + placeholder: 'Expense Line Error Sequence', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_expense_line_error'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_expense_line_error'], + }, + }, + { + id: 'glLedgerIdSelector', + title: 'Gl Ledger', + type: 'project-selector', + canonicalParamId: 'glLedgerId', + serviceId: 'oracle_fusion_financials', + selectorKey: 'oracleFusionFinancials.glLedgers', + dependsOn: ['credential'], + mode: 'basic', + placeholder: 'Select gl ledger', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_gl_ledger'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_gl_ledger'], + }, + }, + { + id: 'glLedgerIdManual', + canonicalParamId: 'glLedgerId', + mode: 'advanced', + title: 'Gl Ledger Id', + type: 'short-input', + placeholder: 'Gl Ledger Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_gl_ledger'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_gl_ledger'], + }, + }, + { + id: 'glJournalBatchIdSelector', + title: 'Gl Journal Batch', + type: 'project-selector', + canonicalParamId: 'glJournalBatchId', + serviceId: 'oracle_fusion_financials', + selectorKey: 'oracleFusionFinancials.glJournalBatches', + dependsOn: ['credential'], + mode: 'basic', + placeholder: 'Select gl journal batch', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_gl_journal_batch', + 'oracle_fusion_financials_delete_gl_journal_batch', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_get_gl_journal_header', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_get_gl_journal_line', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_get_gl_journal_error', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_get_gl_journal_action_log', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_gl_journal_batch', + 'oracle_fusion_financials_delete_gl_journal_batch', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_get_gl_journal_header', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_get_gl_journal_line', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_get_gl_journal_error', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_get_gl_journal_action_log', + ], + }, + }, + { + id: 'glJournalBatchIdManual', + canonicalParamId: 'glJournalBatchId', + mode: 'advanced', + title: 'Gl Journal Batch Id', + type: 'short-input', + placeholder: 'Gl Journal Batch Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_gl_journal_batch', + 'oracle_fusion_financials_delete_gl_journal_batch', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_get_gl_journal_header', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_get_gl_journal_line', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_get_gl_journal_error', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_get_gl_journal_action_log', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_gl_journal_batch', + 'oracle_fusion_financials_delete_gl_journal_batch', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_get_gl_journal_header', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_get_gl_journal_line', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_get_gl_journal_error', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_get_gl_journal_action_log', + ], + }, + }, + { + id: 'glJournalHeaderUniqId', + title: 'Gl Journal Header Uniq Id', + type: 'short-input', + placeholder: 'Gl Journal Header Uniq Id', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_gl_journal_header', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_get_gl_journal_line', + ], + }, + required: { + field: 'operation', + value: [ + 'oracle_fusion_financials_get_gl_journal_header', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_get_gl_journal_line', + ], + }, + }, + { + id: 'glJournalLineUniqId', + title: 'Gl Journal Line Uniq Id', + type: 'short-input', + placeholder: 'Gl Journal Line Uniq Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_gl_journal_line'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_gl_journal_line'], + }, + }, + { + id: 'glJournalErrorUniqId', + title: 'Gl Journal Error Uniq Id', + type: 'short-input', + placeholder: 'Gl Journal Error Uniq Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_gl_journal_error'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_gl_journal_error'], + }, + }, + { + id: 'glJournalActionLogUniqId', + title: 'Gl Journal Action Log Uniq Id', + type: 'short-input', + placeholder: 'Gl Journal Action Log Uniq Id', + condition: { + field: 'operation', + value: ['oracle_fusion_financials_get_gl_journal_action_log'], + }, + required: { + field: 'operation', + value: ['oracle_fusion_financials_get_gl_journal_action_log'], + }, + }, + { + id: 'q', + title: 'Filter', + type: 'long-input', + placeholder: 'Oracle REST Framework q expression', + wandConfig: { + enabled: true, + prompt: `Generate an Oracle Fusion Cloud Financials REST Framework q filter from the user's request. + +Rules: +- Use only queryable attributes documented by Oracle for the selected Financials collection +- Preserve Oracle attribute capitalization +- Follow Oracle's expression syntax, such as AmountPaid=0;InvoiceDate>=2026-01-01 +- Separate multiple expressions with semicolons +- Do not include a leading q=, URL encoding, fields, expand, or explanatory text + +Return ONLY the q filter expression - no explanations or extra text.`, + placeholder: 'Describe the Financials records to filter', + }, + mode: 'advanced', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_list_payables_invoices', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_list_payables_payments', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_list_payment_process_requests', + 'oracle_fusion_financials_list_payables_invoice_holds', + 'oracle_fusion_financials_list_payables_payment_terms', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_list_receivables_invoices', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_list_receivables_credit_memos', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_list_receivables_receipts', + 'oracle_fusion_financials_list_receivables_customer_accounts', + 'oracle_fusion_financials_list_receivables_customer_account_sites', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_list_expense_reports', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_list_gl_ledgers', + 'oracle_fusion_financials_list_gl_journal_batches', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_list_gl_balances', + ], + }, + }, + { + id: 'finder', + title: 'Finder', + type: 'long-input', + placeholder: 'FinderName;Variable=Value', + wandConfig: { + enabled: true, + prompt: `Generate an Oracle Fusion Cloud Financials predefined finder expression from the user's request. + +Use only these Oracle-documented finders for the selected operation: +- Invoices: PrimaryKey;InvoiceId= +- Invoice lines: PrimaryKey;LineNumber= +- Invoice installments: PrimaryKey;InstallmentNumber= +- Payments: PaidInvoicesFinder;InvoiceNumber= or PrimaryKey;CheckId= +- Payment-related invoices: PrimaryKey;InvoicePaymentId= + +For every other collection, use a finder only when the selected endpoint's Oracle documentation explicitly lists its name and variables. + +Use exactly one finder and its documented variable. Do not invent finder names or variables, include a leading finder=, URL-encode the value, or add explanatory text. + +Return ONLY the finder expression - no explanations or extra text.`, + placeholder: 'Describe the documented finder and value to use', + }, + mode: 'advanced', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_list_payables_invoices', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_list_payables_payments', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_list_payment_process_requests', + 'oracle_fusion_financials_list_payables_invoice_holds', + 'oracle_fusion_financials_list_payables_payment_terms', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_list_receivables_invoices', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_list_receivables_credit_memos', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_list_receivables_receipts', + 'oracle_fusion_financials_list_receivables_customer_accounts', + 'oracle_fusion_financials_list_receivables_customer_account_sites', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_list_expense_reports', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_list_gl_ledgers', + 'oracle_fusion_financials_list_gl_journal_batches', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_list_gl_balances', + ], + }, + }, + { + id: 'orderBy', + title: 'Order By', + type: 'short-input', + placeholder: 'InvoiceDate:desc', + mode: 'advanced', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_list_payables_invoices', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_list_payables_payments', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_list_payment_process_requests', + 'oracle_fusion_financials_list_payables_invoice_holds', + 'oracle_fusion_financials_list_payables_payment_terms', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_list_receivables_invoices', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_list_receivables_credit_memos', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_list_receivables_receipts', + 'oracle_fusion_financials_list_receivables_customer_accounts', + 'oracle_fusion_financials_list_receivables_customer_account_sites', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_list_expense_reports', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_list_gl_ledgers', + 'oracle_fusion_financials_list_gl_journal_batches', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_list_gl_balances', + ], + }, + }, + { + id: 'effectiveDate', + title: 'Effective Date', + type: 'short-input', + placeholder: 'YYYY-MM-DD', + mode: 'advanced', + condition: { + field: 'operation', + value: 'oracle_fusion_financials_list_payables_invoices', + }, + }, + { + id: 'limit', + title: 'Limit', + type: 'short-input', + placeholder: '50 (maximum 100)', + mode: 'advanced', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_list_payables_invoices', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_list_payables_payments', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_list_payment_process_requests', + 'oracle_fusion_financials_list_payables_invoice_holds', + 'oracle_fusion_financials_list_payables_payment_terms', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_list_receivables_invoices', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_list_receivables_credit_memos', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_list_receivables_receipts', + 'oracle_fusion_financials_list_receivables_customer_accounts', + 'oracle_fusion_financials_list_receivables_customer_account_sites', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_list_expense_reports', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_list_gl_ledgers', + 'oracle_fusion_financials_list_gl_journal_batches', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_list_gl_balances', + ], + }, + }, + { + id: 'offset', + title: 'Offset', + type: 'short-input', + placeholder: '0', + mode: 'advanced', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_list_payables_invoices', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_list_payables_payments', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_list_payment_process_requests', + 'oracle_fusion_financials_list_payables_invoice_holds', + 'oracle_fusion_financials_list_payables_payment_terms', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_list_receivables_invoices', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_list_receivables_credit_memos', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_list_receivables_receipts', + 'oracle_fusion_financials_list_receivables_customer_accounts', + 'oracle_fusion_financials_list_receivables_customer_account_sites', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_list_expense_reports', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_list_gl_ledgers', + 'oracle_fusion_financials_list_gl_journal_batches', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_list_gl_balances', + ], + }, + }, + { + id: 'totalResults', + title: 'Include Total Results', + type: 'dropdown', + options: [ + { label: 'Default', id: '' }, + { label: 'Yes', id: 'true' }, + { label: 'No', id: 'false' }, + ], + value: () => '', + mode: 'advanced', + condition: { + field: 'operation', + value: [ + 'oracle_fusion_financials_list_payables_invoices', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_list_payables_payments', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_list_payment_process_requests', + 'oracle_fusion_financials_list_payables_invoice_holds', + 'oracle_fusion_financials_list_payables_payment_terms', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_list_receivables_invoices', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_list_receivables_credit_memos', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_list_receivables_receipts', + 'oracle_fusion_financials_list_receivables_customer_accounts', + 'oracle_fusion_financials_list_receivables_customer_account_sites', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_list_expense_reports', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_list_gl_ledgers', + 'oracle_fusion_financials_list_gl_journal_batches', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_list_gl_balances', + ], + }, + }, + ], + tools: { + access: [ + 'oracle_fusion_financials_list_receivables_invoices', + 'oracle_fusion_financials_get_receivables_invoice', + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_update_receivables_invoice', + 'oracle_fusion_financials_delete_receivables_invoice', + 'oracle_fusion_financials_approve_receivables_invoice', + 'oracle_fusion_financials_rework_receivables_invoice', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_get_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_get_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_get_receivables_invoice_installment', + 'oracle_fusion_financials_update_receivables_invoice_installment', + 'oracle_fusion_financials_list_receivables_credit_memos', + 'oracle_fusion_financials_get_receivables_credit_memo', + 'oracle_fusion_financials_create_receivables_credit_memo', + 'oracle_fusion_financials_update_receivables_credit_memo', + 'oracle_fusion_financials_approve_receivables_credit_memo', + 'oracle_fusion_financials_rework_receivables_credit_memo', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_get_receivables_credit_memo_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_get_receivables_credit_memo_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + 'oracle_fusion_financials_list_receivables_receipts', + 'oracle_fusion_financials_get_receivables_receipt', + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + 'oracle_fusion_financials_delete_receivables_receipt', + 'oracle_fusion_financials_apply_receivables_receipt', + 'oracle_fusion_financials_list_receivables_customer_accounts', + 'oracle_fusion_financials_get_receivables_customer_account', + 'oracle_fusion_financials_list_receivables_customer_account_sites', + 'oracle_fusion_financials_get_receivables_customer_account_site', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_get_receivables_receipt_application', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_get_receivables_credit_memo_application', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_get_receivables_transaction_payment_schedule', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_get_receivables_transaction_adjustment', + 'oracle_fusion_financials_list_expense_reports', + 'oracle_fusion_financials_get_expense_report', + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + 'oracle_fusion_financials_submit_expense_report', + 'oracle_fusion_financials_remove_expense_report_cash_advance', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_get_expense_line', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_get_expense_report_processing_detail', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_get_expense_report_payment', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_get_expense_line_error', + 'oracle_fusion_financials_list_gl_ledgers', + 'oracle_fusion_financials_get_gl_ledger', + 'oracle_fusion_financials_list_gl_journal_batches', + 'oracle_fusion_financials_get_gl_journal_batch', + 'oracle_fusion_financials_delete_gl_journal_batch', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_get_gl_journal_header', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_get_gl_journal_line', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_get_gl_journal_error', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_get_gl_journal_action_log', + 'oracle_fusion_financials_list_gl_balances', + 'oracle_fusion_financials_list_payables_invoices', + 'oracle_fusion_financials_get_payables_invoice', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_get_payables_invoice_line', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_get_payables_invoice_installment', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_get_payables_invoice_distribution', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_get_payables_applied_prepayment', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_get_payables_available_prepayment', + 'oracle_fusion_financials_list_payables_payments', + 'oracle_fusion_financials_get_payables_payment', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_get_payables_payment_related_invoice', + 'oracle_fusion_financials_list_payment_process_requests', + 'oracle_fusion_financials_get_payment_process_request', + 'oracle_fusion_financials_list_payables_invoice_holds', + 'oracle_fusion_financials_get_payables_invoice_hold', + 'oracle_fusion_financials_list_payables_payment_terms', + 'oracle_fusion_financials_get_payables_payment_term', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_get_payables_payment_term_line', + ], + config: { + tool: (params) => params.operation, + params: (params) => { + const { operation: _operation, ...rest } = params + return { + ...rest, + ...financialsWriteParams(_operation, rest), + q: optionalString(rest.q, 'Filter'), + finder: optionalString(rest.finder, 'Finder'), + orderBy: optionalString(rest.orderBy, 'Order By'), + effectiveDate: optionalString(rest.effectiveDate, 'Effective Date'), + limit: parseOptionalNumberInput(rest.limit, 'Limit', { + integer: true, + min: 1, + max: 100, + }), + offset: parseOptionalNumberInput(rest.offset, 'Offset', { integer: true, min: 0 }), + totalResults: parseOptionalBooleanInput(rest.totalResults), + } + }, + }, + }, + inputs: { + receivablesInvoiceId: { + type: 'string', + description: 'Receivables Invoice Id', + }, + businessUnit: { + type: 'string', + description: 'Business Unit', + }, + transactionNumber: { + type: 'string', + description: 'Transaction Number', + }, + transactionDate: { + type: 'string', + description: 'Transaction Date (YYYY-MM-DD)', + }, + accountingDate: { + type: 'string', + description: 'Accounting Date (YYYY-MM-DD)', + }, + billToCustomerName: { + type: 'string', + description: 'Bill To Customer Name', + }, + billToCustomerNumber: { + type: 'string', + description: 'Bill To Customer Number', + }, + billToSite: { + type: 'string', + description: 'Bill To Site', + }, + invoiceCurrencyCode: { + type: 'string', + description: 'Invoice Currency Code', + }, + invoiceStatus: { + type: 'string', + description: 'Invoice Status', + }, + paymentTerms: { + type: 'string', + description: 'Payment Terms', + }, + transactionSource: { + type: 'string', + description: 'Transaction Source', + }, + transactionType: { + type: 'string', + description: 'Transaction Type', + }, + comments: { + type: 'string', + description: 'Comments', + }, + purchaseOrder: { + type: 'string', + description: 'Purchase Order', + }, + conversionRateType: { + type: 'string', + description: 'Conversion Rate Type', + }, + conversionRate: { + type: 'number', + description: 'Conversion Rate', + }, + conversionDate: { + type: 'string', + description: 'Conversion Date (YYYY-MM-DD)', + }, + lines: { + type: 'json', + description: + 'Typed lines to create with the receivables invoice (at most 1000). Use Oracle attribute names; exact integer attributes must be strings.', + }, + distributions: { + type: 'json', + description: + 'Typed distributions to create with the receivables invoice (at most 1000). Use Oracle attribute names; exact integer attributes must be strings.', + }, + comment: { + type: 'string', + description: 'Note recorded in the approval audit history', + }, + receivablesInvoiceLineId: { + type: 'string', + description: 'Receivables Invoice Line Id', + }, + lineNumber: { + type: 'number', + description: 'Line Number', + }, + description: { + type: 'string', + description: 'Description', + }, + itemNumber: { + type: 'string', + description: 'Item Number', + }, + memoLine: { + type: 'string', + description: 'Memo Line', + }, + lineAmount: { + type: 'number', + description: 'Line Amount', + }, + quantity: { + type: 'number', + description: 'Quantity', + }, + unitSellingPrice: { + type: 'number', + description: 'Unit Selling Price', + }, + unitOfMeasure: { + type: 'string', + description: 'Unit Of Measure', + }, + accountingRule: { + type: 'string', + description: 'Accounting Rule', + }, + accountingRuleDuration: { + type: 'string', + description: 'Accounting Rule Duration as an exact decimal string', + }, + ruleStartDate: { + type: 'string', + description: 'Rule Start Date (YYYY-MM-DD)', + }, + ruleEndDate: { + type: 'string', + description: 'Rule End Date (YYYY-MM-DD)', + }, + taxClassificationCode: { + type: 'string', + description: 'Tax Classification Code', + }, + salesOrder: { + type: 'string', + description: 'Sales Order', + }, + receivablesInvoiceDistributionId: { + type: 'string', + description: 'Receivables Invoice Distribution Id', + }, + accountClass: { + type: 'string', + description: 'Account Class', + }, + accountCombination: { + type: 'string', + description: 'Account Combination', + }, + accountedAmount: { + type: 'number', + description: 'Accounted Amount', + }, + amount: { + type: 'number', + description: 'Amount', + }, + invoiceLineNumber: { + type: 'number', + description: 'Invoice Line Number', + }, + detailedTaxLineNumber: { + type: 'number', + description: 'Detailed Tax Line Number', + }, + percent: { + type: 'number', + description: 'Percent', + }, + receivablesInvoiceInstallmentId: { + type: 'string', + description: 'Receivables Invoice Installment Id', + }, + installmentDueDate: { + type: 'string', + description: 'Installment Due Date (YYYY-MM-DD)', + }, + originalAmount: { + type: 'number', + description: 'Original Amount', + }, + receivablesCreditMemoId: { + type: 'string', + description: 'Receivables Credit Memo Id', + }, + creditMemoCurrency: { + type: 'string', + description: 'Credit Memo Currency', + }, + creditMemoStatus: { + type: 'string', + description: 'Credit Memo Status', + }, + creditReason: { + type: 'string', + description: 'Credit Reason', + }, + freightCreditAmount: { + type: 'string', + description: 'Freight Credit Amount', + }, + creditMemoComments: { + type: 'string', + description: 'Credit Memo Comments', + }, + conversionRateDate: { + type: 'string', + description: 'Conversion Rate Date (YYYY-MM-DD)', + }, + allowCompletion: { + type: 'string', + description: 'Allow Completion', + }, + controlCompletionReason: { + type: 'string', + description: 'Control Completion Reason', + }, + recipientEmail: { + type: 'string', + description: 'Recipient Email', + }, + receivablesCreditMemoLineId: { + type: 'string', + description: 'Receivables Credit Memo Line Id', + }, + lineDescription: { + type: 'string', + description: 'Line Description', + }, + lineAmountCredit: { + type: 'number', + description: 'Line Amount Credit', + }, + lineQuantityCredit: { + type: 'number', + description: 'Line Quantity Credit', + }, + lineCreditReason: { + type: 'string', + description: 'Line Credit Reason', + }, + lineFreightCreditAmount: { + type: 'number', + description: 'Line Freight Credit Amount', + }, + receivablesCreditMemoDistributionId: { + type: 'string', + description: 'Receivables Credit Memo Distribution Id', + }, + creditMemoLineNumber: { + type: 'number', + description: 'Credit Memo Line Number', + }, + receivablesReceiptId: { + type: 'string', + description: 'Receivables Receipt Id', + }, + currency: { + type: 'string', + description: 'Currency', + }, + receiptDate: { + type: 'string', + description: 'Receipt Date (YYYY-MM-DD)', + }, + receiptMethod: { + type: 'string', + description: 'Receipt Method', + }, + receiptNumber: { + type: 'string', + description: 'Receipt Number', + }, + customerAccountNumber: { + type: 'string', + description: 'Customer Account Number', + }, + customerName: { + type: 'string', + description: 'Customer Name', + }, + customerSite: { + type: 'string', + description: 'Customer Site', + }, + maturityDate: { + type: 'string', + description: 'Maturity Date (YYYY-MM-DD)', + }, + structuredPaymentReference: { + type: 'string', + description: 'Structured Payment Reference', + }, + appliedPaymentScheduleId: { + type: 'string', + description: 'Invoice installment identifier as an exact decimal string', + }, + amountApplied: { + type: 'number', + description: 'Amount to apply; omitted means the full open transaction balance', + }, + calledFrom: { + type: 'string', + description: 'Caller or process name recorded for audit', + }, + receivablesCustomerAccountId: { + type: 'string', + description: 'Receivables Customer Account Id', + }, + receivablesCustomerAccountSiteId: { + type: 'string', + description: 'Receivables Customer Account Site Id', + }, + receivablesReceiptApplicationId: { + type: 'string', + description: 'Receivables Receipt Application Id', + }, + receivablesCreditMemoApplicationId: { + type: 'string', + description: 'Receivables Credit Memo Application Id', + }, + receivablesTransactionPaymentScheduleId: { + type: 'string', + description: 'Receivables Transaction Payment Schedule Id', + }, + receivablesTransactionAdjustmentId: { + type: 'string', + description: 'Receivables Transaction Adjustment Id', + }, + expenseReportUniqId: { + type: 'string', + description: 'Expense Report Uniq Id', + }, + orgId: { + type: 'string', + description: 'Org Id as an exact integer string', + }, + personId: { + type: 'string', + description: 'Person Id as an exact integer string', + }, + assignmentId: { + type: 'string', + description: 'Assignment Id as an exact integer string', + }, + preparerId: { + type: 'string', + description: 'Preparer Id as an exact integer string', + }, + purpose: { + type: 'string', + description: 'Purpose', + }, + expenseReportNumber: { + type: 'string', + description: 'Expense Report Number', + }, + expenseReportDate: { + type: 'string', + description: 'Expense Report Date (YYYY-MM-DD)', + }, + reimbursementCurrencyCode: { + type: 'string', + description: 'Reimbursement Currency Code', + }, + exchangeRateType: { + type: 'string', + description: 'Exchange Rate Type', + }, + paymentMethodCode: { + type: 'string', + description: 'Payment Method Code', + }, + overrideApproverId: { + type: 'string', + description: 'Override Approver Id as an exact integer string', + }, + unappliedAdvancesJust: { + type: 'string', + description: 'Unapplied Advances Just', + }, + unappliedCashAdvReason: { + type: 'string', + description: 'Unapplied Cash Adv Reason', + }, + cashAdvanceNumber: { + type: 'string', + description: 'Number of the specific cash advance to remove', + }, + expenseLineUniqId: { + type: 'string', + description: 'Expense Line Uniq Id', + }, + ticketClass: { + type: 'string', + description: 'Ticket Class', + }, + expenseTypeId: { + type: 'string', + description: 'Expense Type Id as an exact integer string', + }, + expenseTemplateId: { + type: 'string', + description: 'Expense Template Id as an exact integer string', + }, + justification: { + type: 'string', + description: 'Justification', + }, + receiptAmount: { + type: 'number', + description: 'Receipt Amount', + }, + receiptCurrencyCode: { + type: 'string', + description: 'Receipt Currency Code', + }, + merchantName: { + type: 'string', + description: 'Merchant Name', + }, + startDate: { + type: 'string', + description: 'Start Date (YYYY-MM-DD)', + }, + endDate: { + type: 'string', + description: 'End Date', + }, + exchangeRate: { + type: 'number', + description: 'Exchange Rate', + }, + itemizationParentExpenseId: { + type: 'string', + description: 'Itemization Parent Expense Id as an exact integer string', + }, + receiptMissingFlag: { + type: 'boolean', + description: 'Receipt Missing Flag', + }, + location: { + type: 'string', + description: 'Location', + }, + countryCode: { + type: 'string', + description: 'Country Code', + }, + expenseCategoryCode: { + type: 'string', + description: 'Expense Category Code', + }, + expenseSource: { + type: 'string', + description: 'Expense Source', + }, + numberOfDays: { + type: 'number', + description: 'Number Of Days', + }, + numberOfAttendees: { + type: 'number', + description: 'Number Of Attendees', + }, + tripDistance: { + type: 'number', + description: 'Trip Distance', + }, + distanceUnitCode: { + type: 'string', + description: 'Distance Unit Code', + }, + ticketClassCode: { + type: 'string', + description: 'Ticket Class Code', + }, + ticketNumber: { + type: 'string', + description: 'Ticket Number', + }, + expenseDistributionId: { + type: 'string', + description: 'Expense Distribution Id', + }, + expenseId: { + type: 'string', + description: 'Expense Id as an exact integer string', + }, + codeCombinationId: { + type: 'string', + description: 'Code Combination Id as an exact integer string', + }, + company: { + type: 'string', + description: 'Company', + }, + costCenter: { + type: 'string', + description: 'Cost Center', + }, + reimbursableAmount: { + type: 'number', + description: 'Reimbursable Amount', + }, + expenseItemizationId: { + type: 'string', + description: 'Expense Itemization Id', + }, + expenseReportProcessingDetailUniqId: { + type: 'string', + description: 'Expense Report Processing Detail Uniq Id', + }, + expenseReportPaymentId: { + type: 'string', + description: 'Expense Report Payment Id', + }, + expenseLineErrorSequence: { + type: 'string', + description: 'Expense Line Error Sequence', + }, + glLedgerId: { + type: 'string', + description: 'Gl Ledger Id', + }, + glJournalBatchId: { + type: 'string', + description: 'Gl Journal Batch Id', + }, + glJournalHeaderUniqId: { + type: 'string', + description: 'Gl Journal Header Uniq Id', + }, + glJournalLineUniqId: { + type: 'string', + description: 'Gl Journal Line Uniq Id', + }, + glJournalErrorUniqId: { + type: 'string', + description: 'Gl Journal Error Uniq Id', + }, + glJournalActionLogUniqId: { + type: 'string', + description: 'Gl Journal Action Log Uniq Id', + }, + operation: { type: 'string', description: 'Oracle Fusion Financials operation to perform' }, + oauthCredential: { + type: 'string', + description: 'Oracle Fusion service-account credential', + }, + invoiceUniqId: { + type: 'string', + description: 'Opaque invoice key returned by Oracle Fusion', + }, + invoiceLineUniqId: { + type: 'string', + description: 'Opaque invoice-line key returned by Oracle Fusion', + }, + invoiceInstallmentUniqId: { + type: 'string', + description: 'Opaque invoice-installment key returned by Oracle Fusion', + }, + invoiceDistributionId: { + type: 'string', + description: 'Oracle InvoiceDistributionId as a decimal string', + }, + appliedPrepaymentUniqId: { + type: 'string', + description: 'Opaque applied-prepayment key returned by Oracle Fusion', + }, + availablePrepaymentUniqId: { + type: 'string', + description: 'Opaque available-prepayment key returned by Oracle Fusion', + }, + checkId: { type: 'string', description: 'Oracle payment CheckId as a decimal string' }, + invoicePaymentId: { + type: 'string', + description: 'Oracle InvoicePaymentId as a decimal string', + }, + paymentProcessRequestId: { + type: 'string', + description: 'Oracle PaymentProcessRequestId as a decimal string', + }, + holdId: { type: 'string', description: 'Oracle HoldId as a decimal string' }, + termsId: { type: 'string', description: 'Oracle termsId as a decimal string' }, + paymentTermLineUniqId: { + type: 'string', + description: 'Opaque payment-term-line key returned by Oracle Fusion', + }, + q: { type: 'string', description: 'Oracle REST Framework q filter expression' }, + finder: { type: 'string', description: 'Oracle predefined finder expression' }, + orderBy: { type: 'string', description: 'Oracle attribute ordering expression' }, + effectiveDate: { type: 'string', description: 'Invoice effective date in YYYY-MM-DD form' }, + limit: { type: 'number', description: 'Page size from 1 to 100' }, + offset: { type: 'number', description: 'Non-negative page offset' }, + totalResults: { type: 'boolean', description: 'Request Oracle total-results metadata' }, + }, + outputs: { + receivablesInvoice: { + type: 'json', + description: 'Projected receivables invoice', + }, + receivablesInvoiceLine: { + type: 'json', + description: 'Projected receivables invoice line', + }, + receivablesInvoiceDistribution: { + type: 'json', + description: 'Projected receivables invoice distribution', + }, + receivablesInvoiceInstallment: { + type: 'json', + description: 'Projected receivables invoice installment', + }, + receivablesCreditMemo: { + type: 'json', + description: 'Projected receivables credit memo', + }, + receivablesCreditMemoLine: { + type: 'json', + description: 'Projected receivables credit memo line', + }, + receivablesCreditMemoDistribution: { + type: 'json', + description: 'Projected receivables credit memo distribution', + }, + receivablesReceipt: { + type: 'json', + description: 'Projected receivables receipt', + }, + receivablesCustomerAccount: { + type: 'json', + description: 'Projected receivables customer account', + }, + receivablesCustomerAccountSite: { + type: 'json', + description: 'Projected receivables customer account site', + }, + receivablesReceiptApplication: { + type: 'json', + description: 'Projected receivables receipt application', + }, + receivablesCreditMemoApplication: { + type: 'json', + description: 'Projected receivables credit memo application', + }, + receivablesTransactionPaymentSchedule: { + type: 'json', + description: 'Projected receivables transaction payment schedule', + }, + receivablesTransactionAdjustment: { + type: 'json', + description: 'Projected receivables transaction adjustment', + }, + expenseReport: { + type: 'json', + description: 'Projected expense report', + }, + expenseLine: { + type: 'json', + description: 'Projected expense line', + }, + expenseDistribution: { + type: 'json', + description: 'Projected expense distribution', + }, + expenseItemization: { + type: 'json', + description: 'Projected expense itemization', + }, + expenseReportProcessingDetail: { + type: 'json', + description: 'Projected expense report processing detail', + }, + expenseReportPayment: { + type: 'json', + description: 'Projected expense report payment', + }, + expenseLineError: { + type: 'json', + description: 'Projected expense line error', + }, + glLedger: { + type: 'json', + description: 'Projected gl ledger', + }, + glJournalBatch: { + type: 'json', + description: 'Projected gl journal batch', + }, + glJournalHeader: { + type: 'json', + description: 'Projected gl journal header', + }, + glJournalLine: { + type: 'json', + description: 'Projected gl journal line', + }, + glJournalError: { + type: 'json', + description: 'Projected gl journal error', + }, + glJournalActionLog: { + type: 'json', + description: 'Projected gl journal action log', + }, + result: { type: 'string', description: 'Documented Oracle lifecycle action result' }, + deleted: { type: 'boolean', description: 'Whether the requested deletion succeeded' }, + id: { type: 'string', description: 'Identifier of the deleted resource' }, + items: { + type: 'array', + description: 'Projected Oracle Fusion Financials resources in this page', + }, + count: { type: 'number', description: 'Number of records in this page' }, + hasMore: { type: 'boolean', description: 'Whether Oracle has another page' }, + limit: { type: 'number', description: 'Page size returned by Oracle' }, + offset: { type: 'number', description: 'Offset returned by Oracle' }, + totalResults: { + type: 'number', + description: 'Estimated total matching records when requested', + }, + invoice: { + type: 'json', + description: + 'Projected Payables invoice with an invoiceUniqId string and nullable number/string scalars for identity, supplier and site, business unit, amount and currency, invoice and accounting dates, payment and workflow statuses, terms, method, purchase order, description, and creation/update dates', + }, + payment: { + type: 'json', + description: + 'Projected Payables payment with nullable number, string, and boolean scalars for check/payment identity, reference, amount and currency, payment/accounting dates, payee and supplier, method/status/type, business unit, legal entity, reconciliation flag, and creation/update dates', + }, + invoiceLine: { + type: 'json', + description: + 'Projected invoice line with its Oracle-derived opaque key, amounts, accounting flags, purchase-order and receipt references, item, tax, location, and timestamps', + }, + invoiceInstallment: { + type: 'json', + description: + 'Projected invoice installment with its Oracle-derived opaque key, due and unpaid amounts, payment method and priority, hold state, discounts, and timestamps', + }, + invoiceDistribution: { + type: 'json', + description: + 'Projected invoice distribution with identity, amounts, account combination, accounting, match and funds status, reversal and cancellation flags, document references, tax, asset state, and timestamps', + }, + appliedPrepayment: { + type: 'json', + description: + 'Projected applied prepayment with its Oracle-derived opaque key, invoice and line identity, supplier site, currency, amount, tax, application date, and inclusion flag', + }, + availablePrepayment: { + type: 'json', + description: + 'Projected available prepayment with its Oracle-derived opaque key, invoice and line identity, supplier site, currency, available amount, and tax', + }, + paymentRelatedInvoice: { + type: 'json', + description: + 'Projected invoice related to a payment with payment, invoice and installment identity, business unit, currencies, amounts, discounts, exchange rate, status, and timestamps', + }, + invoiceHold: { + type: 'json', + description: + 'Projected Payables invoice hold with invoice, supplier and business-unit context, hold and release details, workflow state, document references, and timestamps', + }, + paymentProcessRequest: { + type: 'json', + description: + 'Projected payment process request with identifier, name, source application, status code, and status meaning', + }, + paymentTerm: { + type: 'json', + description: + 'Projected Payables payment term with identity, name, description, enabled and effective state, cutoff, ranking, reference set, and timestamps', + }, + paymentTermLine: { + type: 'json', + description: + 'Projected payment-term calculation line with its Oracle-derived opaque key, due-date calculation values, and three discount tiers', + }, + }, +} + +export const OracleFusionFinancialsBlockMeta = { + tags: ['automation', 'data-analytics', 'payments'], + url: 'https://www.oracle.com/erp/financials/', + templates: [ + { + icon: NetSuiteIcon, + title: 'Investigate journal exceptions', + prompt: + 'Review a bounded page of Oracle Fusion journal batches and read the errors, action logs, headers, and lines for selected batches. Preserve opaque journal keys and summarize posting exceptions without attempting to post or approve journals.', + modules: ['tables', 'workflows'], + category: 'operations', + tags: ['finance', 'audit'], + }, + { + icon: NetSuiteIcon, + title: 'Review ledger account balances', + prompt: + 'Select an accessible Oracle Fusion ledger and use the documented account balance finder for an explicit accounting period, account combination, and currency. Report returned balance strings and missing-value markers faithfully, without treating missing data as zero.', + modules: ['tables', 'workflows'], + category: 'operations', + tags: ['finance', 'reporting'], + }, + { + icon: NetSuiteIcon, + title: 'Review expense submission exceptions', + prompt: + 'Build a workflow that lists a bounded page of Oracle Fusion expense reports, reads expense-line validation errors and report processing details for selected reports, and summarizes the issues. Keep Oracle-derived opaque keys and do not assume the service account can access other employees.', + modules: ['tables', 'workflows'], + category: 'operations', + tags: ['finance', 'audit'], + }, + { + icon: NetSuiteIcon, + title: 'Prepare and submit an expense report', + prompt: + 'Create an Oracle Fusion expense workflow using explicitly provided organization, person, assignment, ticket class, and expense values. Create the report and its lines, inspect validation messages, then submit the selected report when requested. Treat result S as successful submission and report error-bearing results without retrying the write.', + modules: ['workflows'], + category: 'operations', + tags: ['finance', 'expenses'], + }, + { + icon: NetSuiteIcon, + title: 'Review receivables aging', + prompt: + 'Build a workflow that reads a bounded page of Oracle Fusion Receivables customer account activity, lists transaction payment schedules for selected accounts, and reports overdue balances without assuming estimated totals are exact.', + modules: ['tables', 'workflows'], + category: 'operations', + tags: ['finance', 'reporting'], + }, + { + icon: NetSuiteIcon, + title: 'Apply a customer receipt', + prompt: + 'Build a workflow with explicit receipt and invoice inputs. Look up the Receivables invoice installments, preserve the selected InstallmentId as an exact string, apply the specified amount from the selected standard receipt, and report the documented action result. Do not infer success from HTTP status alone.', + modules: ['workflows'], + category: 'operations', + tags: ['finance', 'payments'], + }, + { + icon: NetSuiteIcon, + title: 'Investigate credit memo applications', + prompt: + 'Create a workflow that reads a Receivables credit memo and its lines and distributions, then reviews credit memo applications for the selected customer account. Report the application references and amounts without creating a replacement transaction.', + modules: ['tables', 'workflows'], + category: 'operations', + tags: ['finance', 'audit'], + }, + { + icon: NetSuiteIcon, + title: 'Find overdue Payables invoices', + prompt: + 'Build a scheduled workflow that lists unpaid Oracle Fusion Payables invoices, reviews their installments for due dates before today, and sends a concise overdue-invoice report without fetching additional pages automatically.', + modules: ['scheduled', 'workflows'], + category: 'operations', + tags: ['finance', 'monitoring'], + }, + { + icon: NetSuiteIcon, + title: 'Report unpaid invoice aging', + prompt: + 'Create a workflow that reads one bounded page of unpaid Oracle Fusion Payables invoices, groups amounts into aging buckets from invoice and installment dates, and writes the summary to a table.', + modules: ['tables', 'workflows'], + category: 'operations', + tags: ['finance', 'reporting'], + }, + { + icon: NetSuiteIcon, + title: 'Monitor invoice approval exceptions', + prompt: + 'Build a scheduled Oracle Fusion workflow that lists Payables invoices with exceptional approval status and sends finance a report containing invoice number, supplier, amount, currency, and status.', + modules: ['scheduled', 'workflows'], + category: 'operations', + tags: ['finance', 'monitoring'], + }, + { + icon: NetSuiteIcon, + title: 'Monitor invoice validation exceptions', + prompt: + 'Build a scheduled workflow that lists Oracle Fusion Payables invoices with validation exceptions and records their identifiers, suppliers, amounts, and validation status for investigation.', + modules: ['scheduled', 'tables', 'workflows'], + category: 'operations', + tags: ['finance', 'monitoring'], + }, + { + icon: NetSuiteIcon, + title: 'Audit Payables invoice lines', + prompt: + 'Create a workflow that selects an Oracle Fusion Payables invoice, reads its invoice lines and accounting distributions, and reports line amounts, account combinations, match and funds status, purchase-order and receipt references, tax, and reversal state.', + modules: ['workflows'], + category: 'operations', + tags: ['finance', 'audit'], + }, + { + icon: NetSuiteIcon, + title: 'Track upcoming payment installments', + prompt: + 'Create a scheduled workflow that reviews Oracle Fusion Payables invoice installments due in the coming week, reads payment term calculation lines when the termsId is known, and sends a treasury digest with unpaid amount, due date, discounts, payment method, priority, and hold state.', + modules: ['scheduled', 'workflows'], + category: 'operations', + tags: ['finance', 'payments'], + }, + { + icon: NetSuiteIcon, + title: 'Reconcile recent Payables payments', + prompt: + 'Build a scheduled workflow that lists one page of recent Oracle Fusion Payables payments, traces each selected payment to its related invoices, checks a payment process request when its identifier is known, and writes a reconciliation report with identifiers, dates, amounts, and status.', + modules: ['scheduled', 'tables', 'workflows'], + category: 'operations', + tags: ['finance', 'payments'], + }, + { + icon: NetSuiteIcon, + title: 'Create a supplier payment report', + prompt: + 'Create a workflow that lists Oracle Fusion Payables payments for a specified reporting period and produces a supplier-level report using payee, supplier number, amount, currency, method, status, and payment date.', + modules: ['tables', 'workflows'], + category: 'operations', + tags: ['finance', 'reporting'], + }, + { + icon: NetSuiteIcon, + title: 'Investigate Payables invoice holds', + prompt: + 'Build a workflow that lists active Oracle Fusion Payables invoice holds, reads selected hold details, and produces an investigation queue with supplier, invoice, hold reason, workflow status, purchase-order or receipt context, and release history.', + modules: ['tables', 'workflows'], + category: 'operations', + tags: ['finance', 'audit'], + }, + { + icon: NetSuiteIcon, + title: 'Analyze invoice prepayment coverage', + prompt: + 'Create a workflow that selects a Payables invoice, compares its applied and available prepayments, and reports currency, applied or available amounts, included tax, supplier site, and application date without applying or unapplying anything.', + modules: ['workflows'], + category: 'operations', + tags: ['finance', 'payments'], + }, + { + icon: NetSuiteIcon, + title: 'Monitor payment process requests', + prompt: + 'Create a scheduled workflow that lists recent Oracle Fusion payment process requests, highlights incomplete or exceptional status codes, and sends treasury a concise payment-run status report.', + modules: ['scheduled', 'workflows'], + category: 'operations', + tags: ['finance', 'monitoring'], + }, + { + icon: NetSuiteIcon, + title: 'Analyze terms-based payment schedules', + prompt: + 'Build a workflow that reads a Payables payment term and its calculation lines, compares due-date and three-tier discount rules with a selected invoice installment, and reports schedule discrepancies for review.', + modules: ['workflows'], + category: 'operations', + tags: ['finance', 'audit'], + }, + ], + skills: [ + { + name: 'review-general-ledger-exceptions', + description: + 'Investigate journal errors and review account balances within authorized ledgers.', + content: `# Review General Ledger Exceptions + +## Steps +1. List accessible ledgers and select the intended ledger. +2. List one bounded page of journal batches using documented filters. +3. Inspect errors, action logs, headers, and lines for selected batches, retaining Oracle self-link keys. +4. Query balances with the documented ledger, account, period, and currency finder inputs. + +## Output +Summarize journal exceptions and returned balances. Preserve missing-value markers; do not infer zero balances, post journals, or orchestrate imports. Respect Oracle ledger and data-access-set permissions.`, + }, + { + name: 'review-oracle-fusion-expense-report', + description: 'Inspect report and line validation before a requested expense submission.', + content: + '# Review an Expense Report\n\n## Steps\n\n1. Select a report using its Oracle-derived opaque key, not ExpenseReportId.\n2. Read the report, a bounded page of expense lines, and relevant line errors.\n3. Review validation messages and missing receipt requirements.\n4. Only when submission is requested, use Submit Expense Report.\n\n## Output\n\nReport validation findings and the documented submission result. S means no submission errors, while 1: is an error-bearing result.', + }, + { + name: 'apply-oracle-fusion-receivables-receipt', + description: + 'Apply an explicitly selected standard receipt to a verified invoice installment.', + content: + '# Apply a Receivables Receipt\n\n## Steps\n\n1. Read the selected Receivables invoice and list its installments.\n2. Keep CustomerTransactionId and InstallmentId as exact strings; do not use display invoice numbers as IDs.\n3. Apply the selected standard receipt to the chosen installment with the requested amount. Do not retry writes automatically.\n\n## Output\n\nReport the action result; only SUCCESS means application succeeded.', + }, + { + name: 'find-unpaid-oracle-fusion-invoices', + description: 'Find unpaid Oracle Fusion Payables invoices in a bounded result page.', + content: + '# Find Unpaid Oracle Fusion Invoices\n\n## Steps\n\n1. Use List Payables Invoices with the narrowest verified q filter for unpaid status.\n2. Request only one page, with limit no greater than 100.\n3. Use the returned invoiceUniqId when a specific invoice needs more detail.\n\n## Output\n\nReturn invoice number, supplier, amount, currency, invoice date, paid status, and whether Oracle reports another page.', + }, + { + name: 'inspect-oracle-fusion-invoice-lines', + description: 'Inspect the fixed, read-only line projection for a Payables invoice.', + content: + '# Inspect Oracle Fusion Invoice Lines\n\n## Steps\n\n1. Select the invoice or use an invoiceUniqId returned by Oracle.\n2. Use List Payables Invoice Lines with a page limit no greater than 100.\n3. Review amounts, accounting flags, purchase-order and receipt references, item fields, tax fields, and locations.\n\n## Output\n\nReport the invoice key, relevant line numbers, findings, and whether another page remains.', + }, + { + name: 'audit-oracle-fusion-invoice-distributions', + description: 'Audit accounting distributions and matching state for a Payables invoice line.', + content: + '# Audit Oracle Fusion Invoice Distributions\n\n## Steps\n\n1. Select an invoice and list its invoice lines to obtain an Oracle-derived invoiceLineUniqId.\n2. Use List Payables Invoice Distributions with a page limit no greater than 100.\n3. Review account combinations, amounts, accounting, match and funds status, reversal and cancellation flags, and purchase-order, receipt, prepayment, tax, and asset references.\n4. Use Get Payables Invoice Distribution with the decimal InvoiceDistributionId for one selected record.\n\n## Output\n\nReport the invoice and line keys, distribution identifiers, accounting exceptions, and whether another page remains.', + }, + { + name: 'review-oracle-fusion-payment-schedules', + description: 'Review due dates, unpaid amounts, discounts, and holds for an invoice.', + content: + '# Review Oracle Fusion Payment Schedules\n\n## Steps\n\n1. Select the invoice or provide its Oracle-derived opaque key.\n2. Use List Payables Invoice Installments for one bounded page and Get Payables Invoice Installment when one schedule needs detail.\n3. Read the applicable Payables Payment Term and its term lines when the termsId is known.\n4. Compare due date, unpaid amount, payment priority, hold state, discount dates and amounts, and the documented due and discount calculation values.\n\n## Output\n\nSummarize upcoming obligations and any schedule discrepancy without guessing unavailable term mappings.', + }, + { + name: 'trace-oracle-fusion-invoice-payment-status', + description: 'Trace the read-only payment state exposed on a Payables invoice.', + content: + '# Trace Oracle Fusion Invoice Payment Status\n\n## Steps\n\n1. Use Get Payables Invoice with an invoiceUniqId obtained from Oracle.\n2. Review amount, amount paid, paid status, approval status, validation status, method, and terms.\n3. If schedule timing matters, list the invoice installments separately.\n\n## Output\n\nState the invoice payment state and supporting fields; do not infer a payment-to-invoice link that Oracle did not return.', + }, + { + name: 'reconcile-recent-oracle-fusion-payments', + description: 'Review recent Payables payments and isolate reconciliation exceptions.', + content: + '# Reconcile Recent Oracle Fusion Payments\n\n## Steps\n\n1. Use List Payables Payments ordered by PaymentDate descending with one bounded page.\n2. Review CheckId, payment references, amount, currency, date, status, and ReconciledFlag.\n3. For selected payments, list related invoices and inspect the relevant payment process request when its identifier is known.\n4. Use Get Payables Payment or Get Payment-Related Invoice for a specific record.\n\n## Output\n\nReport reconciled and unreconciled payments, related invoice amounts and discounts, payment-run status, and whether another page remains.', + }, + { + name: 'investigate-oracle-fusion-invoice-holds', + description: 'Investigate Payables invoice holds and their release workflow state.', + content: + '# Investigate Oracle Fusion Invoice Holds\n\n## Steps\n\n1. Use List Payables Invoice Holds with the narrowest documented q filter and a page limit no greater than 100.\n2. Review invoice, supplier, business unit, line, hold reason, workflow status, purchase-order, and receipt context.\n3. Use Get Payables Invoice Hold with the decimal HoldId to inspect release details and timestamps.\n\n## Output\n\nReturn a prioritized hold queue with evidence from Oracle and state whether another page remains.', + }, + { + name: 'trace-oracle-fusion-payment-applications', + description: 'Trace a Payables payment to invoices and prepayment activity.', + content: + '# Trace Oracle Fusion Payment Applications\n\n## Steps\n\n1. Use Get Payables Payment with its decimal CheckId.\n2. Use List Payment-Related Invoices for that payment and inspect selected InvoicePaymentId records.\n3. For a selected invoice, compare applied and available prepayments using only Oracle-derived opaque keys.\n4. Review invoice and payment currencies, paid amounts, discounts, exchange rate, payment status, and application accounting date.\n\n## Output\n\nProvide a read-only trace from payment to invoice applications and clearly identify any pagination boundary or unavailable linkage.', + }, + ], +} as const satisfies BlockMeta diff --git a/apps/sim/blocks/registry-maps.ts b/apps/sim/blocks/registry-maps.ts index 06ee6083309..6fd66a96add 100644 --- a/apps/sim/blocks/registry-maps.ts +++ b/apps/sim/blocks/registry-maps.ts @@ -251,6 +251,10 @@ import { OktaBlock, OktaBlockMeta } from '@/blocks/blocks/okta' import { OneDriveBlock, OneDriveBlockMeta } from '@/blocks/blocks/onedrive' import { OnePasswordBlock, OnePasswordBlockMeta } from '@/blocks/blocks/onepassword' import { OpenAIBlock, OpenAIBlockMeta } from '@/blocks/blocks/openai' +import { + OracleFusionFinancialsBlock, + OracleFusionFinancialsBlockMeta, +} from '@/blocks/blocks/oracle_fusion_financials' import { OutlookBlock, OutlookBlockMeta } from '@/blocks/blocks/outlook' import { PagerDutyBlock, PagerDutyBlockMeta } from '@/blocks/blocks/pagerduty' import { ParallelBlock, ParallelBlockMeta } from '@/blocks/blocks/parallel' @@ -593,6 +597,7 @@ export const BLOCK_REGISTRY: Record = { onedrive: OneDriveBlock, onepassword: OnePasswordBlock, openai: OpenAIBlock, + oracle_fusion_financials: OracleFusionFinancialsBlock, outlook: OutlookBlock, pagerduty: PagerDutyBlock, parallel_ai: ParallelBlock, @@ -914,6 +919,7 @@ export const BLOCK_META_REGISTRY: Record = { onedrive: OneDriveBlockMeta, onepassword: OnePasswordBlockMeta, openai: OpenAIBlockMeta, + oracle_fusion_financials: OracleFusionFinancialsBlockMeta, outlook: OutlookBlockMeta, pagerduty: PagerDutyBlockMeta, parallel_ai: ParallelBlockMeta, diff --git a/apps/sim/lib/copilot/generated/docs-manifest.ts b/apps/sim/lib/copilot/generated/docs-manifest.ts index 3028d71f85a..5e10e88b74e 100644 --- a/apps/sim/lib/copilot/generated/docs-manifest.ts +++ b/apps/sim/lib/copilot/generated/docs-manifest.ts @@ -243,6 +243,7 @@ export const DOCS_MANIFEST: readonly string[] = [ 'integrations/onedrive.mdx', 'integrations/onepassword.mdx', 'integrations/openai.mdx', + 'integrations/oracle_fusion_financials.mdx', 'integrations/outlook.mdx', 'integrations/pagerduty.mdx', 'integrations/parallel_ai.mdx', diff --git a/apps/sim/lib/integrations/credential-display.test.ts b/apps/sim/lib/integrations/credential-display.test.ts index f73da60137f..ef78f3be4d5 100644 --- a/apps/sim/lib/integrations/credential-display.test.ts +++ b/apps/sim/lib/integrations/credential-display.test.ts @@ -68,6 +68,7 @@ const EXPECTED_COVERAGE: Record = { // NetSuite remains an API-key catalog integration, like Snowflake, while its // block uses the shared reusable-credential selector. 'netsuite-service-account': [], + 'oracle-fusion-service-account': [], 'pipedrive-service-account': ['pipedrive'], 'salesforce-service-account': ['salesforce'], 'shopify-service-account': ['shopify'], @@ -110,6 +111,20 @@ describe('service-account coverage', () => { }) }) + it('exposes Oracle Fusion reusable credentials without changing its API-key catalog class', () => { + const integration = INTEGRATIONS.find( + (candidate) => candidate.type === 'oracle_fusion_financials' + ) + expect(integration?.authType).toBe('api-key') + expect( + OAUTH_PROVIDERS.oracle_fusion_financials.services.oracle_fusion_financials + ).toMatchObject({ + providerId: 'oracle_fusion_financials', + serviceAccountProviderId: 'oracle-fusion-service-account', + authType: 'service_account', + }) + }) + it('pins the table to exactly the registered service-account provider ids', () => { expect(REGISTERED_SERVICE_ACCOUNT_IDS).toEqual(Object.keys(EXPECTED_COVERAGE).sort()) }) diff --git a/apps/sim/lib/integrations/icon-mapping.ts b/apps/sim/lib/integrations/icon-mapping.ts index 1927f934f5f..c7315faae8b 100644 --- a/apps/sim/lib/integrations/icon-mapping.ts +++ b/apps/sim/lib/integrations/icon-mapping.ts @@ -462,6 +462,7 @@ export const blockTypeToIconMap: Record = { okta: OktaIcon, onedrive: MicrosoftOneDriveIcon, onepassword: OnePasswordIcon, + oracle_fusion_financials: NetSuiteIcon, outlook: OutlookIcon, pagerduty: PagerDutyIcon, parallel_ai: ParallelIcon, diff --git a/apps/sim/lib/internal/oracle-fusion-financials/execute-tool.test.ts b/apps/sim/lib/internal/oracle-fusion-financials/execute-tool.test.ts new file mode 100644 index 00000000000..7ab6cce873d --- /dev/null +++ b/apps/sim/lib/internal/oracle-fusion-financials/execute-tool.test.ts @@ -0,0 +1,278 @@ +/** + * @vitest-environment node + */ +import { beforeEach, describe, expect, it, vi } from 'vitest' + +const { mockRequest } = vi.hoisted(() => ({ mockRequest: vi.fn() })) +vi.mock('@/lib/internal/oracle-fusion/client', () => ({ + requestOracleFusionJson: mockRequest, +})) + +import type { OracleFusionRequest } from '@/lib/internal/oracle-fusion/client' +import { OracleFusionProviderError } from '@/lib/internal/oracle-fusion/errors' +import { executeOracleFusionFinancialsTool } from '@/lib/internal/oracle-fusion-financials/execute-tool' +import type { InternalToolOperationCall } from '@/lib/internal/tool-operations/types' +import { OracleFusionFinancialsBlock } from '@/blocks/blocks/oracle_fusion_financials' +import * as financialsTools from '@/tools/oracle_fusion_financials' + +const ORIGIN = 'https://vision.fa.us2.oraclecloud.com' +const AUTH = { + oauthCredential: 'credential-1', + accessToken: 'secret-credential-canary', + instanceUrl: ORIGIN, +} + +function call(overrides: Partial = {}): InternalToolOperationCall { + return { + toolId: 'oracle_fusion_financials_list_payables_invoices', + input: AUTH, + headers: new Headers(), + context: { workflowId: 'workflow-1', userId: 'user-1', workspaceId: 'workspace-1' }, + requestId: 'request-1', + ...overrides, + } +} + +describe('Oracle Fusion Financials execution boundary', () => { + beforeEach(() => { + mockRequest.mockReset() + mockRequest.mockImplementation((_credential: unknown, request: OracleFusionRequest) => { + if (request.query?.limit !== undefined) { + return { items: [], count: 0, hasMore: false, limit: 50, offset: 0 } + } + return { + '@context': { + links: [ + { + rel: 'self', + href: `${ORIGIN}/fscmRestApi/resources/11.13.18.05/${request.address.relativePath}`, + }, + ], + }, + accessToken: AUTH.accessToken, + } + }) + }) + + it.each( + Object.values(financialsTools).filter((tool) => + /_payables_|_payment_process_request/.test(tool.id) + ) + )('executes the real $id declaration and operation', async (tool) => { + const params = { + ...AUTH, + invoiceUniqId: 'invoice-key', + invoiceLineUniqId: 'line-key', + invoiceInstallmentUniqId: 'installment-key', + invoiceDistributionId: '99', + appliedPrepaymentUniqId: 'applied-key', + availablePrepaymentUniqId: 'available-key', + checkId: '42', + invoicePaymentId: '88', + holdId: '21', + paymentProcessRequestId: '17', + termsId: '73', + paymentTermLineUniqId: 'term-line-key', + } + const input = tool.operation.input(params) + const response = await executeOracleFusionFinancialsTool(call({ toolId: tool.id, input })) + expect(response.status).toBe(200) + const result = await response.json() + expect(result.success).toBe(true) + expect(mockRequest).toHaveBeenCalledTimes(1) + expect(JSON.stringify(result)).not.toMatch(/secret-credential-canary|accessToken|instanceUrl/) + }) + + it('distinguishes invalid inputs from malformed provider payloads without reflecting either', async () => { + const invalid = await executeOracleFusionFinancialsTool( + call({ input: { ...AUTH, limit: 101 } }) + ) + expect(invalid.status).toBe(400) + await expect(invalid.json()).resolves.toEqual({ + success: false, + output: {}, + error: 'Invalid Oracle Fusion Financials input', + }) + expect(mockRequest).not.toHaveBeenCalled() + + mockRequest.mockResolvedValue({ items: [AUTH], count: 'secret-provider-value' }) + const malformed = await executeOracleFusionFinancialsTool(call()) + expect(malformed.status).toBe(502) + await expect(malformed.json()).resolves.toEqual({ + success: false, + output: {}, + error: 'Oracle Fusion Financials returned an unexpected response shape', + }) + }) + + it('preserves the safe shared provider error and hides unexpected internal failures', async () => { + mockRequest.mockRejectedValueOnce( + new OracleFusionProviderError('Oracle Fusion request failed', 403) + ) + const provider = await executeOracleFusionFinancialsTool(call()) + expect(provider.status).toBe(403) + await expect(provider.json()).resolves.toMatchObject({ error: 'Oracle Fusion request failed' }) + + mockRequest.mockRejectedValueOnce(new Error(AUTH.accessToken)) + const internal = await executeOracleFusionFinancialsTool(call()) + expect(internal.status).toBe(500) + await expect(internal.json()).resolves.toEqual({ + success: false, + output: {}, + error: 'Oracle Fusion Financials request failed', + }) + }) + + it('forwards cancellation and never reports an aborted request as an ordinary failure', async () => { + const controller = new AbortController() + const reason = new Error('cancelled') + mockRequest.mockImplementationOnce((_auth, _request, signal: AbortSignal) => { + expect(signal).toBe(controller.signal) + controller.abort(reason) + throw reason + }) + await expect( + executeOracleFusionFinancialsTool(call({ signal: controller.signal })) + ).rejects.toBe(reason) + mockRequest.mockClear() + await expect( + executeOracleFusionFinancialsTool(call({ signal: controller.signal })) + ).rejects.toBe(reason) + expect(mockRequest).not.toHaveBeenCalled() + }) + + it('rejects unsupported operations without sending a provider request', async () => { + const result = await executeOracleFusionFinancialsTool( + call({ toolId: 'oracle_fusion_financials_delete_invoice' }) + ) + expect(result.status).toBe(500) + expect(mockRequest).not.toHaveBeenCalled() + }) + + it('coerces block controls only at execution and preserves opaque manual keys', () => { + const config = OracleFusionFinancialsBlock.tools.config! + const params = { + operation: 'oracle_fusion_financials_list_payables_invoice_lines', + invoiceUniqId: ' opaque%2Fkey ', + limit: '25', + offset: '50', + totalResults: 'true', + } + expect(config.tool(params)).toBe(params.operation) + expect(config.params!(params)).toMatchObject({ + invoiceUniqId: ' opaque%2Fkey ', + limit: 25, + offset: 50, + totalResults: true, + }) + expect(config.tool({ ...params, limit: 'invalid' })).toBe(params.operation) + expect(() => config.params!({ ...params, limit: 'invalid' })).toThrow() + }) + + it('coerces write inputs only at execution without rounding identifiers or losing explicit nulls', () => { + const config = OracleFusionFinancialsBlock.tools.config! + const params = { + operation: 'oracle_fusion_financials_apply_receivables_receipt', + receivablesReceiptId: '42', + appliedPaymentScheduleId: '9007199254740993', + amountApplied: '12.5', + } + expect(config.tool({ ...params, amountApplied: 'invalid' })).toBe(params.operation) + expect(config.params!(params)).toMatchObject({ + appliedPaymentScheduleId: '9007199254740993', + amountApplied: 12.5, + }) + expect(() => config.params!({ ...params, amountApplied: 'invalid' })).toThrow() + expect( + config.params!({ + operation: 'oracle_fusion_financials_update_receivables_receipt', + receivablesReceiptId: '42', + conversionRate: null, + }) + ).toMatchObject({ conversionRate: null }) + expect( + config.params!({ + operation: 'oracle_fusion_financials_create_receivables_invoice', + lines: '[{"LineNumber":1,"Quantity":2}]', + }) + ).toMatchObject({ lines: [{ LineNumber: 1, Quantity: 2 }] }) + }) + + it('dispatches receipt application and returns a typed business failure without credential data', async () => { + mockRequest.mockResolvedValueOnce({ result: 'ERROR', accessToken: AUTH.accessToken }) + const tool = financialsTools.oracleFusionFinancialsApplyReceivablesReceiptTool + const input = tool.operation.input({ + ...AUTH, + receivablesReceiptId: '42', + appliedPaymentScheduleId: '9007199254740993', + }) + const response = await executeOracleFusionFinancialsTool(call({ toolId: tool.id, input })) + expect(response.status).toBe(200) + await expect(response.json()).resolves.toEqual({ + success: false, + output: { result: 'ERROR' }, + error: 'Oracle Fusion action reported an unsuccessful result', + }) + }) + + it('dispatches report submission and preserves submission errors as a business failure', async () => { + const controller = new AbortController() + mockRequest.mockResolvedValueOnce({ result: '1:EXP-42' }) + const tool = financialsTools.oracleFusionFinancialsSubmitExpenseReportTool + const input = tool.operation.input({ ...AUTH, expenseReportUniqId: ' report key ' }) + const response = await executeOracleFusionFinancialsTool( + call({ toolId: tool.id, input, signal: controller.signal }) + ) + expect(response.status).toBe(200) + await expect(response.json()).resolves.toMatchObject({ + success: false, + output: { result: '1:EXP-42' }, + }) + expect(mockRequest).toHaveBeenCalledWith( + expect.objectContaining(AUTH), + expect.objectContaining({ + address: { + family: 'fscm', + relativePath: 'expenseReports/%20report%20key%20/action/submit', + }, + method: 'POST', + }), + controller.signal + ) + }) + + it('dispatches ledger balances with execution-time pagination and unchanged finder text', async () => { + const tool = financialsTools.oracleFusionFinancialsListGlBalancesTool + const config = OracleFusionFinancialsBlock.tools.config! + const finder = 'AccountGroupBalanceFinder;accountGroupName=Cash,ledgerName=US Primary' + const params = config.params!({ + ...AUTH, + operation: tool.id, + finder, + limit: '25', + offset: '50', + }) + mockRequest.mockResolvedValueOnce({ + items: [{ EndingBalance: '#MISSING' }], + count: 1, + hasMore: false, + limit: 25, + offset: 50, + }) + const response = await executeOracleFusionFinancialsTool( + call({ toolId: tool.id, input: tool.operation.input(params) }) + ) + await expect(response.json()).resolves.toMatchObject({ + success: true, + output: { items: [{ EndingBalance: '#MISSING' }], limit: 25, offset: 50 }, + }) + expect(mockRequest).toHaveBeenCalledWith( + expect.objectContaining(AUTH), + expect.objectContaining({ + address: { family: 'fscm', relativePath: 'ledgerBalances' }, + query: expect.objectContaining({ finder, limit: 25, offset: 50 }), + }), + undefined + ) + }) +}) diff --git a/apps/sim/lib/internal/oracle-fusion-financials/execute-tool.ts b/apps/sim/lib/internal/oracle-fusion-financials/execute-tool.ts new file mode 100644 index 00000000000..fe8f1f8a1cd --- /dev/null +++ b/apps/sim/lib/internal/oracle-fusion-financials/execute-tool.ts @@ -0,0 +1,44 @@ +import { ZodError } from 'zod' +import { OracleFusionProviderError } from '@/lib/internal/oracle-fusion/errors' +import { + executeOracleFusionFinancialsOperation, + isOracleFusionFinancialsToolId, +} from '@/lib/internal/oracle-fusion-financials/operations' +import type { InternalToolOperationHandler } from '@/lib/internal/tool-operations/types' + +export const executeOracleFusionFinancialsTool: InternalToolOperationHandler = async ({ + toolId, + input, + signal, +}) => { + signal?.throwIfAborted() + if (!isOracleFusionFinancialsToolId(toolId)) { + return Response.json( + { success: false, error: `Unsupported Oracle Fusion Financials tool: ${toolId}` }, + { status: 500 } + ) + } + + try { + return Response.json(await executeOracleFusionFinancialsOperation(toolId, input, signal)) + } catch (error) { + signal?.throwIfAborted() + if (error instanceof OracleFusionProviderError) { + return Response.json( + { success: false, output: {}, error: error.message }, + { status: error.status } + ) + } + const validationFailure = error instanceof ZodError + return Response.json( + { + success: false, + output: {}, + error: validationFailure + ? 'Invalid Oracle Fusion Financials input' + : 'Oracle Fusion Financials request failed', + }, + { status: validationFailure ? 400 : 500 } + ) + } +} diff --git a/apps/sim/lib/internal/oracle-fusion-financials/operations.test.ts b/apps/sim/lib/internal/oracle-fusion-financials/operations.test.ts new file mode 100644 index 00000000000..7c26aa35a20 --- /dev/null +++ b/apps/sim/lib/internal/oracle-fusion-financials/operations.test.ts @@ -0,0 +1,1775 @@ +/** + * @vitest-environment node + */ +import { beforeEach, describe, expect, it, vi } from 'vitest' + +const { mockSecureFetch, mockValidateUrl } = vi.hoisted(() => ({ + mockSecureFetch: vi.fn(), + mockValidateUrl: vi.fn(), +})) + +vi.mock('@/lib/core/security/input-validation.server', () => ({ + secureFetchWithPinnedIP: mockSecureFetch, + validateUrlWithDNS: mockValidateUrl, +})) + +import { + executeOracleFusionFinancialsOperation, + type OracleFusionFinancialsToolId, +} from '@/lib/internal/oracle-fusion-financials/operations' +import { + ORACLE_FUSION_APPLIED_PREPAYMENT_FIELDS, + ORACLE_FUSION_AVAILABLE_PREPAYMENT_FIELDS, + ORACLE_FUSION_EXPENSE_DISTRIBUTION_FIELDS, + ORACLE_FUSION_EXPENSE_ITEMIZATION_FIELDS, + ORACLE_FUSION_EXPENSE_LINE_ERROR_FIELDS, + ORACLE_FUSION_EXPENSE_LINE_FIELDS, + ORACLE_FUSION_EXPENSE_REPORT_FIELDS, + ORACLE_FUSION_EXPENSE_REPORT_PAYMENT_FIELDS, + ORACLE_FUSION_EXPENSE_REPORT_PROCESSING_DETAIL_FIELDS, + ORACLE_FUSION_GL_BALANCE_FIELDS, + ORACLE_FUSION_GL_JOURNAL_ACTION_LOG_FIELDS, + ORACLE_FUSION_GL_JOURNAL_BATCH_FIELDS, + ORACLE_FUSION_GL_JOURNAL_ERROR_FIELDS, + ORACLE_FUSION_GL_JOURNAL_HEADER_FIELDS, + ORACLE_FUSION_GL_JOURNAL_LINE_FIELDS, + ORACLE_FUSION_GL_LEDGER_FIELDS, + ORACLE_FUSION_INSTALLMENT_FIELDS, + ORACLE_FUSION_INVOICE_DISTRIBUTION_FIELDS, + ORACLE_FUSION_INVOICE_FIELDS, + ORACLE_FUSION_INVOICE_HOLD_FIELDS, + ORACLE_FUSION_INVOICE_LINE_FIELDS, + ORACLE_FUSION_PAYMENT_FIELDS, + ORACLE_FUSION_PAYMENT_PROCESS_REQUEST_FIELDS, + ORACLE_FUSION_PAYMENT_RELATED_INVOICE_FIELDS, + ORACLE_FUSION_PAYMENT_TERM_FIELDS, + ORACLE_FUSION_PAYMENT_TERM_LINE_FIELDS, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_APPLICATION_FIELDS, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_DISTRIBUTION_FIELDS, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_FIELDS, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_LINE_FIELDS, + ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_FIELDS, + ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_SITE_FIELDS, + ORACLE_FUSION_RECEIVABLES_INVOICE_DISTRIBUTION_FIELDS, + ORACLE_FUSION_RECEIVABLES_INVOICE_FIELDS, + ORACLE_FUSION_RECEIVABLES_INVOICE_INSTALLMENT_FIELDS, + ORACLE_FUSION_RECEIVABLES_INVOICE_LINE_FIELDS, + ORACLE_FUSION_RECEIVABLES_RECEIPT_APPLICATION_FIELDS, + ORACLE_FUSION_RECEIVABLES_RECEIPT_FIELDS, + ORACLE_FUSION_RECEIVABLES_TRANSACTION_ADJUSTMENT_FIELDS, + ORACLE_FUSION_RECEIVABLES_TRANSACTION_PAYMENT_SCHEDULE_FIELDS, +} from '@/lib/internal/oracle-fusion-financials/schema' + +const ORIGIN = 'https://vision.fa.us2.oraclecloud.com' +const RESOURCE_PATH = '/fscmRestApi/resources/11.13.18.05' +const AUTH = { + oauthCredential: 'credential-id', + accessToken: Buffer.from('integration-user:password').toString('base64'), + instanceUrl: ORIGIN, +} + +function response(status: number, body: unknown, headers: Record = {}) { + const bodyText = typeof body === 'string' ? body : JSON.stringify(body) + return { + ok: status >= 200 && status < 300, + status, + statusText: '', + headers: { get: (name: string) => headers[name.toLowerCase()] ?? null }, + body: null, + text: async () => bodyText, + json: async () => JSON.parse(bodyText), + arrayBuffer: async () => new TextEncoder().encode(bodyText).buffer, + } +} + +function page( + items: unknown[], + options: { limit?: number; offset?: number; totalResults?: number } = {} +) { + return { + items, + count: items.length, + hasMore: false, + limit: options.limit ?? 50, + offset: options.offset ?? 0, + ...(options.totalResults === undefined ? {} : { totalResults: options.totalResults }), + } +} + +function selfLink(path: string) { + return [{ rel: 'self', href: `${ORIGIN}${path}` }] +} + +function item(path: string, values: Record = {}) { + return { ...values, UnexpectedFlexfield: 'must not escape', links: selfLink(path) } +} + +interface OperationCase { + name: string + toolId: OracleFusionFinancialsToolId + path: string + fields: readonly string[] + input?: Record + wrapper?: string + item: Record + derivedKey?: { name: string; value: string } +} + +const INVOICE_PATH = `${RESOURCE_PATH}/invoices/INVOICEKEY` +const LINE_COLLECTION_PATH = `${INVOICE_PATH}/child/invoiceLines` +const LINE_PATH = `${LINE_COLLECTION_PATH}/LINEKEY` +const INSTALLMENT_COLLECTION_PATH = `${INVOICE_PATH}/child/invoiceInstallments` +const INSTALLMENT_PATH = `${INSTALLMENT_COLLECTION_PATH}/INSTALLMENTKEY` +const DISTRIBUTION_COLLECTION_PATH = `${LINE_PATH}/child/invoiceDistributions` +const APPLIED_COLLECTION_PATH = `${INVOICE_PATH}/child/appliedPrepayments` +const AVAILABLE_COLLECTION_PATH = `${INVOICE_PATH}/child/availablePrepayments` +const PAYMENT_PATH = `${RESOURCE_PATH}/payablesPayments/42` +const RELATED_COLLECTION_PATH = `${PAYMENT_PATH}/child/relatedInvoices` +const TERM_PATH = `${RESOURCE_PATH}/payablesPaymentTerms/73` +const TERM_LINE_COLLECTION_PATH = `${TERM_PATH}/child/payablesPaymentTermsLines` + +const OPERATION_CASES: OperationCase[] = [ + { + name: 'list receivables invoice', + toolId: 'oracle_fusion_financials_list_receivables_invoices', + path: `${RESOURCE_PATH}/receivablesInvoices`, + fields: ORACLE_FUSION_RECEIVABLES_INVOICE_FIELDS, + item: item(`${RESOURCE_PATH}/receivablesInvoices/42`, { + CustomerTransactionId: '42', + }), + }, + { + name: 'get receivables invoice', + toolId: 'oracle_fusion_financials_get_receivables_invoice', + path: `${RESOURCE_PATH}/receivablesInvoices/42`, + fields: ORACLE_FUSION_RECEIVABLES_INVOICE_FIELDS, + input: { + receivablesInvoiceId: '42', + }, + wrapper: 'receivablesInvoice', + item: item(`${RESOURCE_PATH}/receivablesInvoices/42`, { + CustomerTransactionId: '42', + }), + }, + { + name: 'list receivables invoice line', + toolId: 'oracle_fusion_financials_list_receivables_invoice_lines', + path: `${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceLines`, + fields: ORACLE_FUSION_RECEIVABLES_INVOICE_LINE_FIELDS, + input: { + receivablesInvoiceId: '11', + }, + item: item(`${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceLines/42`, { + CustomerTransactionLineId: '42', + }), + }, + { + name: 'get receivables invoice line', + toolId: 'oracle_fusion_financials_get_receivables_invoice_line', + path: `${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceLines/42`, + fields: ORACLE_FUSION_RECEIVABLES_INVOICE_LINE_FIELDS, + input: { + receivablesInvoiceId: '11', + receivablesInvoiceLineId: '42', + }, + wrapper: 'receivablesInvoiceLine', + item: item(`${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceLines/42`, { + CustomerTransactionLineId: '42', + }), + }, + { + name: 'list receivables invoice distribution', + toolId: 'oracle_fusion_financials_list_receivables_invoice_distributions', + path: `${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceDistributions`, + fields: ORACLE_FUSION_RECEIVABLES_INVOICE_DISTRIBUTION_FIELDS, + input: { + receivablesInvoiceId: '11', + }, + item: item(`${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceDistributions/42`, { + DistributionId: '42', + }), + }, + { + name: 'get receivables invoice distribution', + toolId: 'oracle_fusion_financials_get_receivables_invoice_distribution', + path: `${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceDistributions/42`, + fields: ORACLE_FUSION_RECEIVABLES_INVOICE_DISTRIBUTION_FIELDS, + input: { + receivablesInvoiceId: '11', + receivablesInvoiceDistributionId: '42', + }, + wrapper: 'receivablesInvoiceDistribution', + item: item(`${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceDistributions/42`, { + DistributionId: '42', + }), + }, + { + name: 'list receivables invoice installment', + toolId: 'oracle_fusion_financials_list_receivables_invoice_installments', + path: `${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceInstallments`, + fields: ORACLE_FUSION_RECEIVABLES_INVOICE_INSTALLMENT_FIELDS, + input: { + receivablesInvoiceId: '11', + }, + item: item(`${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceInstallments/42`, { + InstallmentId: '42', + }), + }, + { + name: 'get receivables invoice installment', + toolId: 'oracle_fusion_financials_get_receivables_invoice_installment', + path: `${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceInstallments/42`, + fields: ORACLE_FUSION_RECEIVABLES_INVOICE_INSTALLMENT_FIELDS, + input: { + receivablesInvoiceId: '11', + receivablesInvoiceInstallmentId: '42', + }, + wrapper: 'receivablesInvoiceInstallment', + item: item(`${RESOURCE_PATH}/receivablesInvoices/11/child/receivablesInvoiceInstallments/42`, { + InstallmentId: '42', + }), + }, + { + name: 'list receivables credit memo', + toolId: 'oracle_fusion_financials_list_receivables_credit_memos', + path: `${RESOURCE_PATH}/receivablesCreditMemos`, + fields: ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_FIELDS, + item: item(`${RESOURCE_PATH}/receivablesCreditMemos/42`, { + CustomerTransactionId: '42', + }), + }, + { + name: 'get receivables credit memo', + toolId: 'oracle_fusion_financials_get_receivables_credit_memo', + path: `${RESOURCE_PATH}/receivablesCreditMemos/42`, + fields: ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_FIELDS, + input: { + receivablesCreditMemoId: '42', + }, + wrapper: 'receivablesCreditMemo', + item: item(`${RESOURCE_PATH}/receivablesCreditMemos/42`, { + CustomerTransactionId: '42', + }), + }, + { + name: 'list receivables credit memo line', + toolId: 'oracle_fusion_financials_list_receivables_credit_memo_lines', + path: `${RESOURCE_PATH}/receivablesCreditMemos/11/child/receivablesCreditMemoLines`, + fields: ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_LINE_FIELDS, + input: { + receivablesCreditMemoId: '11', + }, + item: item(`${RESOURCE_PATH}/receivablesCreditMemos/11/child/receivablesCreditMemoLines/42`, { + CustomerTransactionLineId: '42', + }), + }, + { + name: 'get receivables credit memo line', + toolId: 'oracle_fusion_financials_get_receivables_credit_memo_line', + path: `${RESOURCE_PATH}/receivablesCreditMemos/11/child/receivablesCreditMemoLines/42`, + fields: ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_LINE_FIELDS, + input: { + receivablesCreditMemoId: '11', + receivablesCreditMemoLineId: '42', + }, + wrapper: 'receivablesCreditMemoLine', + item: item(`${RESOURCE_PATH}/receivablesCreditMemos/11/child/receivablesCreditMemoLines/42`, { + CustomerTransactionLineId: '42', + }), + }, + { + name: 'list receivables credit memo distribution', + toolId: 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + path: `${RESOURCE_PATH}/receivablesCreditMemos/11/child/receivablesCreditMemoDistributions`, + fields: ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_DISTRIBUTION_FIELDS, + input: { + receivablesCreditMemoId: '11', + }, + item: item( + `${RESOURCE_PATH}/receivablesCreditMemos/11/child/receivablesCreditMemoDistributions/42`, + { + DistributionId: '42', + } + ), + }, + { + name: 'get receivables credit memo distribution', + toolId: 'oracle_fusion_financials_get_receivables_credit_memo_distribution', + path: `${RESOURCE_PATH}/receivablesCreditMemos/11/child/receivablesCreditMemoDistributions/42`, + fields: ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_DISTRIBUTION_FIELDS, + input: { + receivablesCreditMemoId: '11', + receivablesCreditMemoDistributionId: '42', + }, + wrapper: 'receivablesCreditMemoDistribution', + item: item( + `${RESOURCE_PATH}/receivablesCreditMemos/11/child/receivablesCreditMemoDistributions/42`, + { + DistributionId: '42', + } + ), + }, + { + name: 'list receivables receipt', + toolId: 'oracle_fusion_financials_list_receivables_receipts', + path: `${RESOURCE_PATH}/standardReceipts`, + fields: ORACLE_FUSION_RECEIVABLES_RECEIPT_FIELDS, + item: item(`${RESOURCE_PATH}/standardReceipts/42`, { + StandardReceiptId: '42', + }), + }, + { + name: 'get receivables receipt', + toolId: 'oracle_fusion_financials_get_receivables_receipt', + path: `${RESOURCE_PATH}/standardReceipts/42`, + fields: ORACLE_FUSION_RECEIVABLES_RECEIPT_FIELDS, + input: { + receivablesReceiptId: '42', + }, + wrapper: 'receivablesReceipt', + item: item(`${RESOURCE_PATH}/standardReceipts/42`, { + StandardReceiptId: '42', + }), + }, + { + name: 'list receivables customer account', + toolId: 'oracle_fusion_financials_list_receivables_customer_accounts', + path: `${RESOURCE_PATH}/receivablesCustomerAccountActivities`, + fields: ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_FIELDS, + item: item(`${RESOURCE_PATH}/receivablesCustomerAccountActivities/42`, { + AccountId: '42', + }), + }, + { + name: 'get receivables customer account', + toolId: 'oracle_fusion_financials_get_receivables_customer_account', + path: `${RESOURCE_PATH}/receivablesCustomerAccountActivities/42`, + fields: ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_FIELDS, + input: { + receivablesCustomerAccountId: '42', + }, + wrapper: 'receivablesCustomerAccount', + item: item(`${RESOURCE_PATH}/receivablesCustomerAccountActivities/42`, { + AccountId: '42', + }), + }, + { + name: 'list receivables customer account site', + toolId: 'oracle_fusion_financials_list_receivables_customer_account_sites', + path: `${RESOURCE_PATH}/receivablesCustomerAccountSiteActivities`, + fields: ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_SITE_FIELDS, + item: item(`${RESOURCE_PATH}/receivablesCustomerAccountSiteActivities/42`, { + BillToSiteUseId: '42', + }), + }, + { + name: 'get receivables customer account site', + toolId: 'oracle_fusion_financials_get_receivables_customer_account_site', + path: `${RESOURCE_PATH}/receivablesCustomerAccountSiteActivities/42`, + fields: ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_SITE_FIELDS, + input: { + receivablesCustomerAccountSiteId: '42', + }, + wrapper: 'receivablesCustomerAccountSite', + item: item(`${RESOURCE_PATH}/receivablesCustomerAccountSiteActivities/42`, { + BillToSiteUseId: '42', + }), + }, + { + name: 'list receivables receipt application', + toolId: 'oracle_fusion_financials_list_receivables_receipt_applications', + path: `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/standardReceiptApplications`, + fields: ORACLE_FUSION_RECEIVABLES_RECEIPT_APPLICATION_FIELDS, + input: { + receivablesCustomerAccountId: '11', + }, + item: item( + `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/standardReceiptApplications/42`, + { + ApplicationId: '42', + } + ), + }, + { + name: 'get receivables receipt application', + toolId: 'oracle_fusion_financials_get_receivables_receipt_application', + path: `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/standardReceiptApplications/42`, + fields: ORACLE_FUSION_RECEIVABLES_RECEIPT_APPLICATION_FIELDS, + input: { + receivablesCustomerAccountId: '11', + receivablesReceiptApplicationId: '42', + }, + wrapper: 'receivablesReceiptApplication', + item: item( + `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/standardReceiptApplications/42`, + { + ApplicationId: '42', + } + ), + }, + { + name: 'list receivables credit memo application', + toolId: 'oracle_fusion_financials_list_receivables_credit_memo_applications', + path: `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/creditMemoApplications`, + fields: ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_APPLICATION_FIELDS, + input: { + receivablesCustomerAccountId: '11', + }, + item: item( + `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/creditMemoApplications/42`, + { + ApplicationId: '42', + } + ), + }, + { + name: 'get receivables credit memo application', + toolId: 'oracle_fusion_financials_get_receivables_credit_memo_application', + path: `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/creditMemoApplications/42`, + fields: ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_APPLICATION_FIELDS, + input: { + receivablesCustomerAccountId: '11', + receivablesCreditMemoApplicationId: '42', + }, + wrapper: 'receivablesCreditMemoApplication', + item: item( + `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/creditMemoApplications/42`, + { + ApplicationId: '42', + } + ), + }, + { + name: 'list receivables transaction payment schedule', + toolId: 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + path: `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/transactionPaymentSchedules`, + fields: ORACLE_FUSION_RECEIVABLES_TRANSACTION_PAYMENT_SCHEDULE_FIELDS, + input: { + receivablesCustomerAccountId: '11', + }, + item: item( + `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/transactionPaymentSchedules/42`, + { + InstallmentId: '42', + } + ), + }, + { + name: 'get receivables transaction payment schedule', + toolId: 'oracle_fusion_financials_get_receivables_transaction_payment_schedule', + path: `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/transactionPaymentSchedules/42`, + fields: ORACLE_FUSION_RECEIVABLES_TRANSACTION_PAYMENT_SCHEDULE_FIELDS, + input: { + receivablesCustomerAccountId: '11', + receivablesTransactionPaymentScheduleId: '42', + }, + wrapper: 'receivablesTransactionPaymentSchedule', + item: item( + `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/transactionPaymentSchedules/42`, + { + InstallmentId: '42', + } + ), + }, + { + name: 'list receivables transaction adjustment', + toolId: 'oracle_fusion_financials_list_receivables_transaction_adjustments', + path: `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/transactionAdjustments`, + fields: ORACLE_FUSION_RECEIVABLES_TRANSACTION_ADJUSTMENT_FIELDS, + input: { + receivablesCustomerAccountId: '11', + }, + item: item( + `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/transactionAdjustments/42`, + { + AdjustmentId: '42', + } + ), + }, + { + name: 'get receivables transaction adjustment', + toolId: 'oracle_fusion_financials_get_receivables_transaction_adjustment', + path: `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/transactionAdjustments/42`, + fields: ORACLE_FUSION_RECEIVABLES_TRANSACTION_ADJUSTMENT_FIELDS, + input: { + receivablesCustomerAccountId: '11', + receivablesTransactionAdjustmentId: '42', + }, + wrapper: 'receivablesTransactionAdjustment', + item: item( + `${RESOURCE_PATH}/receivablesCustomerAccountActivities/11/child/transactionAdjustments/42`, + { + AdjustmentId: '42', + } + ), + }, + { + name: 'list expense report', + toolId: 'oracle_fusion_financials_list_expense_reports', + path: `${RESOURCE_PATH}/expenseReports`, + fields: ORACLE_FUSION_EXPENSE_REPORT_FIELDS, + item: item(`${RESOURCE_PATH}/expenseReports/RESOURCEKEY`, { + ExpenseReportId: '42', + }), + derivedKey: { name: 'expenseReportUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'get expense report', + toolId: 'oracle_fusion_financials_get_expense_report', + path: `${RESOURCE_PATH}/expenseReports/RESOURCEKEY`, + fields: ORACLE_FUSION_EXPENSE_REPORT_FIELDS, + input: { + expenseReportUniqId: 'RESOURCEKEY', + }, + wrapper: 'expenseReport', + item: item(`${RESOURCE_PATH}/expenseReports/RESOURCEKEY`, { + ExpenseReportId: '42', + }), + derivedKey: { name: 'expenseReportUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'list expense line', + toolId: 'oracle_fusion_financials_list_expense_lines', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense`, + fields: ORACLE_FUSION_EXPENSE_LINE_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + }, + item: item(`${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/RESOURCEKEY`, { + ExpenseId: '42', + }), + derivedKey: { name: 'expenseLineUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'get expense line', + toolId: 'oracle_fusion_financials_get_expense_line', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/RESOURCEKEY`, + fields: ORACLE_FUSION_EXPENSE_LINE_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + expenseLineUniqId: 'RESOURCEKEY', + }, + wrapper: 'expenseLine', + item: item(`${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/RESOURCEKEY`, { + ExpenseId: '42', + }), + derivedKey: { name: 'expenseLineUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'list expense distribution', + toolId: 'oracle_fusion_financials_list_expense_distributions', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/ExpenseDistribution`, + fields: ORACLE_FUSION_EXPENSE_DISTRIBUTION_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + expenseLineUniqId: 'PARENTKEY1', + }, + item: item( + `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/ExpenseDistribution/42`, + { + ExpenseDistId: '42', + } + ), + }, + { + name: 'get expense distribution', + toolId: 'oracle_fusion_financials_get_expense_distribution', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/ExpenseDistribution/42`, + fields: ORACLE_FUSION_EXPENSE_DISTRIBUTION_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + expenseLineUniqId: 'PARENTKEY1', + expenseDistributionId: '42', + }, + wrapper: 'expenseDistribution', + item: item( + `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/ExpenseDistribution/42`, + { + ExpenseDistId: '42', + } + ), + }, + { + name: 'list expense itemization', + toolId: 'oracle_fusion_financials_list_expense_itemizations', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/ExpenseItemization`, + fields: ORACLE_FUSION_EXPENSE_ITEMIZATION_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + expenseLineUniqId: 'PARENTKEY1', + }, + item: item( + `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/ExpenseItemization/42`, + { + ExpenseId: '42', + } + ), + }, + { + name: 'get expense itemization', + toolId: 'oracle_fusion_financials_get_expense_itemization', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/ExpenseItemization/42`, + fields: ORACLE_FUSION_EXPENSE_ITEMIZATION_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + expenseLineUniqId: 'PARENTKEY1', + expenseItemizationId: '42', + }, + wrapper: 'expenseItemization', + item: item( + `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/ExpenseItemization/42`, + { + ExpenseId: '42', + } + ), + }, + { + name: 'list expense report processing detail', + toolId: 'oracle_fusion_financials_list_expense_report_processing_details', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/processingDetails`, + fields: ORACLE_FUSION_EXPENSE_REPORT_PROCESSING_DETAIL_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + }, + item: item(`${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/processingDetails/RESOURCEKEY`, { + ExpenseReportProcessingId: 42, + }), + derivedKey: { name: 'expenseReportProcessingDetailUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'get expense report processing detail', + toolId: 'oracle_fusion_financials_get_expense_report_processing_detail', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/processingDetails/RESOURCEKEY`, + fields: ORACLE_FUSION_EXPENSE_REPORT_PROCESSING_DETAIL_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + expenseReportProcessingDetailUniqId: 'RESOURCEKEY', + }, + wrapper: 'expenseReportProcessingDetail', + item: item(`${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/processingDetails/RESOURCEKEY`, { + ExpenseReportProcessingId: 42, + }), + derivedKey: { name: 'expenseReportProcessingDetailUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'list expense report payment', + toolId: 'oracle_fusion_financials_list_expense_report_payments', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/ExpensePayment`, + fields: ORACLE_FUSION_EXPENSE_REPORT_PAYMENT_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + }, + item: item(`${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/ExpensePayment/42`, { + ExpenseReportId: '42', + }), + }, + { + name: 'get expense report payment', + toolId: 'oracle_fusion_financials_get_expense_report_payment', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/ExpensePayment/42`, + fields: ORACLE_FUSION_EXPENSE_REPORT_PAYMENT_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + expenseReportPaymentId: '42', + }, + wrapper: 'expenseReportPayment', + item: item(`${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/ExpensePayment/42`, { + ExpenseReportId: '42', + }), + }, + { + name: 'list expense line error', + toolId: 'oracle_fusion_financials_list_expense_line_errors', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/expenseErrors`, + fields: ORACLE_FUSION_EXPENSE_LINE_ERROR_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + expenseLineUniqId: 'PARENTKEY1', + }, + item: item( + `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/expenseErrors/42`, + { + ErrorSequence: 42, + } + ), + }, + { + name: 'get expense line error', + toolId: 'oracle_fusion_financials_get_expense_line_error', + path: `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/expenseErrors/42`, + fields: ORACLE_FUSION_EXPENSE_LINE_ERROR_FIELDS, + input: { + expenseReportUniqId: 'PARENTKEY0', + expenseLineUniqId: 'PARENTKEY1', + expenseLineErrorSequence: '42', + }, + wrapper: 'expenseLineError', + item: item( + `${RESOURCE_PATH}/expenseReports/PARENTKEY0/child/Expense/PARENTKEY1/child/expenseErrors/42`, + { + ErrorSequence: 42, + } + ), + }, + { + name: 'list gl ledger', + toolId: 'oracle_fusion_financials_list_gl_ledgers', + path: `${RESOURCE_PATH}/ledgersLOV`, + fields: ORACLE_FUSION_GL_LEDGER_FIELDS, + item: item(`${RESOURCE_PATH}/ledgersLOV/42`, { + LedgerId: '42', + }), + }, + { + name: 'get gl ledger', + toolId: 'oracle_fusion_financials_get_gl_ledger', + path: `${RESOURCE_PATH}/ledgersLOV/42`, + fields: ORACLE_FUSION_GL_LEDGER_FIELDS, + input: { + glLedgerId: '42', + }, + wrapper: 'glLedger', + item: item(`${RESOURCE_PATH}/ledgersLOV/42`, { + LedgerId: '42', + }), + }, + { + name: 'list gl journal batch', + toolId: 'oracle_fusion_financials_list_gl_journal_batches', + path: `${RESOURCE_PATH}/journalBatches`, + fields: ORACLE_FUSION_GL_JOURNAL_BATCH_FIELDS, + item: item(`${RESOURCE_PATH}/journalBatches/42`, { + JeBatchId: '42', + }), + }, + { + name: 'get gl journal batch', + toolId: 'oracle_fusion_financials_get_gl_journal_batch', + path: `${RESOURCE_PATH}/journalBatches/42`, + fields: ORACLE_FUSION_GL_JOURNAL_BATCH_FIELDS, + input: { + glJournalBatchId: '42', + }, + wrapper: 'glJournalBatch', + item: item(`${RESOURCE_PATH}/journalBatches/42`, { + JeBatchId: '42', + }), + }, + { + name: 'list gl journal header', + toolId: 'oracle_fusion_financials_list_gl_journal_headers', + path: `${RESOURCE_PATH}/journalBatches/11/child/journalHeaders`, + fields: ORACLE_FUSION_GL_JOURNAL_HEADER_FIELDS, + input: { + glJournalBatchId: '11', + }, + item: item(`${RESOURCE_PATH}/journalBatches/11/child/journalHeaders/RESOURCEKEY`, { + JournalName: 'Example', + }), + derivedKey: { name: 'glJournalHeaderUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'get gl journal header', + toolId: 'oracle_fusion_financials_get_gl_journal_header', + path: `${RESOURCE_PATH}/journalBatches/11/child/journalHeaders/RESOURCEKEY`, + fields: ORACLE_FUSION_GL_JOURNAL_HEADER_FIELDS, + input: { + glJournalBatchId: '11', + glJournalHeaderUniqId: 'RESOURCEKEY', + }, + wrapper: 'glJournalHeader', + item: item(`${RESOURCE_PATH}/journalBatches/11/child/journalHeaders/RESOURCEKEY`, { + JournalName: 'Example', + }), + derivedKey: { name: 'glJournalHeaderUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'list gl journal line', + toolId: 'oracle_fusion_financials_list_gl_journal_lines', + path: `${RESOURCE_PATH}/journalBatches/11/child/journalHeaders/PARENTKEY1/child/journalLines`, + fields: ORACLE_FUSION_GL_JOURNAL_LINE_FIELDS, + input: { + glJournalBatchId: '11', + glJournalHeaderUniqId: 'PARENTKEY1', + }, + item: item( + `${RESOURCE_PATH}/journalBatches/11/child/journalHeaders/PARENTKEY1/child/journalLines/RESOURCEKEY`, + { + JeLineNumber: '42', + } + ), + derivedKey: { name: 'glJournalLineUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'get gl journal line', + toolId: 'oracle_fusion_financials_get_gl_journal_line', + path: `${RESOURCE_PATH}/journalBatches/11/child/journalHeaders/PARENTKEY1/child/journalLines/RESOURCEKEY`, + fields: ORACLE_FUSION_GL_JOURNAL_LINE_FIELDS, + input: { + glJournalBatchId: '11', + glJournalHeaderUniqId: 'PARENTKEY1', + glJournalLineUniqId: 'RESOURCEKEY', + }, + wrapper: 'glJournalLine', + item: item( + `${RESOURCE_PATH}/journalBatches/11/child/journalHeaders/PARENTKEY1/child/journalLines/RESOURCEKEY`, + { + JeLineNumber: '42', + } + ), + derivedKey: { name: 'glJournalLineUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'list gl journal error', + toolId: 'oracle_fusion_financials_list_gl_journal_errors', + path: `${RESOURCE_PATH}/journalBatches/11/child/journalErrors`, + fields: ORACLE_FUSION_GL_JOURNAL_ERROR_FIELDS, + input: { + glJournalBatchId: '11', + }, + item: item(`${RESOURCE_PATH}/journalBatches/11/child/journalErrors/RESOURCEKEY`, { + ErrorNumber: '42', + }), + derivedKey: { name: 'glJournalErrorUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'get gl journal error', + toolId: 'oracle_fusion_financials_get_gl_journal_error', + path: `${RESOURCE_PATH}/journalBatches/11/child/journalErrors/RESOURCEKEY`, + fields: ORACLE_FUSION_GL_JOURNAL_ERROR_FIELDS, + input: { + glJournalBatchId: '11', + glJournalErrorUniqId: 'RESOURCEKEY', + }, + wrapper: 'glJournalError', + item: item(`${RESOURCE_PATH}/journalBatches/11/child/journalErrors/RESOURCEKEY`, { + ErrorNumber: '42', + }), + derivedKey: { name: 'glJournalErrorUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'list gl journal action log', + toolId: 'oracle_fusion_financials_list_gl_journal_action_logs', + path: `${RESOURCE_PATH}/journalBatches/11/child/journalActionLogs`, + fields: ORACLE_FUSION_GL_JOURNAL_ACTION_LOG_FIELDS, + input: { + glJournalBatchId: '11', + }, + item: item(`${RESOURCE_PATH}/journalBatches/11/child/journalActionLogs/RESOURCEKEY`, { + ActionCodeMeaning: 'Example', + }), + derivedKey: { name: 'glJournalActionLogUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'get gl journal action log', + toolId: 'oracle_fusion_financials_get_gl_journal_action_log', + path: `${RESOURCE_PATH}/journalBatches/11/child/journalActionLogs/RESOURCEKEY`, + fields: ORACLE_FUSION_GL_JOURNAL_ACTION_LOG_FIELDS, + input: { + glJournalBatchId: '11', + glJournalActionLogUniqId: 'RESOURCEKEY', + }, + wrapper: 'glJournalActionLog', + item: item(`${RESOURCE_PATH}/journalBatches/11/child/journalActionLogs/RESOURCEKEY`, { + ActionCodeMeaning: 'Example', + }), + derivedKey: { name: 'glJournalActionLogUniqId', value: 'RESOURCEKEY' }, + }, + { + name: 'list gl balance', + toolId: 'oracle_fusion_financials_list_gl_balances', + path: `${RESOURCE_PATH}/ledgerBalances`, + fields: ORACLE_FUSION_GL_BALANCE_FIELDS, + item: item(`${RESOURCE_PATH}/ledgerBalances`, { + ActualBalance: '#MISSING', + EndingBalance: 'N/A', + BeginningBalance: null, + }), + }, + { + name: 'list invoices', + toolId: 'oracle_fusion_financials_list_payables_invoices', + path: `${RESOURCE_PATH}/invoices`, + fields: ORACLE_FUSION_INVOICE_FIELDS, + item: item(INVOICE_PATH, { InvoiceId: 1, InvoiceNumber: 'INV-1' }), + derivedKey: { name: 'invoiceUniqId', value: 'INVOICEKEY' }, + }, + { + name: 'get invoice', + toolId: 'oracle_fusion_financials_get_payables_invoice', + path: INVOICE_PATH, + fields: ORACLE_FUSION_INVOICE_FIELDS, + input: { invoiceUniqId: 'INVOICEKEY' }, + wrapper: 'invoice', + item: item(INVOICE_PATH, { InvoiceId: 1, InvoiceNumber: 'INV-1' }), + derivedKey: { name: 'invoiceUniqId', value: 'INVOICEKEY' }, + }, + { + name: 'list invoice lines', + toolId: 'oracle_fusion_financials_list_payables_invoice_lines', + path: LINE_COLLECTION_PATH, + fields: ORACLE_FUSION_INVOICE_LINE_FIELDS, + input: { invoiceUniqId: 'INVOICEKEY' }, + item: item(LINE_PATH, { LineNumber: 1, LineAmount: 12.5 }), + derivedKey: { name: 'invoiceLineUniqId', value: 'LINEKEY' }, + }, + { + name: 'get invoice line', + toolId: 'oracle_fusion_financials_get_payables_invoice_line', + path: LINE_PATH, + fields: ORACLE_FUSION_INVOICE_LINE_FIELDS, + input: { invoiceUniqId: 'INVOICEKEY', invoiceLineUniqId: 'LINEKEY' }, + wrapper: 'invoiceLine', + item: item(LINE_PATH, { LineNumber: 1, LineAmount: 12.5 }), + derivedKey: { name: 'invoiceLineUniqId', value: 'LINEKEY' }, + }, + { + name: 'list invoice installments', + toolId: 'oracle_fusion_financials_list_payables_invoice_installments', + path: INSTALLMENT_COLLECTION_PATH, + fields: ORACLE_FUSION_INSTALLMENT_FIELDS, + input: { invoiceUniqId: 'INVOICEKEY' }, + item: item(INSTALLMENT_PATH, { InstallmentNumber: 1, DueDate: '2026-09-30' }), + derivedKey: { name: 'invoiceInstallmentUniqId', value: 'INSTALLMENTKEY' }, + }, + { + name: 'get invoice installment', + toolId: 'oracle_fusion_financials_get_payables_invoice_installment', + path: INSTALLMENT_PATH, + fields: ORACLE_FUSION_INSTALLMENT_FIELDS, + input: { invoiceUniqId: 'INVOICEKEY', invoiceInstallmentUniqId: 'INSTALLMENTKEY' }, + wrapper: 'invoiceInstallment', + item: item(INSTALLMENT_PATH, { InstallmentNumber: 1, DueDate: '2026-09-30' }), + derivedKey: { name: 'invoiceInstallmentUniqId', value: 'INSTALLMENTKEY' }, + }, + { + name: 'list invoice distributions', + toolId: 'oracle_fusion_financials_list_payables_invoice_distributions', + path: DISTRIBUTION_COLLECTION_PATH, + fields: ORACLE_FUSION_INVOICE_DISTRIBUTION_FIELDS, + input: { invoiceUniqId: 'INVOICEKEY', invoiceLineUniqId: 'LINEKEY' }, + item: item(`${DISTRIBUTION_COLLECTION_PATH}/99`, { InvoiceDistributionId: 99 }), + }, + { + name: 'get invoice distribution', + toolId: 'oracle_fusion_financials_get_payables_invoice_distribution', + path: `${DISTRIBUTION_COLLECTION_PATH}/99`, + fields: ORACLE_FUSION_INVOICE_DISTRIBUTION_FIELDS, + input: { + invoiceUniqId: 'INVOICEKEY', + invoiceLineUniqId: 'LINEKEY', + invoiceDistributionId: '99', + }, + wrapper: 'invoiceDistribution', + item: item(`${DISTRIBUTION_COLLECTION_PATH}/99`, { InvoiceDistributionId: 99 }), + }, + { + name: 'list applied prepayments', + toolId: 'oracle_fusion_financials_list_payables_applied_prepayments', + path: APPLIED_COLLECTION_PATH, + fields: ORACLE_FUSION_APPLIED_PREPAYMENT_FIELDS, + input: { invoiceUniqId: 'INVOICEKEY' }, + item: item(`${APPLIED_COLLECTION_PATH}/APPLIEDKEY`, { AppliedAmount: 40 }), + derivedKey: { name: 'appliedPrepaymentUniqId', value: 'APPLIEDKEY' }, + }, + { + name: 'get applied prepayment', + toolId: 'oracle_fusion_financials_get_payables_applied_prepayment', + path: `${APPLIED_COLLECTION_PATH}/APPLIEDKEY`, + fields: ORACLE_FUSION_APPLIED_PREPAYMENT_FIELDS, + input: { invoiceUniqId: 'INVOICEKEY', appliedPrepaymentUniqId: 'APPLIEDKEY' }, + wrapper: 'appliedPrepayment', + item: item(`${APPLIED_COLLECTION_PATH}/APPLIEDKEY`, { AppliedAmount: 40 }), + derivedKey: { name: 'appliedPrepaymentUniqId', value: 'APPLIEDKEY' }, + }, + { + name: 'list available prepayments', + toolId: 'oracle_fusion_financials_list_payables_available_prepayments', + path: AVAILABLE_COLLECTION_PATH, + fields: ORACLE_FUSION_AVAILABLE_PREPAYMENT_FIELDS, + input: { invoiceUniqId: 'INVOICEKEY' }, + item: item(`${AVAILABLE_COLLECTION_PATH}/AVAILABLEKEY`, { AvailableAmount: 60 }), + derivedKey: { name: 'availablePrepaymentUniqId', value: 'AVAILABLEKEY' }, + }, + { + name: 'get available prepayment', + toolId: 'oracle_fusion_financials_get_payables_available_prepayment', + path: `${AVAILABLE_COLLECTION_PATH}/AVAILABLEKEY`, + fields: ORACLE_FUSION_AVAILABLE_PREPAYMENT_FIELDS, + input: { invoiceUniqId: 'INVOICEKEY', availablePrepaymentUniqId: 'AVAILABLEKEY' }, + wrapper: 'availablePrepayment', + item: item(`${AVAILABLE_COLLECTION_PATH}/AVAILABLEKEY`, { AvailableAmount: 60 }), + derivedKey: { name: 'availablePrepaymentUniqId', value: 'AVAILABLEKEY' }, + }, + { + name: 'list payments', + toolId: 'oracle_fusion_financials_list_payables_payments', + path: `${RESOURCE_PATH}/payablesPayments`, + fields: ORACLE_FUSION_PAYMENT_FIELDS, + item: item(PAYMENT_PATH, { CheckId: 42, PaymentAmount: 100 }), + }, + { + name: 'get payment', + toolId: 'oracle_fusion_financials_get_payables_payment', + path: PAYMENT_PATH, + fields: ORACLE_FUSION_PAYMENT_FIELDS, + input: { checkId: '42' }, + wrapper: 'payment', + item: item(PAYMENT_PATH, { CheckId: 42, PaymentAmount: 100 }), + }, + { + name: 'list payment-related invoices', + toolId: 'oracle_fusion_financials_list_payables_payment_related_invoices', + path: RELATED_COLLECTION_PATH, + fields: ORACLE_FUSION_PAYMENT_RELATED_INVOICE_FIELDS, + input: { checkId: '42' }, + item: item(`${RELATED_COLLECTION_PATH}/88`, { InvoicePaymentId: 88, CheckId: 42 }), + }, + { + name: 'get payment-related invoice', + toolId: 'oracle_fusion_financials_get_payables_payment_related_invoice', + path: `${RELATED_COLLECTION_PATH}/88`, + fields: ORACLE_FUSION_PAYMENT_RELATED_INVOICE_FIELDS, + input: { checkId: '42', invoicePaymentId: '88' }, + wrapper: 'paymentRelatedInvoice', + item: item(`${RELATED_COLLECTION_PATH}/88`, { InvoicePaymentId: 88, CheckId: 42 }), + }, + { + name: 'list payment process requests', + toolId: 'oracle_fusion_financials_list_payment_process_requests', + path: `${RESOURCE_PATH}/paymentProcessRequests`, + fields: ORACLE_FUSION_PAYMENT_PROCESS_REQUEST_FIELDS, + item: item(`${RESOURCE_PATH}/paymentProcessRequests/17`, { PaymentProcessRequestId: 17 }), + }, + { + name: 'get payment process request', + toolId: 'oracle_fusion_financials_get_payment_process_request', + path: `${RESOURCE_PATH}/paymentProcessRequests/17`, + fields: ORACLE_FUSION_PAYMENT_PROCESS_REQUEST_FIELDS, + input: { paymentProcessRequestId: '17' }, + wrapper: 'paymentProcessRequest', + item: item(`${RESOURCE_PATH}/paymentProcessRequests/17`, { PaymentProcessRequestId: 17 }), + }, + { + name: 'list invoice holds', + toolId: 'oracle_fusion_financials_list_payables_invoice_holds', + path: `${RESOURCE_PATH}/invoiceHolds`, + fields: ORACLE_FUSION_INVOICE_HOLD_FIELDS, + item: item(`${RESOURCE_PATH}/invoiceHolds/21`, { HoldId: 21, HoldName: 'Amount' }), + }, + { + name: 'get invoice hold', + toolId: 'oracle_fusion_financials_get_payables_invoice_hold', + path: `${RESOURCE_PATH}/invoiceHolds/21`, + fields: ORACLE_FUSION_INVOICE_HOLD_FIELDS, + input: { holdId: '21' }, + wrapper: 'invoiceHold', + item: item(`${RESOURCE_PATH}/invoiceHolds/21`, { HoldId: 21, HoldName: 'Amount' }), + }, + { + name: 'list payment terms', + toolId: 'oracle_fusion_financials_list_payables_payment_terms', + path: `${RESOURCE_PATH}/payablesPaymentTerms`, + fields: ORACLE_FUSION_PAYMENT_TERM_FIELDS, + item: item(TERM_PATH, { termsId: 73, name: 'Net 30' }), + }, + { + name: 'get payment term', + toolId: 'oracle_fusion_financials_get_payables_payment_term', + path: TERM_PATH, + fields: ORACLE_FUSION_PAYMENT_TERM_FIELDS, + input: { termsId: '73' }, + wrapper: 'paymentTerm', + item: item(TERM_PATH, { termsId: 73, name: 'Net 30' }), + }, + { + name: 'list payment term lines', + toolId: 'oracle_fusion_financials_list_payables_payment_term_lines', + path: TERM_LINE_COLLECTION_PATH, + fields: ORACLE_FUSION_PAYMENT_TERM_LINE_FIELDS, + input: { termsId: '73' }, + item: item(`${TERM_LINE_COLLECTION_PATH}/TERMLINEKEY`, { termsId: 73, sequenceNumber: 1 }), + derivedKey: { name: 'paymentTermLineUniqId', value: 'TERMLINEKEY' }, + }, + { + name: 'get payment term line', + toolId: 'oracle_fusion_financials_get_payables_payment_term_line', + path: `${TERM_LINE_COLLECTION_PATH}/TERMLINEKEY`, + fields: ORACLE_FUSION_PAYMENT_TERM_LINE_FIELDS, + input: { termsId: '73', paymentTermLineUniqId: 'TERMLINEKEY' }, + wrapper: 'paymentTermLine', + item: item(`${TERM_LINE_COLLECTION_PATH}/TERMLINEKEY`, { termsId: 73, sequenceNumber: 1 }), + derivedKey: { name: 'paymentTermLineUniqId', value: 'TERMLINEKEY' }, + }, +] + +describe('Oracle Fusion Financials operations', () => { + beforeEach(() => { + vi.clearAllMocks() + mockSecureFetch.mockReset() + mockValidateUrl.mockReset().mockResolvedValue({ + isValid: true, + resolvedIP: '203.0.113.25', + originalHostname: 'vision.fa.us2.oraclecloud.com', + }) + }) + + it('keeps journal child keys distinct from display numbers across lookup steps', async () => { + const batchPath = `${RESOURCE_PATH}/journalBatches/42` + const headerPath = `${batchPath}/child/journalHeaders/%20header%252Fkey%20` + const linePath = `${headerPath}/child/journalLines/%20line%20key%20` + const modernItem = (path: string, values: Record) => ({ + ...values, + '@context': { links: selfLink(path), key: 'not-the-resource-key' }, + }) + mockSecureFetch + .mockResolvedValueOnce( + response(200, page([modernItem(headerPath, { JournalName: 'Accrual' })])) + ) + .mockResolvedValueOnce(response(200, page([modernItem(linePath, { JeLineNumber: 10 })]))) + .mockResolvedValueOnce(response(200, modernItem(linePath, { JeLineNumber: 10 }))) + const headers = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_gl_journal_headers', + { ...AUTH, glJournalBatchId: '42' } + ) + const glJournalHeaderUniqId = headers.output.items[0].glJournalHeaderUniqId + expect(glJournalHeaderUniqId).toBe(' header%2Fkey ') + const lines = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_gl_journal_lines', + { ...AUTH, glJournalBatchId: '42', glJournalHeaderUniqId } + ) + const glJournalLineUniqId = lines.output.items[0].glJournalLineUniqId + expect(glJournalLineUniqId).toBe(' line key ') + const detail = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_get_gl_journal_line', + { ...AUTH, glJournalBatchId: '42', glJournalHeaderUniqId, glJournalLineUniqId } + ) + expect(detail.output.glJournalLine).toEqual({ + glJournalLineUniqId: ' line key ', + JeLineNumber: '10', + }) + expect(mockSecureFetch).toHaveBeenCalledTimes(3) + }) + + it('forwards balance finders without converting strings or estimating pagination termination', async () => { + const finder = + 'AccountBalanceFinder;ledgerName=US Primary,accountCombination=01-120-5000,accountingPeriod=Sep-26' + const balances = { + ActualBalance: '#MISSING', + BeginningBalance: null, + EndingBalance: 'N/A', + PeriodActivity: '120.00', + } + mockSecureFetch.mockResolvedValueOnce( + response(200, { ...page([balances]), hasMore: true, totalResults: 0 }) + ) + const result = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_gl_balances', + { ...AUTH, finder, totalResults: true } + ) + expect(result.output).toEqual({ + items: [balances], + count: 1, + hasMore: true, + limit: 50, + offset: 0, + totalResults: 0, + }) + expect(new URL(mockSecureFetch.mock.calls[0][0]).searchParams.get('finder')).toBe(finder) + expect(mockSecureFetch).toHaveBeenCalledTimes(1) + }) + + it('accepts an empty successful journal-batch deletion response', async () => { + mockSecureFetch.mockResolvedValueOnce(response(204, '')) + const result = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_delete_gl_journal_batch', + { ...AUTH, glJournalBatchId: '9007199254740993' } + ) + expect(result).toEqual({ + success: true, + output: { deleted: true, id: '9007199254740993' }, + }) + expect(mockSecureFetch.mock.calls[0][2]).toMatchObject({ method: 'DELETE' }) + }) + + it('creates typed nested invoice lines and keeps the response projection fixed', async () => { + mockSecureFetch.mockResolvedValueOnce( + response( + 201, + item(`${RESOURCE_PATH}/receivablesInvoices/9007199254740993`, { + CustomerTransactionId: '9007199254740993', + TransactionNumber: 'AR-1', + }) + ) + ) + const result = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_create_receivables_invoice', + { + ...AUTH, + businessUnit: 'Vision Operations', + invoiceCurrencyCode: 'USD', + lines: [{ LineNumber: 1, Description: 'Consulting', Quantity: 2, UnitSellingPrice: 50 }], + distributions: [{ AccountClass: 'REC', Amount: 100, AccountCombination: '01-1200' }], + arbitraryBody: { private: 'must-not-be-sent' }, + } + ) + const [url, , options] = mockSecureFetch.mock.calls[0] + expect(new URL(url).pathname).toBe(`${RESOURCE_PATH}/receivablesInvoices`) + expect(options.method).toBe('POST') + expect(JSON.parse(options.body)).toEqual({ + BusinessUnit: 'Vision Operations', + InvoiceCurrencyCode: 'USD', + receivablesInvoiceLines: [ + { LineNumber: 1, Description: 'Consulting', Quantity: 2, UnitSellingPrice: 50 }, + ], + receivablesInvoiceDistributions: [ + { AccountClass: 'REC', Amount: 100, AccountCombination: '01-1200' }, + ], + }) + expect(result.output).toEqual({ + receivablesInvoice: { CustomerTransactionId: '9007199254740993', TransactionNumber: 'AR-1' }, + }) + }) + + it('restricts invoice and installment updates to their documented writable fields', async () => { + mockSecureFetch + .mockResolvedValueOnce( + response( + 200, + item(`${RESOURCE_PATH}/receivablesInvoices/42`, { CustomerTransactionId: '42' }) + ) + ) + .mockResolvedValueOnce( + response( + 200, + item(`${RESOURCE_PATH}/receivablesInvoices/42/child/receivablesInvoiceInstallments/7`, { + InstallmentId: '7', + OriginalAmount: 100, + }) + ) + ) + await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_update_receivables_invoice', + { ...AUTH, receivablesInvoiceId: '42', paymentTerms: 'Net 30', businessUnit: 'Unrelated' } + ) + await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_update_receivables_invoice_installment', + { + ...AUTH, + receivablesInvoiceId: '42', + receivablesInvoiceInstallmentId: '7', + originalAmount: 100, + excludeFromCollections: true, + } + ) + expect(JSON.parse(mockSecureFetch.mock.calls[0][2].body)).toEqual({ PaymentTerms: 'Net 30' }) + expect(JSON.parse(mockSecureFetch.mock.calls[1][2].body)).toEqual({ OriginalAmount: 100 }) + }) + + it('carries an exact installment identifier from invoice reads into receipt application', async () => { + const installmentId = '9007199254740993' + mockSecureFetch + .mockResolvedValueOnce( + response( + 200, + page([ + item(`${RESOURCE_PATH}/receivablesInvoices/42`, { + CustomerTransactionId: '42', + TransactionNumber: 'AR-42', + }), + ]) + ) + ) + .mockResolvedValueOnce( + response( + 200, + page([ + item( + `${RESOURCE_PATH}/receivablesInvoices/42/child/receivablesInvoiceInstallments/${installmentId}`, + { InstallmentId: installmentId, BalanceDue: 12.5 } + ), + ]) + ) + ) + .mockResolvedValueOnce(response(200, { result: 'SUCCESS' })) + const invoices = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_receivables_invoices', + AUTH + ) + const invoiceId = invoices.output.items[0].CustomerTransactionId + const installments = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_receivables_invoice_installments', + { ...AUTH, receivablesInvoiceId: invoiceId } + ) + const selectedId = installments.output.items[0].InstallmentId + const applied = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_apply_receivables_receipt', + { + ...AUTH, + receivablesReceiptId: '88', + appliedPaymentScheduleId: selectedId, + amountApplied: 12.5, + } + ) + const [url, , options] = mockSecureFetch.mock.calls[2] + expect(new URL(url).pathname).toBe(`${RESOURCE_PATH}/standardReceipts/88/action/applyReceipt`) + expect(options.body).toBe('{"appliedPaymentScheduleId":9007199254740993,"amountApplied":12.5}') + expect(new Headers(options.headers).get('Content-Type')).toBe( + 'application/vnd.oracle.adf.action+json' + ) + expect(applied).toEqual({ success: true, output: { result: 'SUCCESS' } }) + expect(mockSecureFetch).toHaveBeenCalledTimes(3) + }) + + it.each([ + ['oracle_fusion_financials_approve_receivables_invoice', { receivablesInvoiceId: '42' }], + ['oracle_fusion_financials_rework_receivables_invoice', { receivablesInvoiceId: '42' }], + ['oracle_fusion_financials_approve_receivables_credit_memo', { receivablesCreditMemoId: '42' }], + ['oracle_fusion_financials_rework_receivables_credit_memo', { receivablesCreditMemoId: '42' }], + [ + 'oracle_fusion_financials_apply_receivables_receipt', + { receivablesReceiptId: '42', appliedPaymentScheduleId: '9007199254740993' }, + ], + ] as const)( + 'does not mistake an unsuccessful %s result for business success', + async (toolId, input) => { + mockSecureFetch.mockResolvedValueOnce( + response(200, { result: 'ERROR', internal: AUTH.accessToken }) + ) + const result = await executeOracleFusionFinancialsOperation(toolId, { ...AUTH, ...input }) + expect(result).toEqual({ + success: false, + output: { result: 'ERROR' }, + error: 'Oracle Fusion action reported an unsuccessful result', + }) + expect(mockSecureFetch).toHaveBeenCalledTimes(1) + } + ) + + it.each([ + ['oracle_fusion_financials_delete_receivables_invoice', { receivablesInvoiceId: '42' }], + ['oracle_fusion_financials_delete_receivables_receipt', { receivablesReceiptId: '42' }], + ] as const)('accepts successful no-content deletion for %s', async (toolId, input) => { + mockSecureFetch.mockResolvedValueOnce(response(204, '')) + const result = await executeOracleFusionFinancialsOperation(toolId, { ...AUTH, ...input }) + expect(result).toEqual({ success: true, output: { deleted: true, id: '42' } }) + expect(mockSecureFetch.mock.calls[0][2].method).toBe('DELETE') + expect(mockSecureFetch).toHaveBeenCalledTimes(1) + }) + + it('creates an expense report with exact IDs and follows its opaque key to create a line', async () => { + const id = '9007199254740993' + const reportKey = ' report%2Fkey ' + const reportPath = `${RESOURCE_PATH}/expenseReports/%20report%252Fkey%20` + const linePath = `${reportPath}/child/Expense/LINEKEY` + mockSecureFetch + .mockResolvedValueOnce( + response(201, { + ExpenseReportId: id, + Purpose: 'Business travel', + '@context': { links: selfLink(reportPath) }, + }) + ) + .mockResolvedValueOnce( + response(201, { + ExpenseId: '42', + ExpenseReportId: id, + ItemizationParentExpenseId: -1, + '@context': { links: selfLink(linePath) }, + }) + ) + const created = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_create_expense_report', + { ...AUTH, orgId: id, personId: id, purpose: 'Business travel' } + ) + expect(created.output.expenseReport.expenseReportUniqId).toBe(reportKey) + expect(mockSecureFetch.mock.calls[0][2].body).toBe( + '{"OrgId":9007199254740993,"PersonId":9007199254740993,"Purpose":"Business travel"}' + ) + const line = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_create_expense_line', + { + ...AUTH, + expenseReportUniqId: created.output.expenseReport.expenseReportUniqId, + assignmentId: id, + orgId: id, + personId: id, + ticketClass: 'Economy', + itemizationParentExpenseId: '-1', + } + ) + expect(new URL(mockSecureFetch.mock.calls[1][0]).pathname).toBe(`${reportPath}/child/Expense`) + expect(mockSecureFetch.mock.calls[1][2].body).toContain('"ItemizationParentExpenseId":-1') + expect(line.output).toEqual({ + expenseLine: { + expenseLineUniqId: 'LINEKEY', + ExpenseId: '42', + ExpenseReportId: id, + ItemizationParentExpenseId: '-1', + }, + }) + }) + + it.each([ + ['oracle_fusion_financials_submit_expense_report', {}, 'S', true], + ['oracle_fusion_financials_submit_expense_report', {}, '1:EXP-42', false], + [ + 'oracle_fusion_financials_remove_expense_report_cash_advance', + { cashAdvanceNumber: 'CA-1' }, + 'Y', + true, + ], + [ + 'oracle_fusion_financials_remove_expense_report_cash_advance', + { cashAdvanceNumber: 'CA-1' }, + 'N', + false, + ], + ] as const)( + 'interprets the documented result of %s as %s', + async (toolId, fields, result, success) => { + mockSecureFetch.mockResolvedValueOnce(response(200, { result })) + const output = await executeOracleFusionFinancialsOperation(toolId, { + ...AUTH, + expenseReportUniqId: 'REPORTKEY', + ...fields, + }) + expect(output.success).toBe(success) + expect(output.output).toEqual({ result }) + expect(mockSecureFetch).toHaveBeenCalledTimes(1) + expect(JSON.parse(mockSecureFetch.mock.calls[0][2].body)).toEqual(fields) + } + ) + + it('updates expense distributions with their required numeric body identities', async () => { + const path = `${RESOURCE_PATH}/expenseReports/REPORTKEY/child/Expense/LINEKEY/child/ExpenseDistribution/42` + mockSecureFetch.mockResolvedValueOnce( + response( + 200, + item(path, { + ExpenseDistId: '42', + ExpenseId: '9007199254740993', + OrgId: '9007199254740994', + CostCenter: '120', + }) + ) + ) + await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_update_expense_distribution', + { + ...AUTH, + expenseReportUniqId: 'REPORTKEY', + expenseLineUniqId: 'LINEKEY', + expenseDistributionId: '42', + expenseId: '9007199254740993', + orgId: '9007199254740994', + costCenter: '120', + } + ) + expect(new URL(mockSecureFetch.mock.calls[0][0]).pathname).toBe(path) + expect(mockSecureFetch.mock.calls[0][2].body).toBe( + '{"ExpenseId":9007199254740993,"OrgId":9007199254740994,"CostCenter":"120"}' + ) + }) + + it.each(OPERATION_CASES)( + 'executes $name with its exact path, fixed projection, and semantic output', + async (operation) => { + const isList = operation.wrapper === undefined + mockSecureFetch.mockResolvedValueOnce( + response( + 200, + isList + ? { + ...page([operation.item], { limit: 25, offset: 5, totalResults: 100 }), + hasMore: true, + } + : operation.item + ) + ) + + const result = await executeOracleFusionFinancialsOperation(operation.toolId, { + ...AUTH, + ...operation.input, + ...(isList + ? { + q: 'Status!=Closed', + finder: 'PrimaryKey;Id=1', + orderBy: 'CreationDate:desc', + limit: 25, + offset: 5, + totalResults: true, + } + : {}), + ...(operation.toolId === 'oracle_fusion_financials_list_payables_invoices' + ? { effectiveDate: '2026-09-02' } + : {}), + fields: 'attachments,invoiceDff', + expand: 'all', + dependency: 'anything', + onlyData: true, + }) + + const [requestUrl] = mockSecureFetch.mock.calls[0] + const url = new URL(requestUrl) + expect(url.pathname).toBe(operation.path) + expect(url.searchParams.get('fields')).toBe(operation.fields.join(',')) + expect(url.searchParams.get('links')).toBe('self') + expect(url.searchParams.has('expand')).toBe(false) + expect(url.searchParams.has('dependency')).toBe(false) + expect(url.searchParams.has('onlyData')).toBe(false) + expect(mockSecureFetch).toHaveBeenCalledTimes(1) + + const output = result.output as Record + const projected = isList + ? ((output.items as Array>)[0] ?? {}) + : (output[operation.wrapper as string] as Record) + expect(projected.UnexpectedFlexfield).toBeUndefined() + expect(projected.links).toBeUndefined() + expect(projected['@context']).toBeUndefined() + expect(output.nextOffset).toBeUndefined() + if (operation.derivedKey) { + expect(projected[operation.derivedKey.name]).toBe(operation.derivedKey.value) + } + if (isList) { + expect(url.searchParams.get('q')).toBe('Status!=Closed') + expect(url.searchParams.get('finder')).toBe('PrimaryKey;Id=1') + expect(url.searchParams.get('orderBy')).toBe('CreationDate:desc') + expect(url.searchParams.get('limit')).toBe('25') + expect(url.searchParams.get('offset')).toBe('5') + expect(url.searchParams.get('totalResults')).toBe('true') + expect(output).toMatchObject({ + count: 1, + hasMore: true, + limit: 25, + offset: 5, + totalResults: 100, + }) + } else { + expect(url.searchParams.has('limit')).toBe(false) + expect(Object.keys(output)).toEqual([operation.wrapper]) + } + } + ) + + it('defaults lists to one page of 50 and forwards invoice effectiveDate', async () => { + mockSecureFetch.mockResolvedValueOnce(response(200, page([]))) + await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_payables_invoices', + { ...AUTH, effectiveDate: '2026-09-02' } + ) + const url = new URL(mockSecureFetch.mock.calls[0][0]) + expect(Object.fromEntries(url.searchParams)).toMatchObject({ + effectiveDate: '2026-09-02', + limit: '50', + offset: '0', + }) + expect(url.searchParams.has('totalResults')).toBe(false) + }) + + it('round-trips v9 invoice line keys while preserving exact numbers and fixed projections', async () => { + const providerLine = { + LineNumber: '9007199254740993', + ReceiptLineNumber: '999999999999999999', + LineAmount: 12.5, + '@context': { links: selfLink(LINE_PATH) }, + UnexpectedFlexfield: 'must not escape', + } + mockSecureFetch + .mockResolvedValueOnce(response(200, page([providerLine]))) + .mockResolvedValueOnce(response(200, providerLine)) + + const listed = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_payables_invoice_lines', + { ...AUTH, invoiceUniqId: 'INVOICEKEY' } + ) + const expectedLine = { + invoiceLineUniqId: 'LINEKEY', + LineNumber: '9007199254740993', + ReceiptLineNumber: '999999999999999999', + LineAmount: 12.5, + } + expect(listed.output).toMatchObject({ items: [expectedLine] }) + const detail = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_get_payables_invoice_line', + { ...AUTH, invoiceUniqId: 'INVOICEKEY', invoiceLineUniqId: expectedLine.invoiceLineUniqId } + ) + expect(detail.output).toEqual({ invoiceLine: expectedLine }) + expect(new URL(mockSecureFetch.mock.calls[1][0]).pathname).toBe(LINE_PATH) + expect(mockSecureFetch).toHaveBeenCalledTimes(2) + }) + + it('encodes every opaque parent key in nested resource paths', async () => { + const invoiceUniqId = 'INVOICE key+1' + const invoiceLineUniqId = 'LINE key+2' + const collectionPath = `${RESOURCE_PATH}/invoices/INVOICE%20key%2B1/child/invoiceLines/LINE%20key%2B2/child/invoiceDistributions` + mockSecureFetch.mockResolvedValueOnce( + response(200, page([item(`${collectionPath}/99`, { InvoiceDistributionId: 99 })])) + ) + + await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_payables_invoice_distributions', + { ...AUTH, invoiceUniqId, invoiceLineUniqId } + ) + + expect(new URL(mockSecureFetch.mock.calls[0][0]).pathname).toBe(collectionPath) + }) + + it.each([ + [{ limit: 101 }, 'limit'], + [{ limit: 0 }, 'limit'], + [{ offset: -1 }, 'offset'], + [{ offset: 1.5 }, 'offset'], + [{ effectiveDate: '2026-02-30' }, 'effectiveDate'], + ])('rejects invalid list controls %# before outbound I/O (%s)', async (fields) => { + await expect( + executeOracleFusionFinancialsOperation('oracle_fusion_financials_list_payables_invoices', { + ...AUTH, + ...fields, + }) + ).rejects.toBeDefined() + expect(mockValidateUrl).not.toHaveBeenCalled() + expect(mockSecureFetch).not.toHaveBeenCalled() + }) + + it.each([ + ['oracle_fusion_financials_get_payables_payment', 'checkId', { checkId: '42' }], + [ + 'oracle_fusion_financials_get_payables_invoice_distribution', + 'invoiceDistributionId', + { invoiceUniqId: 'INVOICEKEY', invoiceLineUniqId: 'LINEKEY', invoiceDistributionId: '99' }, + ], + [ + 'oracle_fusion_financials_get_payables_payment_related_invoice', + 'invoicePaymentId', + { checkId: '42', invoicePaymentId: '88' }, + ], + ['oracle_fusion_financials_get_payables_invoice_hold', 'holdId', { holdId: '21' }], + [ + 'oracle_fusion_financials_get_payment_process_request', + 'paymentProcessRequestId', + { paymentProcessRequestId: '17' }, + ], + ['oracle_fusion_financials_get_payables_payment_term', 'termsId', { termsId: '73' }], + ] as const)( + 'rejects invalid decimal path values for %s.%s', + async (toolId, field, validInput) => { + for (const invalid of ['-1', '1.5', 'abc', '1/child']) { + await expect( + executeOracleFusionFinancialsOperation(toolId, { + ...AUTH, + ...validInput, + [field]: invalid, + }) + ).rejects.toBeDefined() + } + expect(mockSecureFetch).not.toHaveBeenCalled() + } + ) + + it('rejects missing, duplicate, malformed, cross-origin, wrong-parent, and escaped opaque links', async () => { + const badLinks = [ + [], + [ + { rel: 'self', href: `${ORIGIN}${LINE_PATH}` }, + { rel: 'self', href: `${ORIGIN}${LINE_PATH}` }, + ], + [{ rel: 'self', href: 'not a URL' }], + [{ rel: 'self', href: `https://attacker.example${LINE_PATH}` }], + [{ rel: 'self', href: `${ORIGIN}${INSTALLMENT_PATH}` }], + [{ rel: 'self', href: `${ORIGIN}${LINE_COLLECTION_PATH}/A%2FB` }], + ] + + for (const links of badLinks) { + mockSecureFetch.mockResolvedValueOnce(response(200, page([{ LineNumber: 1, links }]))) + await expect( + executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_payables_invoice_lines', + { ...AUTH, invoiceUniqId: 'INVOICEKEY' } + ) + ).rejects.toMatchObject({ status: 502 }) + } + }) + + it('rejects detail self links with a different key, parent, origin, query, or fragment', async () => { + const badPaths = [ + `${LINE_COLLECTION_PATH}/DIFFERENT`, + `${RESOURCE_PATH}/invoices/OTHER/child/invoiceLines/LINEKEY`, + `${LINE_PATH}?fields=all`, + `${LINE_PATH}#fragment`, + ] + const hrefs = [ + ...badPaths.map((path) => `${ORIGIN}${path}`), + `https://attacker.example${LINE_PATH}`, + ] + + for (const href of hrefs) { + mockSecureFetch.mockResolvedValueOnce( + response(200, { LineNumber: 1, links: [{ rel: 'self', href }] }) + ) + await expect( + executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_get_payables_invoice_line', + { ...AUTH, invoiceUniqId: 'INVOICEKEY', invoiceLineUniqId: 'LINEKEY' } + ) + ).rejects.toMatchObject({ status: 502 }) + } + }) + + it('rejects malformed list envelopes and projected field types', async () => { + const invalidPayloads = [ + { items: [], count: '0', hasMore: false, limit: 50, offset: 0 }, + { items: [], count: 1, hasMore: false, limit: 50, offset: 0 }, + { count: 1, hasMore: false, limit: 50, offset: 0 }, + page([{ CheckId: 'not-a-number' }]), + ] + for (const payload of invalidPayloads) { + mockSecureFetch.mockResolvedValueOnce(response(200, payload)) + await expect( + executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_payables_payments', + AUTH + ) + ).rejects.toMatchObject({ + name: 'OracleFusionProviderError', + status: 502, + message: 'Oracle Fusion Financials returned an unexpected response shape', + }) + } + }) + + it('normalizes a documented empty collection without items to an empty page', async () => { + mockSecureFetch.mockResolvedValueOnce( + response(200, { count: 0, hasMore: false, limit: 50, offset: 0 }) + ) + + const result = await executeOracleFusionFinancialsOperation( + 'oracle_fusion_financials_list_payables_payments', + AUTH + ) + + expect(result.output).toEqual({ + items: [], + count: 0, + hasMore: false, + limit: 50, + offset: 0, + }) + }) + + it.each(OPERATION_CASES.filter((operation) => operation.input))( + 'requires every parent and resource identifier for $name before fetching', + async (operation) => { + for (const key of Object.keys(operation.input ?? {})) { + await expect( + executeOracleFusionFinancialsOperation(operation.toolId, { + ...AUTH, + ...operation.input, + [key]: undefined, + }) + ).rejects.toMatchObject({ name: 'ZodError' }) + } + expect(mockSecureFetch).not.toHaveBeenCalled() + } + ) +}) diff --git a/apps/sim/lib/internal/oracle-fusion-financials/operations.ts b/apps/sim/lib/internal/oracle-fusion-financials/operations.ts new file mode 100644 index 00000000000..c1d45cb1b98 --- /dev/null +++ b/apps/sim/lib/internal/oracle-fusion-financials/operations.ts @@ -0,0 +1,2407 @@ +import { filterUndefined } from '@sim/utils/object' +import type { z } from 'zod' +import { + requestOracleFusionEmpty, + requestOracleFusionJson, +} from '@/lib/internal/oracle-fusion/client' +import { OracleFusionProviderError } from '@/lib/internal/oracle-fusion/errors' +import { + encodeOracleFusionPathSegment, + extractOracleFusionOpaqueKey, + parseOracleFusionCollection, + validateOracleFusionSelfLink, +} from '@/lib/internal/oracle-fusion/protocol' +import { + ORACLE_FUSION_APPLIED_PREPAYMENT_FIELDS, + ORACLE_FUSION_AVAILABLE_PREPAYMENT_FIELDS, + ORACLE_FUSION_EXPENSE_DISTRIBUTION_FIELDS, + ORACLE_FUSION_EXPENSE_ITEMIZATION_FIELDS, + ORACLE_FUSION_EXPENSE_LINE_ERROR_FIELDS, + ORACLE_FUSION_EXPENSE_LINE_FIELDS, + ORACLE_FUSION_EXPENSE_REPORT_FIELDS, + ORACLE_FUSION_EXPENSE_REPORT_PAYMENT_FIELDS, + ORACLE_FUSION_EXPENSE_REPORT_PROCESSING_DETAIL_FIELDS, + ORACLE_FUSION_GL_BALANCE_FIELDS, + ORACLE_FUSION_GL_JOURNAL_ACTION_LOG_FIELDS, + ORACLE_FUSION_GL_JOURNAL_BATCH_FIELDS, + ORACLE_FUSION_GL_JOURNAL_ERROR_FIELDS, + ORACLE_FUSION_GL_JOURNAL_HEADER_FIELDS, + ORACLE_FUSION_GL_JOURNAL_LINE_FIELDS, + ORACLE_FUSION_GL_LEDGER_FIELDS, + ORACLE_FUSION_INSTALLMENT_FIELDS, + ORACLE_FUSION_INVOICE_DISTRIBUTION_FIELDS, + ORACLE_FUSION_INVOICE_FIELDS, + ORACLE_FUSION_INVOICE_HOLD_FIELDS, + ORACLE_FUSION_INVOICE_LINE_FIELDS, + ORACLE_FUSION_PAYMENT_FIELDS, + ORACLE_FUSION_PAYMENT_PROCESS_REQUEST_FIELDS, + ORACLE_FUSION_PAYMENT_RELATED_INVOICE_FIELDS, + ORACLE_FUSION_PAYMENT_TERM_FIELDS, + ORACLE_FUSION_PAYMENT_TERM_LINE_FIELDS, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_APPLICATION_FIELDS, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_DISTRIBUTION_FIELDS, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_FIELDS, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_LINE_FIELDS, + ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_FIELDS, + ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_SITE_FIELDS, + ORACLE_FUSION_RECEIVABLES_INVOICE_DISTRIBUTION_FIELDS, + ORACLE_FUSION_RECEIVABLES_INVOICE_FIELDS, + ORACLE_FUSION_RECEIVABLES_INVOICE_INSTALLMENT_FIELDS, + ORACLE_FUSION_RECEIVABLES_INVOICE_LINE_FIELDS, + ORACLE_FUSION_RECEIVABLES_RECEIPT_APPLICATION_FIELDS, + ORACLE_FUSION_RECEIVABLES_RECEIPT_FIELDS, + ORACLE_FUSION_RECEIVABLES_TRANSACTION_ADJUSTMENT_FIELDS, + ORACLE_FUSION_RECEIVABLES_TRANSACTION_PAYMENT_SCHEDULE_FIELDS, + oracleFusionAppliedPrepaymentSchema, + oracleFusionApplyReceivablesReceiptInputSchema, + oracleFusionApproveReceivablesCreditMemoInputSchema, + oracleFusionApproveReceivablesInvoiceInputSchema, + oracleFusionAvailablePrepaymentSchema, + oracleFusionCreateExpenseDistributionInputSchema, + oracleFusionCreateExpenseItemizationInputSchema, + oracleFusionCreateExpenseLineInputSchema, + oracleFusionCreateExpenseReportInputSchema, + oracleFusionCreateReceivablesCreditMemoDistributionInputSchema, + oracleFusionCreateReceivablesCreditMemoInputSchema, + oracleFusionCreateReceivablesCreditMemoLineInputSchema, + oracleFusionCreateReceivablesInvoiceDistributionInputSchema, + oracleFusionCreateReceivablesInvoiceInputSchema, + oracleFusionCreateReceivablesInvoiceLineInputSchema, + oracleFusionCreateReceivablesReceiptInputSchema, + oracleFusionDeleteGlJournalBatchInputSchema, + oracleFusionDeleteReceivablesInvoiceInputSchema, + oracleFusionDeleteReceivablesReceiptInputSchema, + oracleFusionExpenseDistributionSchema, + oracleFusionExpenseItemizationSchema, + oracleFusionExpenseLineErrorSchema, + oracleFusionExpenseLineSchema, + oracleFusionExpenseReportPaymentSchema, + oracleFusionExpenseReportProcessingDetailSchema, + oracleFusionExpenseReportSchema, + oracleFusionFinancialsActionResultSchema, + oracleFusionGetAppliedPrepaymentInputSchema, + oracleFusionGetAvailablePrepaymentInputSchema, + oracleFusionGetExpenseDistributionInputSchema, + oracleFusionGetExpenseItemizationInputSchema, + oracleFusionGetExpenseLineErrorInputSchema, + oracleFusionGetExpenseLineInputSchema, + oracleFusionGetExpenseReportInputSchema, + oracleFusionGetExpenseReportPaymentInputSchema, + oracleFusionGetExpenseReportProcessingDetailInputSchema, + oracleFusionGetGlJournalActionLogInputSchema, + oracleFusionGetGlJournalBatchInputSchema, + oracleFusionGetGlJournalErrorInputSchema, + oracleFusionGetGlJournalHeaderInputSchema, + oracleFusionGetGlJournalLineInputSchema, + oracleFusionGetGlLedgerInputSchema, + oracleFusionGetInvoiceDistributionInputSchema, + oracleFusionGetInvoiceHoldInputSchema, + oracleFusionGetInvoiceInputSchema, + oracleFusionGetInvoiceInstallmentInputSchema, + oracleFusionGetInvoiceLineInputSchema, + oracleFusionGetPaymentInputSchema, + oracleFusionGetPaymentProcessRequestInputSchema, + oracleFusionGetPaymentRelatedInvoiceInputSchema, + oracleFusionGetPaymentTermInputSchema, + oracleFusionGetPaymentTermLineInputSchema, + oracleFusionGetReceivablesCreditMemoApplicationInputSchema, + oracleFusionGetReceivablesCreditMemoDistributionInputSchema, + oracleFusionGetReceivablesCreditMemoInputSchema, + oracleFusionGetReceivablesCreditMemoLineInputSchema, + oracleFusionGetReceivablesCustomerAccountInputSchema, + oracleFusionGetReceivablesCustomerAccountSiteInputSchema, + oracleFusionGetReceivablesInvoiceDistributionInputSchema, + oracleFusionGetReceivablesInvoiceInputSchema, + oracleFusionGetReceivablesInvoiceInstallmentInputSchema, + oracleFusionGetReceivablesInvoiceLineInputSchema, + oracleFusionGetReceivablesReceiptApplicationInputSchema, + oracleFusionGetReceivablesReceiptInputSchema, + oracleFusionGetReceivablesTransactionAdjustmentInputSchema, + oracleFusionGetReceivablesTransactionPaymentScheduleInputSchema, + oracleFusionGlBalanceSchema, + oracleFusionGlJournalActionLogSchema, + oracleFusionGlJournalBatchSchema, + oracleFusionGlJournalErrorSchema, + oracleFusionGlJournalHeaderSchema, + oracleFusionGlJournalLineSchema, + oracleFusionGlLedgerSchema, + oracleFusionInstallmentSchema, + oracleFusionInvoiceChildListInputSchema, + oracleFusionInvoiceDistributionListInputSchema, + oracleFusionInvoiceDistributionSchema, + oracleFusionInvoiceHoldSchema, + oracleFusionInvoiceLineSchema, + oracleFusionInvoiceSchema, + oracleFusionListExpenseDistributionsInputSchema, + oracleFusionListExpenseItemizationsInputSchema, + oracleFusionListExpenseLineErrorsInputSchema, + oracleFusionListExpenseLinesInputSchema, + oracleFusionListExpenseReportPaymentsInputSchema, + oracleFusionListExpenseReportProcessingDetailsInputSchema, + oracleFusionListExpenseReportsInputSchema, + oracleFusionListGlBalancesInputSchema, + oracleFusionListGlJournalActionLogsInputSchema, + oracleFusionListGlJournalBatchesInputSchema, + oracleFusionListGlJournalErrorsInputSchema, + oracleFusionListGlJournalHeadersInputSchema, + oracleFusionListGlJournalLinesInputSchema, + oracleFusionListGlLedgersInputSchema, + oracleFusionListInputSchema, + oracleFusionListInvoicesInputSchema, + oracleFusionListReceivablesCreditMemoApplicationsInputSchema, + oracleFusionListReceivablesCreditMemoDistributionsInputSchema, + oracleFusionListReceivablesCreditMemoLinesInputSchema, + oracleFusionListReceivablesCreditMemosInputSchema, + oracleFusionListReceivablesCustomerAccountSitesInputSchema, + oracleFusionListReceivablesCustomerAccountsInputSchema, + oracleFusionListReceivablesInvoiceDistributionsInputSchema, + oracleFusionListReceivablesInvoiceInstallmentsInputSchema, + oracleFusionListReceivablesInvoiceLinesInputSchema, + oracleFusionListReceivablesInvoicesInputSchema, + oracleFusionListReceivablesReceiptApplicationsInputSchema, + oracleFusionListReceivablesReceiptsInputSchema, + oracleFusionListReceivablesTransactionAdjustmentsInputSchema, + oracleFusionListReceivablesTransactionPaymentSchedulesInputSchema, + oracleFusionPaymentProcessRequestSchema, + oracleFusionPaymentRelatedInvoiceListInputSchema, + oracleFusionPaymentRelatedInvoiceSchema, + oracleFusionPaymentSchema, + oracleFusionPaymentTermLineListInputSchema, + oracleFusionPaymentTermLineSchema, + oracleFusionPaymentTermSchema, + oracleFusionReceivablesCreditMemoApplicationSchema, + oracleFusionReceivablesCreditMemoDistributionSchema, + oracleFusionReceivablesCreditMemoLineSchema, + oracleFusionReceivablesCreditMemoSchema, + oracleFusionReceivablesCustomerAccountSchema, + oracleFusionReceivablesCustomerAccountSiteSchema, + oracleFusionReceivablesInvoiceDistributionSchema, + oracleFusionReceivablesInvoiceInstallmentSchema, + oracleFusionReceivablesInvoiceLineSchema, + oracleFusionReceivablesInvoiceSchema, + oracleFusionReceivablesReceiptApplicationSchema, + oracleFusionReceivablesReceiptSchema, + oracleFusionReceivablesTransactionAdjustmentSchema, + oracleFusionReceivablesTransactionPaymentScheduleSchema, + oracleFusionRemoveExpenseReportCashAdvanceInputSchema, + oracleFusionReworkReceivablesCreditMemoInputSchema, + oracleFusionReworkReceivablesInvoiceInputSchema, + oracleFusionSubmitExpenseReportInputSchema, + oracleFusionUpdateExpenseDistributionInputSchema, + oracleFusionUpdateExpenseItemizationInputSchema, + oracleFusionUpdateExpenseLineInputSchema, + oracleFusionUpdateExpenseReportInputSchema, + oracleFusionUpdateReceivablesCreditMemoInputSchema, + oracleFusionUpdateReceivablesInvoiceInputSchema, + oracleFusionUpdateReceivablesInvoiceInstallmentInputSchema, + oracleFusionUpdateReceivablesReceiptInputSchema, + projectFields, +} from '@/lib/internal/oracle-fusion-financials/schema' +import type { OracleFusionFinancialsListResponse } from '@/tools/oracle_fusion_financials/types' +import type { ToolResponse } from '@/tools/types' + +export const ORACLE_FUSION_FINANCIALS_TOOL_IDS = [ + 'oracle_fusion_financials_list_gl_ledgers', + 'oracle_fusion_financials_get_gl_ledger', + 'oracle_fusion_financials_list_gl_journal_batches', + 'oracle_fusion_financials_get_gl_journal_batch', + 'oracle_fusion_financials_delete_gl_journal_batch', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_get_gl_journal_header', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_get_gl_journal_line', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_get_gl_journal_error', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_get_gl_journal_action_log', + 'oracle_fusion_financials_list_gl_balances', + 'oracle_fusion_financials_list_expense_reports', + 'oracle_fusion_financials_get_expense_report', + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + 'oracle_fusion_financials_submit_expense_report', + 'oracle_fusion_financials_remove_expense_report_cash_advance', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_get_expense_line', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_get_expense_report_processing_detail', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_get_expense_report_payment', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_get_expense_line_error', + 'oracle_fusion_financials_list_receivables_invoices', + 'oracle_fusion_financials_get_receivables_invoice', + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_update_receivables_invoice', + 'oracle_fusion_financials_delete_receivables_invoice', + 'oracle_fusion_financials_approve_receivables_invoice', + 'oracle_fusion_financials_rework_receivables_invoice', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_get_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_get_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_get_receivables_invoice_installment', + 'oracle_fusion_financials_update_receivables_invoice_installment', + 'oracle_fusion_financials_list_receivables_credit_memos', + 'oracle_fusion_financials_get_receivables_credit_memo', + 'oracle_fusion_financials_create_receivables_credit_memo', + 'oracle_fusion_financials_update_receivables_credit_memo', + 'oracle_fusion_financials_approve_receivables_credit_memo', + 'oracle_fusion_financials_rework_receivables_credit_memo', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_get_receivables_credit_memo_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_get_receivables_credit_memo_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + 'oracle_fusion_financials_list_receivables_receipts', + 'oracle_fusion_financials_get_receivables_receipt', + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + 'oracle_fusion_financials_delete_receivables_receipt', + 'oracle_fusion_financials_apply_receivables_receipt', + 'oracle_fusion_financials_list_receivables_customer_accounts', + 'oracle_fusion_financials_get_receivables_customer_account', + 'oracle_fusion_financials_list_receivables_customer_account_sites', + 'oracle_fusion_financials_get_receivables_customer_account_site', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_get_receivables_receipt_application', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_get_receivables_credit_memo_application', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_get_receivables_transaction_payment_schedule', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_get_receivables_transaction_adjustment', + 'oracle_fusion_financials_list_payables_invoices', + 'oracle_fusion_financials_get_payables_invoice', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_get_payables_invoice_line', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_get_payables_invoice_installment', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_get_payables_invoice_distribution', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_get_payables_applied_prepayment', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_get_payables_available_prepayment', + 'oracle_fusion_financials_list_payables_payments', + 'oracle_fusion_financials_get_payables_payment', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_get_payables_payment_related_invoice', + 'oracle_fusion_financials_list_payment_process_requests', + 'oracle_fusion_financials_get_payment_process_request', + 'oracle_fusion_financials_list_payables_invoice_holds', + 'oracle_fusion_financials_get_payables_invoice_hold', + 'oracle_fusion_financials_list_payables_payment_terms', + 'oracle_fusion_financials_get_payables_payment_term', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_get_payables_payment_term_line', +] as const + +export type OracleFusionFinancialsToolId = (typeof ORACLE_FUSION_FINANCIALS_TOOL_IDS)[number] + +const TOOL_ID_SET = new Set(ORACLE_FUSION_FINANCIALS_TOOL_IDS) + +export function isOracleFusionFinancialsToolId( + value: string +): value is OracleFusionFinancialsToolId { + return TOOL_ID_SET.has(value) +} + +interface ListInput { + q?: string + finder?: string + orderBy?: string + limit: number + offset: number + totalResults: boolean +} + +interface AuthInput { + accessToken: string + instanceUrl: string +} + +function listQuery( + input: ListInput, + fields: readonly string[], + extra?: Record +): Record { + return { + fields: fields.join(','), + links: 'self', + q: input.q, + finder: input.finder, + orderBy: input.orderBy, + limit: input.limit, + offset: input.offset, + totalResults: input.totalResults || undefined, + ...extra, + } +} + +function detailQuery(fields: readonly string[]): Record { + return { fields: fields.join(','), links: 'self' } +} + +function requireProviderResponse(parse: () => T): T { + try { + return parse() + } catch (error) { + if (error instanceof OracleFusionProviderError) throw error + throw new OracleFusionProviderError( + 'Oracle Fusion Financials returned an unexpected response shape', + 502 + ) + } +} + +function projectList>>( + payload: unknown, + itemSchema: T, + fields: readonly string[], + input: ListInput, + transform?: (item: z.output) => Record +): OracleFusionFinancialsListResponse { + return requireProviderResponse(() => { + const envelope = parseOracleFusionCollection( + payload, + (item) => { + const parsed = itemSchema.parse(item) + return transform ? transform(parsed) : projectFields(parsed, fields) + }, + { expectedOffset: input.offset, maxItems: input.limit } + ) + return { + success: true, + output: { + items: envelope.items, + count: envelope.count, + hasMore: envelope.hasMore, + limit: envelope.limit, + offset: envelope.offset, + ...(envelope.totalResults !== undefined ? { totalResults: envelope.totalResults } : {}), + }, + } + }) +} + +async function executeList>>( + input: AuthInput & ListInput, + path: string, + itemSchema: T, + fields: readonly string[], + signal?: AbortSignal, + transform?: (item: z.output) => Record, + extra?: Record +): Promise { + const payload = await requestOracleFusionJson( + input, + { address: { family: 'fscm', relativePath: path }, query: listQuery(input, fields, extra) }, + signal + ) + return projectList(payload, itemSchema, fields, input, transform) +} + +async function executeDetail>>( + input: AuthInput, + path: string, + itemSchema: T, + fields: readonly string[], + wrapper: string, + signal?: AbortSignal, + transform?: (item: z.output) => Record +): Promise<{ success: true; output: Record> }> { + const rawPayload = await requestOracleFusionJson( + input, + { address: { family: 'fscm', relativePath: path }, query: detailQuery(fields) }, + signal + ) + return requireProviderResponse(() => { + const payload = itemSchema.parse(rawPayload) + validateOracleFusionSelfLink(payload, input.instanceUrl, { family: 'fscm', relativePath: path }) + return { + success: true, + output: { + [wrapper]: transform ? transform(payload) : projectFields(payload, fields), + }, + } + }) +} + +function invoicePath(invoiceUniqId: string): string { + return `invoices/${encodeOracleFusionPathSegment(invoiceUniqId)}` +} + +async function executeFinancialsWrite>>( + input: AuthInput, + path: string, + method: 'POST' | 'PATCH', + body: Record, + itemSchema: T, + fields: readonly string[], + wrapper: string, + idField: string, + signal?: AbortSignal, + opaqueKeyField?: string +): Promise { + const raw = await requestOracleFusionJson( + input, + { + address: { family: 'fscm', relativePath: path }, + method, + mediaType: 'application/json', + body, + }, + signal + ) + return requireProviderResponse(() => { + const item = itemSchema.parse(raw) + const opaqueKey = opaqueKeyField + ? extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: method === 'POST' ? path : path.slice(0, path.lastIndexOf('/')), + }) + : undefined + let expectedPath = path + if (method === 'POST') { + const id = opaqueKey ?? item[idField] + if (typeof id !== 'string') throw new Error('Created resource has no exact identifier') + expectedPath = `${path}/${encodeOracleFusionPathSegment(id)}` + } + validateOracleFusionSelfLink(item, input.instanceUrl, { + family: 'fscm', + relativePath: expectedPath, + }) + return { + success: true, + output: { + [wrapper]: { + ...projectFields(item, fields), + ...(opaqueKeyField ? { [opaqueKeyField]: opaqueKey } : {}), + }, + }, + } + }) +} + +async function executeFinancialsAction( + input: AuthInput, + path: string, + body: Record, + expectedResult: string, + signal?: AbortSignal +): Promise { + const raw = await requestOracleFusionJson( + input, + { + address: { family: 'fscm', relativePath: path }, + method: 'POST', + mediaType: 'application/vnd.oracle.adf.action+json', + body, + }, + signal + ) + const output = requireProviderResponse(() => oracleFusionFinancialsActionResultSchema.parse(raw)) + return output.result === expectedResult + ? { success: true, output } + : { success: false, output, error: 'Oracle Fusion action reported an unsuccessful result' } +} + +function invoiceLineCollectionPath(invoiceUniqId: string): string { + return `${invoicePath(invoiceUniqId)}/child/invoiceLines` +} + +function invoiceInstallmentCollectionPath(invoiceUniqId: string): string { + return `${invoicePath(invoiceUniqId)}/child/invoiceInstallments` +} + +function invoiceDistributionCollectionPath( + invoiceUniqId: string, + invoiceLineUniqId: string +): string { + return `${invoiceLineCollectionPath(invoiceUniqId)}/${encodeOracleFusionPathSegment(invoiceLineUniqId)}/child/invoiceDistributions` +} + +function prepaymentCollectionPath( + invoiceUniqId: string, + collection: 'appliedPrepayments' | 'availablePrepayments' +): string { + return `${invoicePath(invoiceUniqId)}/child/${collection}` +} + +function paymentPath(checkId: string): string { + return `payablesPayments/${checkId}` +} + +function relatedInvoiceCollectionPath(checkId: string): string { + return `${paymentPath(checkId)}/child/relatedInvoices` +} + +function paymentTermPath(termsId: string): string { + return `payablesPaymentTerms/${termsId}` +} + +function paymentTermLineCollectionPath(termsId: string): string { + return `${paymentTermPath(termsId)}/child/payablesPaymentTermsLines` +} + +export async function listOracleFusionInvoices(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionListInvoicesInputSchema.parse(rawInput) + return executeList( + input, + 'invoices', + oracleFusionInvoiceSchema, + ORACLE_FUSION_INVOICE_FIELDS, + signal, + (invoice) => ({ + invoiceUniqId: extractOracleFusionOpaqueKey(invoice, input.instanceUrl, { + family: 'fscm', + relativePath: 'invoices', + }), + ...projectFields(invoice, ORACLE_FUSION_INVOICE_FIELDS), + }), + { effectiveDate: input.effectiveDate } + ) +} + +export async function getOracleFusionInvoice(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionGetInvoiceInputSchema.parse(rawInput) + return executeDetail( + input, + invoicePath(input.invoiceUniqId), + oracleFusionInvoiceSchema, + ORACLE_FUSION_INVOICE_FIELDS, + 'invoice', + signal, + (invoice) => ({ + invoiceUniqId: extractOracleFusionOpaqueKey(invoice, input.instanceUrl, { + family: 'fscm', + relativePath: 'invoices', + }), + ...projectFields(invoice, ORACLE_FUSION_INVOICE_FIELDS), + }) + ) +} + +export async function listOracleFusionReceivablesInvoices(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionListReceivablesInvoicesInputSchema.parse(rawInput) + return executeList( + input, + 'receivablesInvoices', + oracleFusionReceivablesInvoiceSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_FIELDS, + signal, + (item) => { + const id = item.CustomerTransactionId + if (typeof id !== 'string') throw new Error('Resource has no exact identifier') + validateOracleFusionSelfLink(item, input.instanceUrl, { + family: 'fscm', + relativePath: `receivablesInvoices/${encodeOracleFusionPathSegment(id)}`, + }) + return projectFields(item, ORACLE_FUSION_RECEIVABLES_INVOICE_FIELDS) + } + ) +} + +export async function getOracleFusionReceivablesInvoice(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionGetReceivablesInvoiceInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}`, + oracleFusionReceivablesInvoiceSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_FIELDS, + 'receivablesInvoice', + signal + ) +} + +export async function listOracleFusionReceivablesCreditMemos( + rawInput: unknown, + signal?: AbortSignal +) { + const input = oracleFusionListReceivablesCreditMemosInputSchema.parse(rawInput) + return executeList( + input, + 'receivablesCreditMemos', + oracleFusionReceivablesCreditMemoSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_FIELDS, + signal, + (item) => { + const id = item.CustomerTransactionId + if (typeof id !== 'string') throw new Error('Resource has no exact identifier') + validateOracleFusionSelfLink(item, input.instanceUrl, { + family: 'fscm', + relativePath: `receivablesCreditMemos/${encodeOracleFusionPathSegment(id)}`, + }) + return projectFields(item, ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_FIELDS) + } + ) +} + +export async function getOracleFusionReceivablesCreditMemo( + rawInput: unknown, + signal?: AbortSignal +) { + const input = oracleFusionGetReceivablesCreditMemoInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesCreditMemos/${encodeOracleFusionPathSegment(input.receivablesCreditMemoId)}`, + oracleFusionReceivablesCreditMemoSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_FIELDS, + 'receivablesCreditMemo', + signal + ) +} + +export async function listOracleFusionReceivablesReceipts(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionListReceivablesReceiptsInputSchema.parse(rawInput) + return executeList( + input, + 'standardReceipts', + oracleFusionReceivablesReceiptSchema, + ORACLE_FUSION_RECEIVABLES_RECEIPT_FIELDS, + signal, + (item) => { + const id = item.StandardReceiptId + if (typeof id !== 'string') throw new Error('Resource has no exact identifier') + validateOracleFusionSelfLink(item, input.instanceUrl, { + family: 'fscm', + relativePath: `standardReceipts/${encodeOracleFusionPathSegment(id)}`, + }) + return projectFields(item, ORACLE_FUSION_RECEIVABLES_RECEIPT_FIELDS) + } + ) +} + +export async function getOracleFusionReceivablesReceipt(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionGetReceivablesReceiptInputSchema.parse(rawInput) + return executeDetail( + input, + `standardReceipts/${encodeOracleFusionPathSegment(input.receivablesReceiptId)}`, + oracleFusionReceivablesReceiptSchema, + ORACLE_FUSION_RECEIVABLES_RECEIPT_FIELDS, + 'receivablesReceipt', + signal + ) +} + +export async function listOracleFusionReceivablesCustomerAccounts( + rawInput: unknown, + signal?: AbortSignal +) { + const input = oracleFusionListReceivablesCustomerAccountsInputSchema.parse(rawInput) + return executeList( + input, + 'receivablesCustomerAccountActivities', + oracleFusionReceivablesCustomerAccountSchema, + ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_FIELDS, + signal, + (item) => { + const id = item.AccountId + if (typeof id !== 'string') throw new Error('Resource has no exact identifier') + validateOracleFusionSelfLink(item, input.instanceUrl, { + family: 'fscm', + relativePath: `receivablesCustomerAccountActivities/${encodeOracleFusionPathSegment(id)}`, + }) + return projectFields(item, ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_FIELDS) + } + ) +} + +export async function getOracleFusionReceivablesCustomerAccount( + rawInput: unknown, + signal?: AbortSignal +) { + const input = oracleFusionGetReceivablesCustomerAccountInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesCustomerAccountActivities/${encodeOracleFusionPathSegment(input.receivablesCustomerAccountId)}`, + oracleFusionReceivablesCustomerAccountSchema, + ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_FIELDS, + 'receivablesCustomerAccount', + signal + ) +} + +export async function listOracleFusionReceivablesCustomerAccountSites( + rawInput: unknown, + signal?: AbortSignal +) { + const input = oracleFusionListReceivablesCustomerAccountSitesInputSchema.parse(rawInput) + return executeList( + input, + 'receivablesCustomerAccountSiteActivities', + oracleFusionReceivablesCustomerAccountSiteSchema, + ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_SITE_FIELDS, + signal, + (item) => { + const id = item.BillToSiteUseId + if (typeof id !== 'string') throw new Error('Resource has no exact identifier') + validateOracleFusionSelfLink(item, input.instanceUrl, { + family: 'fscm', + relativePath: `receivablesCustomerAccountSiteActivities/${encodeOracleFusionPathSegment(id)}`, + }) + return projectFields(item, ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_SITE_FIELDS) + } + ) +} + +export async function getOracleFusionReceivablesCustomerAccountSite( + rawInput: unknown, + signal?: AbortSignal +) { + const input = oracleFusionGetReceivablesCustomerAccountSiteInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesCustomerAccountSiteActivities/${encodeOracleFusionPathSegment(input.receivablesCustomerAccountSiteId)}`, + oracleFusionReceivablesCustomerAccountSiteSchema, + ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_SITE_FIELDS, + 'receivablesCustomerAccountSite', + signal + ) +} + +export async function listOracleFusionExpenseReports(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionListExpenseReportsInputSchema.parse(rawInput) + return executeList( + input, + 'expenseReports', + oracleFusionExpenseReportSchema, + ORACLE_FUSION_EXPENSE_REPORT_FIELDS, + signal, + (item) => ({ + expenseReportUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: 'expenseReports', + }), + ...projectFields(item, ORACLE_FUSION_EXPENSE_REPORT_FIELDS), + }) + ) +} + +export async function getOracleFusionExpenseReport(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionGetExpenseReportInputSchema.parse(rawInput) + return executeDetail( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}`, + oracleFusionExpenseReportSchema, + ORACLE_FUSION_EXPENSE_REPORT_FIELDS, + 'expenseReport', + signal, + (item) => ({ + expenseReportUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: 'expenseReports', + }), + ...projectFields(item, ORACLE_FUSION_EXPENSE_REPORT_FIELDS), + }) + ) +} + +export async function listOracleFusionGlLedgers(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionListGlLedgersInputSchema.parse(rawInput) + return executeList( + input, + `ledgersLOV`, + oracleFusionGlLedgerSchema, + ORACLE_FUSION_GL_LEDGER_FIELDS, + signal, + (item) => { + const id = item.LedgerId + if (id !== null && id !== undefined) { + validateOracleFusionSelfLink(item, input.instanceUrl, { + family: 'fscm', + relativePath: `ledgersLOV/${encodeOracleFusionPathSegment(id)}`, + }) + } + return projectFields(item, ORACLE_FUSION_GL_LEDGER_FIELDS) + } + ) +} + +export async function getOracleFusionGlLedger(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionGetGlLedgerInputSchema.parse(rawInput) + return executeDetail( + input, + `ledgersLOV/${encodeOracleFusionPathSegment(input.glLedgerId)}`, + oracleFusionGlLedgerSchema, + ORACLE_FUSION_GL_LEDGER_FIELDS, + 'glLedger', + signal + ) +} + +export async function listOracleFusionGlJournalBatches(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionListGlJournalBatchesInputSchema.parse(rawInput) + return executeList( + input, + `journalBatches`, + oracleFusionGlJournalBatchSchema, + ORACLE_FUSION_GL_JOURNAL_BATCH_FIELDS, + signal, + (item) => { + const id = item.JeBatchId + if (id !== null && id !== undefined) { + validateOracleFusionSelfLink(item, input.instanceUrl, { + family: 'fscm', + relativePath: `journalBatches/${encodeOracleFusionPathSegment(id)}`, + }) + } + return projectFields(item, ORACLE_FUSION_GL_JOURNAL_BATCH_FIELDS) + } + ) +} + +export async function getOracleFusionGlJournalBatch(rawInput: unknown, signal?: AbortSignal) { + const input = oracleFusionGetGlJournalBatchInputSchema.parse(rawInput) + return executeDetail( + input, + `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}`, + oracleFusionGlJournalBatchSchema, + ORACLE_FUSION_GL_JOURNAL_BATCH_FIELDS, + 'glJournalBatch', + signal + ) +} + +export async function executeOracleFusionFinancialsOperation( + toolId: OracleFusionFinancialsToolId, + rawInput: unknown, + signal?: AbortSignal +): Promise { + switch (toolId) { + case 'oracle_fusion_financials_list_gl_ledgers': + return listOracleFusionGlLedgers(rawInput, signal) + case 'oracle_fusion_financials_get_gl_ledger': + return getOracleFusionGlLedger(rawInput, signal) + case 'oracle_fusion_financials_list_gl_journal_batches': + return listOracleFusionGlJournalBatches(rawInput, signal) + case 'oracle_fusion_financials_get_gl_journal_batch': + return getOracleFusionGlJournalBatch(rawInput, signal) + case 'oracle_fusion_financials_delete_gl_journal_batch': { + const input = oracleFusionDeleteGlJournalBatchInputSchema.parse(rawInput) + await requestOracleFusionEmpty( + input, + { + address: { + family: 'fscm', + relativePath: `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}`, + }, + method: 'DELETE', + }, + signal + ) + return { success: true, output: { deleted: true, id: input.glJournalBatchId } } + } + case 'oracle_fusion_financials_list_gl_journal_headers': { + const input = oracleFusionListGlJournalHeadersInputSchema.parse(rawInput) + return executeList( + input, + `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalHeaders`, + oracleFusionGlJournalHeaderSchema, + ORACLE_FUSION_GL_JOURNAL_HEADER_FIELDS, + signal, + (item) => ({ + glJournalHeaderUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalHeaders`, + }), + ...projectFields(item, ORACLE_FUSION_GL_JOURNAL_HEADER_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_gl_journal_header': { + const input = oracleFusionGetGlJournalHeaderInputSchema.parse(rawInput) + return executeDetail( + input, + `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalHeaders/${encodeOracleFusionPathSegment(input.glJournalHeaderUniqId)}`, + oracleFusionGlJournalHeaderSchema, + ORACLE_FUSION_GL_JOURNAL_HEADER_FIELDS, + 'glJournalHeader', + signal, + (item) => ({ + glJournalHeaderUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalHeaders`, + }), + ...projectFields(item, ORACLE_FUSION_GL_JOURNAL_HEADER_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_list_gl_journal_lines': { + const input = oracleFusionListGlJournalLinesInputSchema.parse(rawInput) + return executeList( + input, + `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalHeaders/${encodeOracleFusionPathSegment(input.glJournalHeaderUniqId)}/child/journalLines`, + oracleFusionGlJournalLineSchema, + ORACLE_FUSION_GL_JOURNAL_LINE_FIELDS, + signal, + (item) => ({ + glJournalLineUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalHeaders/${encodeOracleFusionPathSegment(input.glJournalHeaderUniqId)}/child/journalLines`, + }), + ...projectFields(item, ORACLE_FUSION_GL_JOURNAL_LINE_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_gl_journal_line': { + const input = oracleFusionGetGlJournalLineInputSchema.parse(rawInput) + return executeDetail( + input, + `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalHeaders/${encodeOracleFusionPathSegment(input.glJournalHeaderUniqId)}/child/journalLines/${encodeOracleFusionPathSegment(input.glJournalLineUniqId)}`, + oracleFusionGlJournalLineSchema, + ORACLE_FUSION_GL_JOURNAL_LINE_FIELDS, + 'glJournalLine', + signal, + (item) => ({ + glJournalLineUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalHeaders/${encodeOracleFusionPathSegment(input.glJournalHeaderUniqId)}/child/journalLines`, + }), + ...projectFields(item, ORACLE_FUSION_GL_JOURNAL_LINE_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_list_gl_journal_errors': { + const input = oracleFusionListGlJournalErrorsInputSchema.parse(rawInput) + return executeList( + input, + `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalErrors`, + oracleFusionGlJournalErrorSchema, + ORACLE_FUSION_GL_JOURNAL_ERROR_FIELDS, + signal, + (item) => ({ + glJournalErrorUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalErrors`, + }), + ...projectFields(item, ORACLE_FUSION_GL_JOURNAL_ERROR_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_gl_journal_error': { + const input = oracleFusionGetGlJournalErrorInputSchema.parse(rawInput) + return executeDetail( + input, + `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalErrors/${encodeOracleFusionPathSegment(input.glJournalErrorUniqId)}`, + oracleFusionGlJournalErrorSchema, + ORACLE_FUSION_GL_JOURNAL_ERROR_FIELDS, + 'glJournalError', + signal, + (item) => ({ + glJournalErrorUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalErrors`, + }), + ...projectFields(item, ORACLE_FUSION_GL_JOURNAL_ERROR_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_list_gl_journal_action_logs': { + const input = oracleFusionListGlJournalActionLogsInputSchema.parse(rawInput) + return executeList( + input, + `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalActionLogs`, + oracleFusionGlJournalActionLogSchema, + ORACLE_FUSION_GL_JOURNAL_ACTION_LOG_FIELDS, + signal, + (item) => ({ + glJournalActionLogUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalActionLogs`, + }), + ...projectFields(item, ORACLE_FUSION_GL_JOURNAL_ACTION_LOG_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_gl_journal_action_log': { + const input = oracleFusionGetGlJournalActionLogInputSchema.parse(rawInput) + return executeDetail( + input, + `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalActionLogs/${encodeOracleFusionPathSegment(input.glJournalActionLogUniqId)}`, + oracleFusionGlJournalActionLogSchema, + ORACLE_FUSION_GL_JOURNAL_ACTION_LOG_FIELDS, + 'glJournalActionLog', + signal, + (item) => ({ + glJournalActionLogUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: `journalBatches/${encodeOracleFusionPathSegment(input.glJournalBatchId)}/child/journalActionLogs`, + }), + ...projectFields(item, ORACLE_FUSION_GL_JOURNAL_ACTION_LOG_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_list_gl_balances': { + const input = oracleFusionListGlBalancesInputSchema.parse(rawInput) + return executeList( + input, + `ledgerBalances`, + oracleFusionGlBalanceSchema, + ORACLE_FUSION_GL_BALANCE_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_list_expense_reports': + return listOracleFusionExpenseReports(rawInput, signal) + case 'oracle_fusion_financials_get_expense_report': + return getOracleFusionExpenseReport(rawInput, signal) + case 'oracle_fusion_financials_create_expense_report': { + const input = oracleFusionCreateExpenseReportInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `expenseReports`, + 'POST', + filterUndefined({ + OrgId: input.orgId, + PersonId: input.personId, + AssignmentId: input.assignmentId, + PreparerId: input.preparerId, + Purpose: input.purpose, + ExpenseReportNumber: input.expenseReportNumber, + ExpenseReportDate: input.expenseReportDate, + ReimbursementCurrencyCode: input.reimbursementCurrencyCode, + ExchangeRateType: input.exchangeRateType, + PaymentMethodCode: input.paymentMethodCode, + OverrideApproverId: input.overrideApproverId, + UnappliedAdvancesJust: input.unappliedAdvancesJust, + UnappliedCashAdvReason: input.unappliedCashAdvReason, + }), + oracleFusionExpenseReportSchema, + ORACLE_FUSION_EXPENSE_REPORT_FIELDS, + 'expenseReport', + 'ExpenseReportId', + signal, + 'expenseReportUniqId' + ) + } + case 'oracle_fusion_financials_update_expense_report': { + const input = oracleFusionUpdateExpenseReportInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}`, + 'PATCH', + filterUndefined({ + OrgId: input.orgId, + Purpose: input.purpose, + ExpenseReportDate: input.expenseReportDate, + ReimbursementCurrencyCode: input.reimbursementCurrencyCode, + ExchangeRateType: input.exchangeRateType, + PaymentMethodCode: input.paymentMethodCode, + OverrideApproverId: input.overrideApproverId, + UnappliedAdvancesJust: input.unappliedAdvancesJust, + UnappliedCashAdvReason: input.unappliedCashAdvReason, + }), + oracleFusionExpenseReportSchema, + ORACLE_FUSION_EXPENSE_REPORT_FIELDS, + 'expenseReport', + 'ExpenseReportId', + signal, + 'expenseReportUniqId' + ) + } + case 'oracle_fusion_financials_submit_expense_report': { + const input = oracleFusionSubmitExpenseReportInputSchema.parse(rawInput) + return executeFinancialsAction( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/action/submit`, + {}, + 'S', + signal + ) + } + case 'oracle_fusion_financials_remove_expense_report_cash_advance': { + const input = oracleFusionRemoveExpenseReportCashAdvanceInputSchema.parse(rawInput) + return executeFinancialsAction( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/action/revertCashAdvances`, + { cashAdvanceNumber: input.cashAdvanceNumber }, + 'Y', + signal + ) + } + case 'oracle_fusion_financials_list_expense_lines': { + const input = oracleFusionListExpenseLinesInputSchema.parse(rawInput) + return executeList( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense`, + oracleFusionExpenseLineSchema, + ORACLE_FUSION_EXPENSE_LINE_FIELDS, + signal, + (item) => ({ + expenseLineUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense`, + }), + ...projectFields(item, ORACLE_FUSION_EXPENSE_LINE_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_expense_line': { + const input = oracleFusionGetExpenseLineInputSchema.parse(rawInput) + return executeDetail( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}`, + oracleFusionExpenseLineSchema, + ORACLE_FUSION_EXPENSE_LINE_FIELDS, + 'expenseLine', + signal, + (item) => ({ + expenseLineUniqId: extractOracleFusionOpaqueKey(item, input.instanceUrl, { + family: 'fscm', + relativePath: `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense`, + }), + ...projectFields(item, ORACLE_FUSION_EXPENSE_LINE_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_create_expense_line': { + const input = oracleFusionCreateExpenseLineInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense`, + 'POST', + filterUndefined({ + AssignmentId: input.assignmentId, + OrgId: input.orgId, + PersonId: input.personId, + TicketClass: input.ticketClass, + ExpenseTypeId: input.expenseTypeId, + ExpenseTemplateId: input.expenseTemplateId, + Description: input.description, + Justification: input.justification, + ReceiptAmount: input.receiptAmount, + ReceiptCurrencyCode: input.receiptCurrencyCode, + ReceiptDate: input.receiptDate, + MerchantName: input.merchantName, + StartDate: input.startDate, + EndDate: input.endDate, + ExchangeRate: input.exchangeRate, + ReimbursementCurrencyCode: input.reimbursementCurrencyCode, + ItemizationParentExpenseId: input.itemizationParentExpenseId, + ReceiptMissingFlag: input.receiptMissingFlag, + Location: input.location, + CountryCode: input.countryCode, + ExpenseCategoryCode: input.expenseCategoryCode, + ExpenseSource: input.expenseSource, + NumberOfDays: input.numberOfDays, + NumberOfAttendees: input.numberOfAttendees, + TripDistance: input.tripDistance, + DistanceUnitCode: input.distanceUnitCode, + TicketClassCode: input.ticketClassCode, + TicketNumber: input.ticketNumber, + }), + oracleFusionExpenseLineSchema, + ORACLE_FUSION_EXPENSE_LINE_FIELDS, + 'expenseLine', + 'ExpenseId', + signal, + 'expenseLineUniqId' + ) + } + case 'oracle_fusion_financials_update_expense_line': { + const input = oracleFusionUpdateExpenseLineInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}`, + 'PATCH', + filterUndefined({ + AssignmentId: input.assignmentId, + OrgId: input.orgId, + PersonId: input.personId, + TicketClass: input.ticketClass, + ExpenseTypeId: input.expenseTypeId, + ExpenseTemplateId: input.expenseTemplateId, + Description: input.description, + Justification: input.justification, + ReceiptAmount: input.receiptAmount, + ReceiptCurrencyCode: input.receiptCurrencyCode, + ReceiptDate: input.receiptDate, + MerchantName: input.merchantName, + StartDate: input.startDate, + EndDate: input.endDate, + ExchangeRate: input.exchangeRate, + ReimbursementCurrencyCode: input.reimbursementCurrencyCode, + ItemizationParentExpenseId: input.itemizationParentExpenseId, + ReceiptMissingFlag: input.receiptMissingFlag, + Location: input.location, + CountryCode: input.countryCode, + ExpenseCategoryCode: input.expenseCategoryCode, + ExpenseSource: input.expenseSource, + NumberOfDays: input.numberOfDays, + NumberOfAttendees: input.numberOfAttendees, + TripDistance: input.tripDistance, + DistanceUnitCode: input.distanceUnitCode, + TicketClassCode: input.ticketClassCode, + TicketNumber: input.ticketNumber, + }), + oracleFusionExpenseLineSchema, + ORACLE_FUSION_EXPENSE_LINE_FIELDS, + 'expenseLine', + 'ExpenseId', + signal, + 'expenseLineUniqId' + ) + } + case 'oracle_fusion_financials_list_expense_distributions': { + const input = oracleFusionListExpenseDistributionsInputSchema.parse(rawInput) + return executeList( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}/child/ExpenseDistribution`, + oracleFusionExpenseDistributionSchema, + ORACLE_FUSION_EXPENSE_DISTRIBUTION_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_expense_distribution': { + const input = oracleFusionGetExpenseDistributionInputSchema.parse(rawInput) + return executeDetail( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}/child/ExpenseDistribution/${encodeOracleFusionPathSegment(input.expenseDistributionId)}`, + oracleFusionExpenseDistributionSchema, + ORACLE_FUSION_EXPENSE_DISTRIBUTION_FIELDS, + 'expenseDistribution', + signal + ) + } + case 'oracle_fusion_financials_create_expense_distribution': { + const input = oracleFusionCreateExpenseDistributionInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}/child/ExpenseDistribution`, + 'POST', + filterUndefined({ + ExpenseId: input.expenseId, + OrgId: input.orgId, + CodeCombinationId: input.codeCombinationId, + Company: input.company, + CostCenter: input.costCenter, + ReimbursableAmount: input.reimbursableAmount, + }), + oracleFusionExpenseDistributionSchema, + ORACLE_FUSION_EXPENSE_DISTRIBUTION_FIELDS, + 'expenseDistribution', + 'ExpenseDistId', + signal + ) + } + case 'oracle_fusion_financials_update_expense_distribution': { + const input = oracleFusionUpdateExpenseDistributionInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}/child/ExpenseDistribution/${encodeOracleFusionPathSegment(input.expenseDistributionId)}`, + 'PATCH', + filterUndefined({ + ExpenseId: input.expenseId, + OrgId: input.orgId, + CodeCombinationId: input.codeCombinationId, + Company: input.company, + CostCenter: input.costCenter, + ReimbursableAmount: input.reimbursableAmount, + }), + oracleFusionExpenseDistributionSchema, + ORACLE_FUSION_EXPENSE_DISTRIBUTION_FIELDS, + 'expenseDistribution', + 'ExpenseDistId', + signal + ) + } + case 'oracle_fusion_financials_list_expense_itemizations': { + const input = oracleFusionListExpenseItemizationsInputSchema.parse(rawInput) + return executeList( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}/child/ExpenseItemization`, + oracleFusionExpenseItemizationSchema, + ORACLE_FUSION_EXPENSE_ITEMIZATION_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_expense_itemization': { + const input = oracleFusionGetExpenseItemizationInputSchema.parse(rawInput) + return executeDetail( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}/child/ExpenseItemization/${encodeOracleFusionPathSegment(input.expenseItemizationId)}`, + oracleFusionExpenseItemizationSchema, + ORACLE_FUSION_EXPENSE_ITEMIZATION_FIELDS, + 'expenseItemization', + signal + ) + } + case 'oracle_fusion_financials_create_expense_itemization': { + const input = oracleFusionCreateExpenseItemizationInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}/child/ExpenseItemization`, + 'POST', + filterUndefined({ + AssignmentId: input.assignmentId, + OrgId: input.orgId, + PersonId: input.personId, + ExpenseTypeId: input.expenseTypeId, + ExpenseTemplateId: input.expenseTemplateId, + ItemizationParentExpenseId: input.itemizationParentExpenseId, + Description: input.description, + Justification: input.justification, + ReceiptAmount: input.receiptAmount, + ReceiptCurrencyCode: input.receiptCurrencyCode, + ReceiptDate: input.receiptDate, + MerchantName: input.merchantName, + StartDate: input.startDate, + EndDate: input.endDate, + ExchangeRate: input.exchangeRate, + ReimbursementCurrencyCode: input.reimbursementCurrencyCode, + ReceiptMissingFlag: input.receiptMissingFlag, + Location: input.location, + ExpenseCategoryCode: input.expenseCategoryCode, + NumberOfDays: input.numberOfDays, + NumberOfAttendees: input.numberOfAttendees, + }), + oracleFusionExpenseItemizationSchema, + ORACLE_FUSION_EXPENSE_ITEMIZATION_FIELDS, + 'expenseItemization', + 'ExpenseId', + signal + ) + } + case 'oracle_fusion_financials_update_expense_itemization': { + const input = oracleFusionUpdateExpenseItemizationInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}/child/ExpenseItemization/${encodeOracleFusionPathSegment(input.expenseItemizationId)}`, + 'PATCH', + filterUndefined({ + AssignmentId: input.assignmentId, + OrgId: input.orgId, + PersonId: input.personId, + ExpenseTypeId: input.expenseTypeId, + ExpenseTemplateId: input.expenseTemplateId, + ItemizationParentExpenseId: input.itemizationParentExpenseId, + Description: input.description, + Justification: input.justification, + ReceiptAmount: input.receiptAmount, + ReceiptCurrencyCode: input.receiptCurrencyCode, + ReceiptDate: input.receiptDate, + MerchantName: input.merchantName, + StartDate: input.startDate, + EndDate: input.endDate, + ExchangeRate: input.exchangeRate, + ReimbursementCurrencyCode: input.reimbursementCurrencyCode, + ReceiptMissingFlag: input.receiptMissingFlag, + Location: input.location, + ExpenseCategoryCode: input.expenseCategoryCode, + NumberOfDays: input.numberOfDays, + NumberOfAttendees: input.numberOfAttendees, + }), + oracleFusionExpenseItemizationSchema, + ORACLE_FUSION_EXPENSE_ITEMIZATION_FIELDS, + 'expenseItemization', + 'ExpenseId', + signal + ) + } + case 'oracle_fusion_financials_list_expense_report_processing_details': { + const input = oracleFusionListExpenseReportProcessingDetailsInputSchema.parse(rawInput) + return executeList( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/processingDetails`, + oracleFusionExpenseReportProcessingDetailSchema, + ORACLE_FUSION_EXPENSE_REPORT_PROCESSING_DETAIL_FIELDS, + signal, + (item) => ({ + expenseReportProcessingDetailUniqId: extractOracleFusionOpaqueKey( + item, + input.instanceUrl, + { + family: 'fscm', + relativePath: `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/processingDetails`, + } + ), + ...projectFields(item, ORACLE_FUSION_EXPENSE_REPORT_PROCESSING_DETAIL_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_expense_report_processing_detail': { + const input = oracleFusionGetExpenseReportProcessingDetailInputSchema.parse(rawInput) + return executeDetail( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/processingDetails/${encodeOracleFusionPathSegment(input.expenseReportProcessingDetailUniqId)}`, + oracleFusionExpenseReportProcessingDetailSchema, + ORACLE_FUSION_EXPENSE_REPORT_PROCESSING_DETAIL_FIELDS, + 'expenseReportProcessingDetail', + signal, + (item) => ({ + expenseReportProcessingDetailUniqId: extractOracleFusionOpaqueKey( + item, + input.instanceUrl, + { + family: 'fscm', + relativePath: `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/processingDetails`, + } + ), + ...projectFields(item, ORACLE_FUSION_EXPENSE_REPORT_PROCESSING_DETAIL_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_list_expense_report_payments': { + const input = oracleFusionListExpenseReportPaymentsInputSchema.parse(rawInput) + return executeList( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/ExpensePayment`, + oracleFusionExpenseReportPaymentSchema, + ORACLE_FUSION_EXPENSE_REPORT_PAYMENT_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_expense_report_payment': { + const input = oracleFusionGetExpenseReportPaymentInputSchema.parse(rawInput) + return executeDetail( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/ExpensePayment/${encodeOracleFusionPathSegment(input.expenseReportPaymentId)}`, + oracleFusionExpenseReportPaymentSchema, + ORACLE_FUSION_EXPENSE_REPORT_PAYMENT_FIELDS, + 'expenseReportPayment', + signal + ) + } + case 'oracle_fusion_financials_list_expense_line_errors': { + const input = oracleFusionListExpenseLineErrorsInputSchema.parse(rawInput) + return executeList( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}/child/expenseErrors`, + oracleFusionExpenseLineErrorSchema, + ORACLE_FUSION_EXPENSE_LINE_ERROR_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_expense_line_error': { + const input = oracleFusionGetExpenseLineErrorInputSchema.parse(rawInput) + return executeDetail( + input, + `expenseReports/${encodeOracleFusionPathSegment(input.expenseReportUniqId)}/child/Expense/${encodeOracleFusionPathSegment(input.expenseLineUniqId)}/child/expenseErrors/${encodeOracleFusionPathSegment(input.expenseLineErrorSequence)}`, + oracleFusionExpenseLineErrorSchema, + ORACLE_FUSION_EXPENSE_LINE_ERROR_FIELDS, + 'expenseLineError', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_invoices': + return listOracleFusionReceivablesInvoices(rawInput, signal) + case 'oracle_fusion_financials_get_receivables_invoice': + return getOracleFusionReceivablesInvoice(rawInput, signal) + case 'oracle_fusion_financials_create_receivables_invoice': { + const input = oracleFusionCreateReceivablesInvoiceInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `receivablesInvoices`, + 'POST', + filterUndefined({ + BusinessUnit: input.businessUnit, + TransactionNumber: input.transactionNumber, + TransactionDate: input.transactionDate, + AccountingDate: input.accountingDate, + BillToCustomerName: input.billToCustomerName, + BillToCustomerNumber: input.billToCustomerNumber, + BillToSite: input.billToSite, + InvoiceCurrencyCode: input.invoiceCurrencyCode, + InvoiceStatus: input.invoiceStatus, + PaymentTerms: input.paymentTerms, + TransactionSource: input.transactionSource, + TransactionType: input.transactionType, + Comments: input.comments, + PurchaseOrder: input.purchaseOrder, + ConversionRateType: input.conversionRateType, + ConversionRate: input.conversionRate, + ConversionDate: input.conversionDate, + receivablesInvoiceLines: input.lines, + receivablesInvoiceDistributions: input.distributions, + }), + oracleFusionReceivablesInvoiceSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_FIELDS, + 'receivablesInvoice', + 'CustomerTransactionId', + signal + ) + } + case 'oracle_fusion_financials_update_receivables_invoice': { + const input = oracleFusionUpdateReceivablesInvoiceInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}`, + 'PATCH', + filterUndefined({ + InvoiceStatus: input.invoiceStatus, + PaymentTerms: input.paymentTerms, + TransactionDate: input.transactionDate, + }), + oracleFusionReceivablesInvoiceSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_FIELDS, + 'receivablesInvoice', + 'CustomerTransactionId', + signal + ) + } + case 'oracle_fusion_financials_delete_receivables_invoice': { + const input = oracleFusionDeleteReceivablesInvoiceInputSchema.parse(rawInput) + await requestOracleFusionEmpty( + input, + { + address: { + family: 'fscm', + relativePath: `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}`, + }, + method: 'DELETE', + }, + signal + ) + return { success: true, output: { deleted: true, id: input.receivablesInvoiceId } } + } + case 'oracle_fusion_financials_approve_receivables_invoice': { + const input = oracleFusionApproveReceivablesInvoiceInputSchema.parse(rawInput) + return executeFinancialsAction( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/action/approve`, + filterUndefined({ comment: input.comment }), + 'SUCCESS', + signal + ) + } + case 'oracle_fusion_financials_rework_receivables_invoice': { + const input = oracleFusionReworkReceivablesInvoiceInputSchema.parse(rawInput) + return executeFinancialsAction( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/action/rework`, + filterUndefined({ comment: input.comment }), + 'SUCCESS', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_invoice_lines': { + const input = oracleFusionListReceivablesInvoiceLinesInputSchema.parse(rawInput) + return executeList( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/child/receivablesInvoiceLines`, + oracleFusionReceivablesInvoiceLineSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_LINE_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_receivables_invoice_line': { + const input = oracleFusionGetReceivablesInvoiceLineInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/child/receivablesInvoiceLines/${encodeOracleFusionPathSegment(input.receivablesInvoiceLineId)}`, + oracleFusionReceivablesInvoiceLineSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_LINE_FIELDS, + 'receivablesInvoiceLine', + signal + ) + } + case 'oracle_fusion_financials_create_receivables_invoice_line': { + const input = oracleFusionCreateReceivablesInvoiceLineInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/child/receivablesInvoiceLines`, + 'POST', + filterUndefined({ + LineNumber: input.lineNumber, + Description: input.description, + ItemNumber: input.itemNumber, + MemoLine: input.memoLine, + LineAmount: input.lineAmount, + Quantity: input.quantity, + UnitSellingPrice: input.unitSellingPrice, + UnitOfMeasure: input.unitOfMeasure, + AccountingRule: input.accountingRule, + AccountingRuleDuration: input.accountingRuleDuration, + RuleStartDate: input.ruleStartDate, + RuleEndDate: input.ruleEndDate, + TaxClassificationCode: input.taxClassificationCode, + SalesOrder: input.salesOrder, + }), + oracleFusionReceivablesInvoiceLineSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_LINE_FIELDS, + 'receivablesInvoiceLine', + 'CustomerTransactionLineId', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_invoice_distributions': { + const input = oracleFusionListReceivablesInvoiceDistributionsInputSchema.parse(rawInput) + return executeList( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/child/receivablesInvoiceDistributions`, + oracleFusionReceivablesInvoiceDistributionSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_DISTRIBUTION_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_receivables_invoice_distribution': { + const input = oracleFusionGetReceivablesInvoiceDistributionInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/child/receivablesInvoiceDistributions/${encodeOracleFusionPathSegment(input.receivablesInvoiceDistributionId)}`, + oracleFusionReceivablesInvoiceDistributionSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_DISTRIBUTION_FIELDS, + 'receivablesInvoiceDistribution', + signal + ) + } + case 'oracle_fusion_financials_create_receivables_invoice_distribution': { + const input = oracleFusionCreateReceivablesInvoiceDistributionInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/child/receivablesInvoiceDistributions`, + 'POST', + filterUndefined({ + AccountClass: input.accountClass, + AccountCombination: input.accountCombination, + AccountedAmount: input.accountedAmount, + Amount: input.amount, + InvoiceLineNumber: input.invoiceLineNumber, + DetailedTaxLineNumber: input.detailedTaxLineNumber, + Percent: input.percent, + Comments: input.comments, + }), + oracleFusionReceivablesInvoiceDistributionSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_DISTRIBUTION_FIELDS, + 'receivablesInvoiceDistribution', + 'DistributionId', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_invoice_installments': { + const input = oracleFusionListReceivablesInvoiceInstallmentsInputSchema.parse(rawInput) + return executeList( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/child/receivablesInvoiceInstallments`, + oracleFusionReceivablesInvoiceInstallmentSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_INSTALLMENT_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_receivables_invoice_installment': { + const input = oracleFusionGetReceivablesInvoiceInstallmentInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/child/receivablesInvoiceInstallments/${encodeOracleFusionPathSegment(input.receivablesInvoiceInstallmentId)}`, + oracleFusionReceivablesInvoiceInstallmentSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_INSTALLMENT_FIELDS, + 'receivablesInvoiceInstallment', + signal + ) + } + case 'oracle_fusion_financials_update_receivables_invoice_installment': { + const input = oracleFusionUpdateReceivablesInvoiceInstallmentInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `receivablesInvoices/${encodeOracleFusionPathSegment(input.receivablesInvoiceId)}/child/receivablesInvoiceInstallments/${encodeOracleFusionPathSegment(input.receivablesInvoiceInstallmentId)}`, + 'PATCH', + filterUndefined({ + InstallmentDueDate: input.installmentDueDate, + OriginalAmount: input.originalAmount, + }), + oracleFusionReceivablesInvoiceInstallmentSchema, + ORACLE_FUSION_RECEIVABLES_INVOICE_INSTALLMENT_FIELDS, + 'receivablesInvoiceInstallment', + 'InstallmentId', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_credit_memos': + return listOracleFusionReceivablesCreditMemos(rawInput, signal) + case 'oracle_fusion_financials_get_receivables_credit_memo': + return getOracleFusionReceivablesCreditMemo(rawInput, signal) + case 'oracle_fusion_financials_create_receivables_credit_memo': { + const input = oracleFusionCreateReceivablesCreditMemoInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `receivablesCreditMemos`, + 'POST', + filterUndefined({ + BusinessUnit: input.businessUnit, + TransactionNumber: input.transactionNumber, + TransactionDate: input.transactionDate, + AccountingDate: input.accountingDate, + BillToCustomerName: input.billToCustomerName, + BillToCustomerNumber: input.billToCustomerNumber, + BillToSite: input.billToSite, + CreditMemoCurrency: input.creditMemoCurrency, + CreditMemoStatus: input.creditMemoStatus, + CreditReason: input.creditReason, + FreightCreditAmount: input.freightCreditAmount, + TransactionSource: input.transactionSource, + TransactionType: input.transactionType, + CreditMemoComments: input.creditMemoComments, + ConversionRate: input.conversionRate, + ConversionRateType: input.conversionRateType, + ConversionRateDate: input.conversionRateDate, + receivablesCreditMemoLines: input.lines, + receivablesCreditMemoDistributions: input.distributions, + }), + oracleFusionReceivablesCreditMemoSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_FIELDS, + 'receivablesCreditMemo', + 'CustomerTransactionId', + signal + ) + } + case 'oracle_fusion_financials_update_receivables_credit_memo': { + const input = oracleFusionUpdateReceivablesCreditMemoInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `receivablesCreditMemos/${encodeOracleFusionPathSegment(input.receivablesCreditMemoId)}`, + 'PATCH', + filterUndefined({ + AllowCompletion: input.allowCompletion, + ControlCompletionReason: input.controlCompletionReason, + CreditMemoStatus: input.creditMemoStatus, + RecipientEmail: input.recipientEmail, + TransactionType: input.transactionType, + }), + oracleFusionReceivablesCreditMemoSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_FIELDS, + 'receivablesCreditMemo', + 'CustomerTransactionId', + signal + ) + } + case 'oracle_fusion_financials_approve_receivables_credit_memo': { + const input = oracleFusionApproveReceivablesCreditMemoInputSchema.parse(rawInput) + return executeFinancialsAction( + input, + `receivablesCreditMemos/${encodeOracleFusionPathSegment(input.receivablesCreditMemoId)}/action/approve`, + filterUndefined({ comment: input.comment }), + 'SUCCESS', + signal + ) + } + case 'oracle_fusion_financials_rework_receivables_credit_memo': { + const input = oracleFusionReworkReceivablesCreditMemoInputSchema.parse(rawInput) + return executeFinancialsAction( + input, + `receivablesCreditMemos/${encodeOracleFusionPathSegment(input.receivablesCreditMemoId)}/action/rework`, + filterUndefined({ comment: input.comment }), + 'SUCCESS', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_credit_memo_lines': { + const input = oracleFusionListReceivablesCreditMemoLinesInputSchema.parse(rawInput) + return executeList( + input, + `receivablesCreditMemos/${encodeOracleFusionPathSegment(input.receivablesCreditMemoId)}/child/receivablesCreditMemoLines`, + oracleFusionReceivablesCreditMemoLineSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_LINE_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_receivables_credit_memo_line': { + const input = oracleFusionGetReceivablesCreditMemoLineInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesCreditMemos/${encodeOracleFusionPathSegment(input.receivablesCreditMemoId)}/child/receivablesCreditMemoLines/${encodeOracleFusionPathSegment(input.receivablesCreditMemoLineId)}`, + oracleFusionReceivablesCreditMemoLineSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_LINE_FIELDS, + 'receivablesCreditMemoLine', + signal + ) + } + case 'oracle_fusion_financials_create_receivables_credit_memo_line': { + const input = oracleFusionCreateReceivablesCreditMemoLineInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `receivablesCreditMemos/${encodeOracleFusionPathSegment(input.receivablesCreditMemoId)}/child/receivablesCreditMemoLines`, + 'POST', + filterUndefined({ + LineNumber: input.lineNumber, + LineDescription: input.lineDescription, + ItemNumber: input.itemNumber, + MemoLine: input.memoLine, + LineAmountCredit: input.lineAmountCredit, + LineQuantityCredit: input.lineQuantityCredit, + UnitSellingPrice: input.unitSellingPrice, + UnitOfMeasure: input.unitOfMeasure, + LineCreditReason: input.lineCreditReason, + LineFreightCreditAmount: input.lineFreightCreditAmount, + TaxClassificationCode: input.taxClassificationCode, + }), + oracleFusionReceivablesCreditMemoLineSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_LINE_FIELDS, + 'receivablesCreditMemoLine', + 'CustomerTransactionLineId', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_credit_memo_distributions': { + const input = oracleFusionListReceivablesCreditMemoDistributionsInputSchema.parse(rawInput) + return executeList( + input, + `receivablesCreditMemos/${encodeOracleFusionPathSegment(input.receivablesCreditMemoId)}/child/receivablesCreditMemoDistributions`, + oracleFusionReceivablesCreditMemoDistributionSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_DISTRIBUTION_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_receivables_credit_memo_distribution': { + const input = oracleFusionGetReceivablesCreditMemoDistributionInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesCreditMemos/${encodeOracleFusionPathSegment(input.receivablesCreditMemoId)}/child/receivablesCreditMemoDistributions/${encodeOracleFusionPathSegment(input.receivablesCreditMemoDistributionId)}`, + oracleFusionReceivablesCreditMemoDistributionSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_DISTRIBUTION_FIELDS, + 'receivablesCreditMemoDistribution', + signal + ) + } + case 'oracle_fusion_financials_create_receivables_credit_memo_distribution': { + const input = oracleFusionCreateReceivablesCreditMemoDistributionInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `receivablesCreditMemos/${encodeOracleFusionPathSegment(input.receivablesCreditMemoId)}/child/receivablesCreditMemoDistributions`, + 'POST', + filterUndefined({ + AccountClass: input.accountClass, + AccountCombination: input.accountCombination, + AccountedAmount: input.accountedAmount, + Amount: input.amount, + CreditMemoLineNumber: input.creditMemoLineNumber, + DetailedTaxLineNumber: input.detailedTaxLineNumber, + Percent: input.percent, + Comments: input.comments, + }), + oracleFusionReceivablesCreditMemoDistributionSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_DISTRIBUTION_FIELDS, + 'receivablesCreditMemoDistribution', + 'DistributionId', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_receipts': + return listOracleFusionReceivablesReceipts(rawInput, signal) + case 'oracle_fusion_financials_get_receivables_receipt': + return getOracleFusionReceivablesReceipt(rawInput, signal) + case 'oracle_fusion_financials_create_receivables_receipt': { + const input = oracleFusionCreateReceivablesReceiptInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `standardReceipts`, + 'POST', + filterUndefined({ + Amount: input.amount, + BusinessUnit: input.businessUnit, + Currency: input.currency, + ReceiptDate: input.receiptDate, + ReceiptMethod: input.receiptMethod, + ReceiptNumber: input.receiptNumber, + AccountingDate: input.accountingDate, + CustomerAccountNumber: input.customerAccountNumber, + CustomerName: input.customerName, + CustomerSite: input.customerSite, + Comments: input.comments, + ConversionRate: input.conversionRate, + ConversionRateType: input.conversionRateType, + ConversionDate: input.conversionDate, + MaturityDate: input.maturityDate, + StructuredPaymentReference: input.structuredPaymentReference, + }), + oracleFusionReceivablesReceiptSchema, + ORACLE_FUSION_RECEIVABLES_RECEIPT_FIELDS, + 'receivablesReceipt', + 'StandardReceiptId', + signal + ) + } + case 'oracle_fusion_financials_update_receivables_receipt': { + const input = oracleFusionUpdateReceivablesReceiptInputSchema.parse(rawInput) + return executeFinancialsWrite( + input, + `standardReceipts/${encodeOracleFusionPathSegment(input.receivablesReceiptId)}`, + 'PATCH', + filterUndefined({ + Amount: input.amount, + Currency: input.currency, + ReceiptDate: input.receiptDate, + ReceiptMethod: input.receiptMethod, + ReceiptNumber: input.receiptNumber, + AccountingDate: input.accountingDate, + CustomerAccountNumber: input.customerAccountNumber, + CustomerName: input.customerName, + CustomerSite: input.customerSite, + Comments: input.comments, + ConversionRate: input.conversionRate, + ConversionRateType: input.conversionRateType, + ConversionDate: input.conversionDate, + MaturityDate: input.maturityDate, + StructuredPaymentReference: input.structuredPaymentReference, + }), + oracleFusionReceivablesReceiptSchema, + ORACLE_FUSION_RECEIVABLES_RECEIPT_FIELDS, + 'receivablesReceipt', + 'StandardReceiptId', + signal + ) + } + case 'oracle_fusion_financials_delete_receivables_receipt': { + const input = oracleFusionDeleteReceivablesReceiptInputSchema.parse(rawInput) + await requestOracleFusionEmpty( + input, + { + address: { + family: 'fscm', + relativePath: `standardReceipts/${encodeOracleFusionPathSegment(input.receivablesReceiptId)}`, + }, + method: 'DELETE', + }, + signal + ) + return { success: true, output: { deleted: true, id: input.receivablesReceiptId } } + } + case 'oracle_fusion_financials_apply_receivables_receipt': { + const input = oracleFusionApplyReceivablesReceiptInputSchema.parse(rawInput) + return executeFinancialsAction( + input, + `standardReceipts/${encodeOracleFusionPathSegment(input.receivablesReceiptId)}/action/applyReceipt`, + filterUndefined({ + appliedPaymentScheduleId: input.appliedPaymentScheduleId, + amountApplied: input.amountApplied, + calledFrom: input.calledFrom, + }), + 'SUCCESS', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_customer_accounts': + return listOracleFusionReceivablesCustomerAccounts(rawInput, signal) + case 'oracle_fusion_financials_get_receivables_customer_account': + return getOracleFusionReceivablesCustomerAccount(rawInput, signal) + case 'oracle_fusion_financials_list_receivables_customer_account_sites': + return listOracleFusionReceivablesCustomerAccountSites(rawInput, signal) + case 'oracle_fusion_financials_get_receivables_customer_account_site': + return getOracleFusionReceivablesCustomerAccountSite(rawInput, signal) + case 'oracle_fusion_financials_list_receivables_receipt_applications': { + const input = oracleFusionListReceivablesReceiptApplicationsInputSchema.parse(rawInput) + return executeList( + input, + `receivablesCustomerAccountActivities/${encodeOracleFusionPathSegment(input.receivablesCustomerAccountId)}/child/standardReceiptApplications`, + oracleFusionReceivablesReceiptApplicationSchema, + ORACLE_FUSION_RECEIVABLES_RECEIPT_APPLICATION_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_receivables_receipt_application': { + const input = oracleFusionGetReceivablesReceiptApplicationInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesCustomerAccountActivities/${encodeOracleFusionPathSegment(input.receivablesCustomerAccountId)}/child/standardReceiptApplications/${encodeOracleFusionPathSegment(input.receivablesReceiptApplicationId)}`, + oracleFusionReceivablesReceiptApplicationSchema, + ORACLE_FUSION_RECEIVABLES_RECEIPT_APPLICATION_FIELDS, + 'receivablesReceiptApplication', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_credit_memo_applications': { + const input = oracleFusionListReceivablesCreditMemoApplicationsInputSchema.parse(rawInput) + return executeList( + input, + `receivablesCustomerAccountActivities/${encodeOracleFusionPathSegment(input.receivablesCustomerAccountId)}/child/creditMemoApplications`, + oracleFusionReceivablesCreditMemoApplicationSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_APPLICATION_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_receivables_credit_memo_application': { + const input = oracleFusionGetReceivablesCreditMemoApplicationInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesCustomerAccountActivities/${encodeOracleFusionPathSegment(input.receivablesCustomerAccountId)}/child/creditMemoApplications/${encodeOracleFusionPathSegment(input.receivablesCreditMemoApplicationId)}`, + oracleFusionReceivablesCreditMemoApplicationSchema, + ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_APPLICATION_FIELDS, + 'receivablesCreditMemoApplication', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_transaction_payment_schedules': { + const input = + oracleFusionListReceivablesTransactionPaymentSchedulesInputSchema.parse(rawInput) + return executeList( + input, + `receivablesCustomerAccountActivities/${encodeOracleFusionPathSegment(input.receivablesCustomerAccountId)}/child/transactionPaymentSchedules`, + oracleFusionReceivablesTransactionPaymentScheduleSchema, + ORACLE_FUSION_RECEIVABLES_TRANSACTION_PAYMENT_SCHEDULE_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_receivables_transaction_payment_schedule': { + const input = oracleFusionGetReceivablesTransactionPaymentScheduleInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesCustomerAccountActivities/${encodeOracleFusionPathSegment(input.receivablesCustomerAccountId)}/child/transactionPaymentSchedules/${encodeOracleFusionPathSegment(input.receivablesTransactionPaymentScheduleId)}`, + oracleFusionReceivablesTransactionPaymentScheduleSchema, + ORACLE_FUSION_RECEIVABLES_TRANSACTION_PAYMENT_SCHEDULE_FIELDS, + 'receivablesTransactionPaymentSchedule', + signal + ) + } + case 'oracle_fusion_financials_list_receivables_transaction_adjustments': { + const input = oracleFusionListReceivablesTransactionAdjustmentsInputSchema.parse(rawInput) + return executeList( + input, + `receivablesCustomerAccountActivities/${encodeOracleFusionPathSegment(input.receivablesCustomerAccountId)}/child/transactionAdjustments`, + oracleFusionReceivablesTransactionAdjustmentSchema, + ORACLE_FUSION_RECEIVABLES_TRANSACTION_ADJUSTMENT_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_receivables_transaction_adjustment': { + const input = oracleFusionGetReceivablesTransactionAdjustmentInputSchema.parse(rawInput) + return executeDetail( + input, + `receivablesCustomerAccountActivities/${encodeOracleFusionPathSegment(input.receivablesCustomerAccountId)}/child/transactionAdjustments/${encodeOracleFusionPathSegment(input.receivablesTransactionAdjustmentId)}`, + oracleFusionReceivablesTransactionAdjustmentSchema, + ORACLE_FUSION_RECEIVABLES_TRANSACTION_ADJUSTMENT_FIELDS, + 'receivablesTransactionAdjustment', + signal + ) + } + + case 'oracle_fusion_financials_list_payables_invoices': { + return listOracleFusionInvoices(rawInput, signal) + } + case 'oracle_fusion_financials_get_payables_invoice': { + return getOracleFusionInvoice(rawInput, signal) + } + case 'oracle_fusion_financials_list_payables_invoice_lines': { + const input = oracleFusionInvoiceChildListInputSchema.parse(rawInput) + const collectionPath = invoiceLineCollectionPath(input.invoiceUniqId) + return executeList( + input, + collectionPath, + oracleFusionInvoiceLineSchema, + ORACLE_FUSION_INVOICE_LINE_FIELDS, + signal, + (line) => ({ + invoiceLineUniqId: extractOracleFusionOpaqueKey(line, input.instanceUrl, { + family: 'fscm', + relativePath: collectionPath, + }), + ...projectFields(line, ORACLE_FUSION_INVOICE_LINE_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_payables_invoice_line': { + const input = oracleFusionGetInvoiceLineInputSchema.parse(rawInput) + const collectionPath = invoiceLineCollectionPath(input.invoiceUniqId) + const path = `${collectionPath}/${encodeOracleFusionPathSegment(input.invoiceLineUniqId)}` + return executeDetail( + input, + path, + oracleFusionInvoiceLineSchema, + ORACLE_FUSION_INVOICE_LINE_FIELDS, + 'invoiceLine', + signal, + (line) => ({ + invoiceLineUniqId: extractOracleFusionOpaqueKey(line, input.instanceUrl, { + family: 'fscm', + relativePath: collectionPath, + }), + ...projectFields(line, ORACLE_FUSION_INVOICE_LINE_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_list_payables_invoice_installments': { + const input = oracleFusionInvoiceChildListInputSchema.parse(rawInput) + const collectionPath = invoiceInstallmentCollectionPath(input.invoiceUniqId) + return executeList( + input, + collectionPath, + oracleFusionInstallmentSchema, + ORACLE_FUSION_INSTALLMENT_FIELDS, + signal, + (installment) => ({ + invoiceInstallmentUniqId: extractOracleFusionOpaqueKey(installment, input.instanceUrl, { + family: 'fscm', + relativePath: collectionPath, + }), + ...projectFields(installment, ORACLE_FUSION_INSTALLMENT_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_payables_invoice_installment': { + const input = oracleFusionGetInvoiceInstallmentInputSchema.parse(rawInput) + const collectionPath = invoiceInstallmentCollectionPath(input.invoiceUniqId) + const path = `${collectionPath}/${encodeOracleFusionPathSegment(input.invoiceInstallmentUniqId)}` + return executeDetail( + input, + path, + oracleFusionInstallmentSchema, + ORACLE_FUSION_INSTALLMENT_FIELDS, + 'invoiceInstallment', + signal, + (installment) => ({ + invoiceInstallmentUniqId: extractOracleFusionOpaqueKey(installment, input.instanceUrl, { + family: 'fscm', + relativePath: collectionPath, + }), + ...projectFields(installment, ORACLE_FUSION_INSTALLMENT_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_list_payables_invoice_distributions': { + const input = oracleFusionInvoiceDistributionListInputSchema.parse(rawInput) + return executeList( + input, + invoiceDistributionCollectionPath(input.invoiceUniqId, input.invoiceLineUniqId), + oracleFusionInvoiceDistributionSchema, + ORACLE_FUSION_INVOICE_DISTRIBUTION_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_payables_invoice_distribution': { + const input = oracleFusionGetInvoiceDistributionInputSchema.parse(rawInput) + const path = `${invoiceDistributionCollectionPath(input.invoiceUniqId, input.invoiceLineUniqId)}/${input.invoiceDistributionId}` + return executeDetail( + input, + path, + oracleFusionInvoiceDistributionSchema, + ORACLE_FUSION_INVOICE_DISTRIBUTION_FIELDS, + 'invoiceDistribution', + signal + ) + } + case 'oracle_fusion_financials_list_payables_applied_prepayments': { + const input = oracleFusionInvoiceChildListInputSchema.parse(rawInput) + const collectionPath = prepaymentCollectionPath(input.invoiceUniqId, 'appliedPrepayments') + return executeList( + input, + collectionPath, + oracleFusionAppliedPrepaymentSchema, + ORACLE_FUSION_APPLIED_PREPAYMENT_FIELDS, + signal, + (prepayment) => ({ + appliedPrepaymentUniqId: extractOracleFusionOpaqueKey(prepayment, input.instanceUrl, { + family: 'fscm', + relativePath: collectionPath, + }), + ...projectFields(prepayment, ORACLE_FUSION_APPLIED_PREPAYMENT_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_payables_applied_prepayment': { + const input = oracleFusionGetAppliedPrepaymentInputSchema.parse(rawInput) + const collectionPath = prepaymentCollectionPath(input.invoiceUniqId, 'appliedPrepayments') + const path = `${collectionPath}/${encodeOracleFusionPathSegment(input.appliedPrepaymentUniqId)}` + return executeDetail( + input, + path, + oracleFusionAppliedPrepaymentSchema, + ORACLE_FUSION_APPLIED_PREPAYMENT_FIELDS, + 'appliedPrepayment', + signal, + (prepayment) => ({ + appliedPrepaymentUniqId: extractOracleFusionOpaqueKey(prepayment, input.instanceUrl, { + family: 'fscm', + relativePath: collectionPath, + }), + ...projectFields(prepayment, ORACLE_FUSION_APPLIED_PREPAYMENT_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_list_payables_available_prepayments': { + const input = oracleFusionInvoiceChildListInputSchema.parse(rawInput) + const collectionPath = prepaymentCollectionPath(input.invoiceUniqId, 'availablePrepayments') + return executeList( + input, + collectionPath, + oracleFusionAvailablePrepaymentSchema, + ORACLE_FUSION_AVAILABLE_PREPAYMENT_FIELDS, + signal, + (prepayment) => ({ + availablePrepaymentUniqId: extractOracleFusionOpaqueKey(prepayment, input.instanceUrl, { + family: 'fscm', + relativePath: collectionPath, + }), + ...projectFields(prepayment, ORACLE_FUSION_AVAILABLE_PREPAYMENT_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_payables_available_prepayment': { + const input = oracleFusionGetAvailablePrepaymentInputSchema.parse(rawInput) + const collectionPath = prepaymentCollectionPath(input.invoiceUniqId, 'availablePrepayments') + const path = `${collectionPath}/${encodeOracleFusionPathSegment(input.availablePrepaymentUniqId)}` + return executeDetail( + input, + path, + oracleFusionAvailablePrepaymentSchema, + ORACLE_FUSION_AVAILABLE_PREPAYMENT_FIELDS, + 'availablePrepayment', + signal, + (prepayment) => ({ + availablePrepaymentUniqId: extractOracleFusionOpaqueKey(prepayment, input.instanceUrl, { + family: 'fscm', + relativePath: collectionPath, + }), + ...projectFields(prepayment, ORACLE_FUSION_AVAILABLE_PREPAYMENT_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_list_payables_payments': { + const input = oracleFusionListInputSchema.parse(rawInput) + return executeList( + input, + 'payablesPayments', + oracleFusionPaymentSchema, + ORACLE_FUSION_PAYMENT_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_payables_payment': { + const input = oracleFusionGetPaymentInputSchema.parse(rawInput) + return executeDetail( + input, + paymentPath(input.checkId), + oracleFusionPaymentSchema, + ORACLE_FUSION_PAYMENT_FIELDS, + 'payment', + signal + ) + } + case 'oracle_fusion_financials_list_payables_payment_related_invoices': { + const input = oracleFusionPaymentRelatedInvoiceListInputSchema.parse(rawInput) + return executeList( + input, + relatedInvoiceCollectionPath(input.checkId), + oracleFusionPaymentRelatedInvoiceSchema, + ORACLE_FUSION_PAYMENT_RELATED_INVOICE_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_payables_payment_related_invoice': { + const input = oracleFusionGetPaymentRelatedInvoiceInputSchema.parse(rawInput) + const path = `${relatedInvoiceCollectionPath(input.checkId)}/${input.invoicePaymentId}` + return executeDetail( + input, + path, + oracleFusionPaymentRelatedInvoiceSchema, + ORACLE_FUSION_PAYMENT_RELATED_INVOICE_FIELDS, + 'paymentRelatedInvoice', + signal + ) + } + case 'oracle_fusion_financials_list_payment_process_requests': { + const input = oracleFusionListInputSchema.parse(rawInput) + return executeList( + input, + 'paymentProcessRequests', + oracleFusionPaymentProcessRequestSchema, + ORACLE_FUSION_PAYMENT_PROCESS_REQUEST_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_payment_process_request': { + const input = oracleFusionGetPaymentProcessRequestInputSchema.parse(rawInput) + return executeDetail( + input, + `paymentProcessRequests/${input.paymentProcessRequestId}`, + oracleFusionPaymentProcessRequestSchema, + ORACLE_FUSION_PAYMENT_PROCESS_REQUEST_FIELDS, + 'paymentProcessRequest', + signal + ) + } + case 'oracle_fusion_financials_list_payables_invoice_holds': { + const input = oracleFusionListInputSchema.parse(rawInput) + return executeList( + input, + 'invoiceHolds', + oracleFusionInvoiceHoldSchema, + ORACLE_FUSION_INVOICE_HOLD_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_payables_invoice_hold': { + const input = oracleFusionGetInvoiceHoldInputSchema.parse(rawInput) + return executeDetail( + input, + `invoiceHolds/${input.holdId}`, + oracleFusionInvoiceHoldSchema, + ORACLE_FUSION_INVOICE_HOLD_FIELDS, + 'invoiceHold', + signal + ) + } + case 'oracle_fusion_financials_list_payables_payment_terms': { + const input = oracleFusionListInputSchema.parse(rawInput) + return executeList( + input, + 'payablesPaymentTerms', + oracleFusionPaymentTermSchema, + ORACLE_FUSION_PAYMENT_TERM_FIELDS, + signal + ) + } + case 'oracle_fusion_financials_get_payables_payment_term': { + const input = oracleFusionGetPaymentTermInputSchema.parse(rawInput) + return executeDetail( + input, + paymentTermPath(input.termsId), + oracleFusionPaymentTermSchema, + ORACLE_FUSION_PAYMENT_TERM_FIELDS, + 'paymentTerm', + signal + ) + } + case 'oracle_fusion_financials_list_payables_payment_term_lines': { + const input = oracleFusionPaymentTermLineListInputSchema.parse(rawInput) + const collectionPath = paymentTermLineCollectionPath(input.termsId) + return executeList( + input, + collectionPath, + oracleFusionPaymentTermLineSchema, + ORACLE_FUSION_PAYMENT_TERM_LINE_FIELDS, + signal, + (line) => ({ + paymentTermLineUniqId: extractOracleFusionOpaqueKey(line, input.instanceUrl, { + family: 'fscm', + relativePath: collectionPath, + }), + ...projectFields(line, ORACLE_FUSION_PAYMENT_TERM_LINE_FIELDS), + }) + ) + } + case 'oracle_fusion_financials_get_payables_payment_term_line': { + const input = oracleFusionGetPaymentTermLineInputSchema.parse(rawInput) + const collectionPath = paymentTermLineCollectionPath(input.termsId) + const path = `${collectionPath}/${encodeOracleFusionPathSegment(input.paymentTermLineUniqId)}` + return executeDetail( + input, + path, + oracleFusionPaymentTermLineSchema, + ORACLE_FUSION_PAYMENT_TERM_LINE_FIELDS, + 'paymentTermLine', + signal, + (line) => ({ + paymentTermLineUniqId: extractOracleFusionOpaqueKey(line, input.instanceUrl, { + family: 'fscm', + relativePath: collectionPath, + }), + ...projectFields(line, ORACLE_FUSION_PAYMENT_TERM_LINE_FIELDS), + }) + ) + } + } +} diff --git a/apps/sim/lib/internal/oracle-fusion-financials/schema.test.ts b/apps/sim/lib/internal/oracle-fusion-financials/schema.test.ts new file mode 100644 index 00000000000..45455f4f3a1 --- /dev/null +++ b/apps/sim/lib/internal/oracle-fusion-financials/schema.test.ts @@ -0,0 +1,425 @@ +/** + * @vitest-environment node + */ +import { describe, expect, it } from 'vitest' +import { + oracleFusionAppliedPrepaymentSchema, + oracleFusionApplyReceivablesReceiptInputSchema, + oracleFusionAvailablePrepaymentSchema, + oracleFusionCreateExpenseLineInputSchema, + oracleFusionCreateExpenseReportInputSchema, + oracleFusionCreateReceivablesCreditMemoInputSchema, + oracleFusionCreateReceivablesInvoiceInputSchema, + oracleFusionCreateReceivablesReceiptInputSchema, + oracleFusionExpenseLineSchema, + oracleFusionGetExpenseReportInputSchema, + oracleFusionGetGlJournalLineInputSchema, + oracleFusionGetInvoiceInputSchema, + oracleFusionGlBalanceSchema, + oracleFusionGlJournalLineSchema, + oracleFusionGlLedgerSchema, + oracleFusionInstallmentSchema, + oracleFusionInvoiceDistributionSchema, + oracleFusionInvoiceHoldSchema, + oracleFusionInvoiceLineSchema, + oracleFusionInvoiceSchema, + oracleFusionListInvoicesInputSchema, + oracleFusionPaymentProcessRequestSchema, + oracleFusionPaymentRelatedInvoiceSchema, + oracleFusionPaymentSchema, + oracleFusionPaymentTermLineSchema, + oracleFusionPaymentTermSchema, + oracleFusionReceivablesCreditMemoSchema, + oracleFusionReceivablesInvoiceSchema, + oracleFusionUpdateExpenseDistributionInputSchema, + oracleFusionUpdateReceivablesInvoiceInputSchema, + oracleFusionUpdateReceivablesInvoiceInstallmentInputSchema, + projectFields, +} from '@/lib/internal/oracle-fusion-financials/schema' + +const AUTH = { + oauthCredential: 'credential-1', + accessToken: 'server-resolved-credential', + instanceUrl: 'https://vision.fa.us2.oraclecloud.com', +} + +describe('Oracle Fusion Financials product schemas', () => { + it('preserves balance markers, nullable ledger IDs, and exact journal line numbers', () => { + expect( + oracleFusionGlBalanceSchema.parse({ + ActualBalance: '#MISSING', + BeginningBalance: null, + EndingBalance: 'N/A', + PeriodActivity: '120.00', + }) + ).toEqual({ + ActualBalance: '#MISSING', + BeginningBalance: null, + EndingBalance: 'N/A', + PeriodActivity: '120.00', + }) + expect(oracleFusionGlBalanceSchema.safeParse({ ActualBalance: 120 }).success).toBe(false) + expect(oracleFusionGlLedgerSchema.parse({ LedgerId: null })).toEqual({ LedgerId: null }) + expect(oracleFusionGlJournalLineSchema.parse({ JeLineNumber: '9007199254740993' })).toEqual({ + JeLineNumber: '9007199254740993', + }) + const keys = { + ...AUTH, + glJournalBatchId: '42', + glJournalHeaderUniqId: ' header%2Fkey ', + glJournalLineUniqId: ' line key ', + } + expect(oracleFusionGetGlJournalLineInputSchema.parse(keys)).toMatchObject(keys) + }) + + it('requires explicit expense creation identities without inventing tenant defaults', () => { + expect(oracleFusionCreateExpenseReportInputSchema.safeParse(AUTH).success).toBe(false) + const line = { + ...AUTH, + expenseReportUniqId: 'REPORTKEY', + assignmentId: '1', + orgId: '2', + personId: '3', + ticketClass: 'Economy', + } + expect(oracleFusionCreateExpenseLineInputSchema.safeParse(line).success).toBe(true) + for (const key of ['assignmentId', 'orgId', 'personId', 'ticketClass']) { + expect( + oracleFusionCreateExpenseLineInputSchema.safeParse({ + ...line, + [key]: undefined, + }).success + ).toBe(false) + } + const distribution = { + ...AUTH, + expenseReportUniqId: 'REPORTKEY', + expenseLineUniqId: 'LINEKEY', + expenseDistributionId: '4', + expenseId: '5', + orgId: '2', + costCenter: '120', + } + expect(oracleFusionUpdateExpenseDistributionInputSchema.safeParse(distribution).success).toBe( + true + ) + for (const key of ['expenseId', 'orgId']) { + expect( + oracleFusionUpdateExpenseDistributionInputSchema.safeParse({ + ...distribution, + [key]: undefined, + }).success + ).toBe(false) + } + }) + + it('preserves opaque expense keys and the documented itemization-parent sentinel', () => { + const expenseReportUniqId = ' report%2Fkey ' + expect( + oracleFusionGetExpenseReportInputSchema.parse({ + ...AUTH, + expenseReportUniqId, + }).expenseReportUniqId + ).toBe(expenseReportUniqId) + expect( + oracleFusionExpenseLineSchema.parse({ + ExpenseId: '9007199254740993', + ItemizationParentExpenseId: -1, + ReceiptAmount: null, + ExpenseReference: 12, + }) + ).toEqual({ + ExpenseId: '9007199254740993', + ItemizationParentExpenseId: '-1', + ReceiptAmount: null, + ExpenseReference: 12, + }) + expect( + oracleFusionExpenseLineSchema.safeParse({ + ExpenseReference: '12', + }).success + ).toBe(false) + }) + + it('retains Receivables exact identities, nullable balances, and string freight amounts', () => { + expect( + oracleFusionReceivablesInvoiceSchema.parse({ + CustomerTransactionId: '9.007199254740993e15', + InvoiceBalanceAmount: null, + }) + ).toEqual({ CustomerTransactionId: '9007199254740993', InvoiceBalanceAmount: null }) + expect( + oracleFusionReceivablesCreditMemoSchema.parse({ + FreightCreditAmount: '12.50', + CreditReason: null, + }) + ).toEqual({ FreightCreditAmount: '12.50', CreditReason: null }) + expect( + oracleFusionReceivablesCreditMemoSchema.safeParse({ + FreightCreditAmount: 12.5, + }).success + ).toBe(false) + }) + + it('requires documented credit-memo and receipt creation attributes', () => { + const creditMemo = { + ...AUTH, + businessUnit: 'Example BU', + transactionNumber: 'CM-1', + transactionDate: '2026-09-01', + } + const receipt = { + ...AUTH, + amount: 10, + businessUnit: 'Example BU', + currency: 'USD', + receiptDate: '2026-09-01', + receiptMethod: 'Manual', + } + expect(oracleFusionCreateReceivablesCreditMemoInputSchema.safeParse(creditMemo).success).toBe( + true + ) + expect(oracleFusionCreateReceivablesReceiptInputSchema.safeParse(receipt).success).toBe(true) + for (const key of ['businessUnit', 'transactionNumber', 'transactionDate']) { + expect( + oracleFusionCreateReceivablesCreditMemoInputSchema.safeParse({ + ...creditMemo, + [key]: undefined, + }).success + ).toBe(false) + } + for (const key of ['amount', 'businessUnit', 'currency', 'receiptDate', 'receiptMethod']) { + expect( + oracleFusionCreateReceivablesReceiptInputSchema.safeParse({ + ...receipt, + [key]: undefined, + }).success + ).toBe(false) + } + }) + + it('rejects unsupported nested fields and empty restricted updates', () => { + expect( + oracleFusionCreateReceivablesInvoiceInputSchema.safeParse({ + ...AUTH, + lines: [{ arbitraryField: 'not allowed' }], + }).success + ).toBe(false) + expect( + oracleFusionCreateReceivablesInvoiceInputSchema.safeParse({ + ...AUTH, + invoiceStatus: 'Incomplete', + }).success + ).toBe(false) + expect( + oracleFusionUpdateReceivablesInvoiceInputSchema.safeParse({ + ...AUTH, + receivablesInvoiceId: '42', + businessUnit: 'Cannot update this', + }).success + ).toBe(false) + expect( + oracleFusionUpdateReceivablesInvoiceInstallmentInputSchema.safeParse({ + ...AUTH, + receivablesInvoiceId: '42', + receivablesInvoiceInstallmentId: '7', + excludeFromCollections: true, + }).success + ).toBe(false) + }) + + it.each(['9007199254740993\n', '1.5', '-1', '1e2', '001', '1/child', 9007199254740992])( + 'rejects ambiguous receipt application identifiers %j before serialization', + (appliedPaymentScheduleId) => { + expect( + oracleFusionApplyReceivablesReceiptInputSchema.safeParse({ + ...AUTH, + receivablesReceiptId: '42', + appliedPaymentScheduleId, + }).success + ).toBe(false) + } + ) + + it.each([ + [ + oracleFusionInvoiceSchema, + { InvoiceId: '9007199254740993', Supplier: null, AmountPaid: null }, + ], + [oracleFusionInvoiceLineSchema, { LineNumber: '1', LineAmount: null, DiscardedFlag: false }], + [ + oracleFusionInstallmentSchema, + { InstallmentNumber: '1', UnpaidAmount: null, HoldReason: null }, + ], + [ + oracleFusionInvoiceDistributionSchema, + { InvoiceDistributionId: '99', TaxRate: '20', PrepaymentLineNumber: '1', BaseAmount: null }, + ], + [ + oracleFusionAppliedPrepaymentSchema, + { LineNumber: null, AppliedAmount: 40.5, IncludedTax: null }, + ], + [oracleFusionAvailablePrepaymentSchema, { LineNumber: '1', AvailableAmount: null }], + [oracleFusionPaymentSchema, { CheckId: '42', PaymentId: null, ReconciledFlag: null }], + [ + oracleFusionPaymentRelatedInvoiceSchema, + { InvoicePaymentId: '88', InvoiceAmount: null, AmountPaidPaymentCurrency: 12.5 }, + ], + [oracleFusionInvoiceHoldSchema, { HoldId: '21', ReleaseDate: null, HoldReason: null }], + [ + oracleFusionPaymentProcessRequestSchema, + { PaymentProcessRequestId: '17', PaymentProcessRequestStatusMeaning: null }, + ], + [oracleFusionPaymentTermSchema, { termsId: '73', enabledFlag: false, toDate: null }], + [oracleFusionPaymentTermLineSchema, { termsId: '73', sequenceNumber: 1, fixedDate: null }], + ] as const)('preserves documented nullable and typed Payables values %#', (schema, value) => { + expect(schema.parse(value)).toEqual(value) + }) + + it.each([ + [oracleFusionInvoiceSchema, { InvoiceAmount: null }], + [oracleFusionInvoiceLineSchema, { LineNumber: null }], + [oracleFusionInstallmentSchema, { DueDate: null }], + [oracleFusionInvoiceDistributionSchema, { TaxRate: 20 }], + [oracleFusionAvailablePrepaymentSchema, { LineNumber: null }], + [oracleFusionPaymentSchema, { ReconciledFlag: 'Y' }], + [oracleFusionPaymentRelatedInvoiceSchema, { AmountPaidPaymentCurrency: null }], + [oracleFusionPaymentTermSchema, { enabledFlag: 'Y' }], + [oracleFusionPaymentTermLineSchema, { sequenceNumber: 1.5 }], + ] as const)( + 'rejects malformed projected fields instead of guessing coercions %#', + (schema, value) => { + expect(schema.safeParse(value).success).toBe(false) + } + ) + + it.each([ + [42, '42'], + ['9007199254740993', '9007199254740993'], + ['9007199254740993.0', '9007199254740993'], + ['9.007199254740993e15', '9007199254740993'], + ] as const)('normalizes documented identifier representation %j exactly', (input, expected) => { + expect( + oracleFusionPaymentSchema.parse({ + CheckId: input, + PaymentId: input, + PaymentNumber: input, + PaymentReference: input, + }) + ).toEqual({ + CheckId: expected, + PaymentId: expected, + PaymentNumber: expected, + PaymentReference: expected, + }) + }) + + it.each([9007199254740992, 1.5, '1.5', '-1', 'Infinity', '1e999999', {}, true])( + 'rejects inexact or invalid identifiers %j', + (value) => { + expect(oracleFusionInvoiceSchema.safeParse({ InvoiceId: value }).success).toBe(false) + } + ) + + it('retains v9 context until protocol validation but excludes it from public fields', () => { + const value = { + InvoiceId: 42, + Description: null, + '@context': { links: [{ rel: 'self', href: 'https://example.com/invoices/opaque' }] }, + attachments: [{ private: 'not in projection' }], + } + const parsed = oracleFusionInvoiceSchema.parse(value) + expect(parsed['@context']).toEqual(value['@context']) + expect(projectFields(parsed, ['InvoiceId', 'Description', 'Supplier'])).toEqual({ + InvoiceId: '42', + Description: null, + }) + }) + + it.each([ + [oracleFusionInvoiceLineSchema, 'LineNumber'], + [oracleFusionInvoiceLineSchema, 'ReceiptLineNumber'], + [oracleFusionInstallmentSchema, 'InstallmentNumber'], + [oracleFusionInvoiceDistributionSchema, 'ReceiptLineNumber'], + [oracleFusionAvailablePrepaymentSchema, 'LineNumber'], + [oracleFusionPaymentRelatedInvoiceSchema, 'InstallmentNumber'], + [oracleFusionInvoiceHoldSchema, 'ReceiptLineNumber'], + [oracleFusionPaymentTermSchema, 'rank'], + ] as const)('preserves exact precision-18 field values %#', (schema, field) => { + for (const [input, expected] of [ + [1, '1'], + [-1, '-1'], + ['9007199254740993', '9007199254740993'], + ['-999999999999999999', '-999999999999999999'], + ['-9.007199254740993e15', '-9007199254740993'], + ['-0', '0'], + ] as const) { + expect(schema.parse({ [field]: input })).toEqual({ [field]: expected }) + } + for (const input of [9007199254740992, -9007199254740992, '1.5', '1e18', {}, true]) { + expect(schema.safeParse({ [field]: input }).success).toBe(false) + } + }) + + it('keeps ordinary amounts and lower-precision integers numeric', () => { + expect( + oracleFusionAppliedPrepaymentSchema.parse({ LineNumber: 1, AppliedAmount: 12.5 }) + ).toEqual({ LineNumber: 1, AppliedAmount: 12.5 }) + expect(oracleFusionInstallmentSchema.parse({ PaymentPriority: 2, GrossAmount: 12.5 })).toEqual({ + PaymentPriority: 2, + GrossAmount: 12.5, + }) + expect(oracleFusionPaymentTermLineSchema.parse({ sequenceNumber: 1, days: 30 })).toEqual({ + sequenceNumber: 1, + days: 30, + }) + expect(oracleFusionInvoiceLineSchema.parse({ ReceiptLineNumber: null })).toEqual({ + ReceiptLineNumber: null, + }) + expect(oracleFusionPaymentTermSchema.parse({ rank: null })).toEqual({ rank: null }) + }) + + it.each([' key ', 'ELEC%2FCOMPUTER', 'invoice:123,installment=2'])( + 'preserves opaque key %j without trimming or decoding', + (invoiceUniqId) => { + expect( + oracleFusionGetInvoiceInputSchema.parse({ ...AUTH, invoiceUniqId }).invoiceUniqId + ).toBe(invoiceUniqId) + } + ) + + it.each(['', ' ', '.', '..', 'a/b', 'a?b', 'a#b', '\uD800'])( + 'rejects an invalid opaque invoice key %j', + (invoiceUniqId) => { + expect(oracleFusionGetInvoiceInputSchema.safeParse({ ...AUTH, invoiceUniqId }).success).toBe( + false + ) + } + ) + + it('defaults to one bounded page and preserves Oracle query expressions', () => { + const q = "InvoiceNumber like '%\\_%'" + expect(oracleFusionListInvoicesInputSchema.parse({ ...AUTH, q })).toMatchObject({ + q, + limit: 50, + offset: 0, + totalResults: false, + }) + }) + + it.each([ + { limit: 101 }, + { limit: 0 }, + { limit: '50' }, + { offset: -1 }, + { offset: Number.MAX_SAFE_INTEGER + 1 }, + { q: ' ' }, + { q: 'x'.repeat(8_001) }, + { finder: 'PrimaryKey\nInjected' }, + { orderBy: 'InvoiceDate\u0000' }, + { totalResults: 'true' }, + { effectiveDate: '2026-02-30' }, + ])('rejects invalid query and page controls %#', (input) => { + expect(oracleFusionListInvoicesInputSchema.safeParse({ ...AUTH, ...input }).success).toBe(false) + }) +}) diff --git a/apps/sim/lib/internal/oracle-fusion-financials/schema.ts b/apps/sim/lib/internal/oracle-fusion-financials/schema.ts new file mode 100644 index 00000000000..c47a59ad6e4 --- /dev/null +++ b/apps/sim/lib/internal/oracle-fusion-financials/schema.ts @@ -0,0 +1,2789 @@ +import { z } from 'zod' +import { normalizeOracleFusionApplicationOrigin } from '@/lib/credentials/client-credential-accounts/descriptors' +import { normalizeOracleFusionDecimalIdentifier } from '@/lib/internal/oracle-fusion/identifiers' +import { encodeOracleFusionPathSegment } from '@/lib/internal/oracle-fusion/protocol' +import { oracleFusionExactInteger } from '@/lib/internal/oracle-fusion/request-body' + +export const oracleFusionFinancialsActionResultSchema = z.object({ result: z.string() }) + +export const ORACLE_FUSION_INVOICE_FIELDS = [ + 'InvoiceId', + 'InvoiceNumber', + 'Supplier', + 'SupplierNumber', + 'SupplierSite', + 'BusinessUnit', + 'InvoiceAmount', + 'InvoiceCurrency', + 'InvoiceDate', + 'AccountingDate', + 'AmountPaid', + 'PaidStatus', + 'ApprovalStatus', + 'ValidationStatus', + 'PaymentTerms', + 'PaymentMethod', + 'PurchaseOrderNumber', + 'Description', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const ORACLE_FUSION_INVOICE_LINE_FIELDS = [ + 'LineNumber', + 'LineType', + 'LineAmount', + 'BaseAmount', + 'Description', + 'Quantity', + 'UOM', + 'UnitPrice', + 'AccountingDate', + 'ApprovalStatus', + 'DiscardedFlag', + 'CanceledFlag', + 'TrackAsAssetFlag', + 'PurchaseOrderNumber', + 'PurchaseOrderLineNumber', + 'ReceiptNumber', + 'ReceiptLineNumber', + 'Item', + 'ItemDescription', + 'TaxClassification', + 'TaxRateCode', + 'ShipToLocation', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const ORACLE_FUSION_INSTALLMENT_FIELDS = [ + 'InstallmentNumber', + 'DueDate', + 'GrossAmount', + 'UnpaidAmount', + 'PaymentMethod', + 'PaymentPriority', + 'HoldFlag', + 'HoldReason', + 'FirstDiscountDate', + 'FirstDiscountAmount', + 'SecondDiscountDate', + 'SecondDiscountAmount', + 'ThirdDiscountDate', + 'ThirdDiscountAmount', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const ORACLE_FUSION_INVOICE_DISTRIBUTION_FIELDS = [ + 'InvoiceDistributionId', + 'DistributionLineNumber', + 'DistributionLineType', + 'DistributionAmount', + 'BaseAmount', + 'Description', + 'AccountingDate', + 'AccountingStatus', + 'DistributionCombination', + 'MatchedStatus', + 'FundsStatus', + 'CanceledFlag', + 'ReversedFlag', + 'PurchaseOrderNumber', + 'PurchaseOrderLineNumber', + 'PurchaseOrderScheduleLineNumber', + 'PurchaseOrderDistributionLineNumber', + 'ReceiptNumber', + 'ReceiptLineNumber', + 'PrepaymentNumber', + 'PrepaymentLineNumber', + 'TaxName', + 'TaxRate', + 'AssetBook', + 'TrackAsAssetFlag', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const ORACLE_FUSION_APPLIED_PREPAYMENT_FIELDS = [ + 'InvoiceNumber', + 'LineNumber', + 'Description', + 'SupplierSite', + 'PurchaseOrder', + 'Currency', + 'AppliedAmount', + 'IncludedTax', + 'IncludedonInvoiceFlag', + 'ApplicationAccountingDate', +] as const + +export const ORACLE_FUSION_AVAILABLE_PREPAYMENT_FIELDS = [ + 'InvoiceNumber', + 'LineNumber', + 'Description', + 'SupplierSite', + 'PurchaseOrder', + 'Currency', + 'AvailableAmount', + 'IncludedTax', +] as const + +export const ORACLE_FUSION_PAYMENT_FIELDS = [ + 'CheckId', + 'PaymentId', + 'PaymentReference', + 'PaymentNumber', + 'PaymentAmount', + 'PaymentCurrency', + 'PaymentDate', + 'AccountingDate', + 'Payee', + 'PayeeSite', + 'SupplierNumber', + 'PaymentMethod', + 'PaymentStatus', + 'PaymentType', + 'BusinessUnit', + 'LegalEntity', + 'ReconciledFlag', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const ORACLE_FUSION_PAYMENT_RELATED_INVOICE_FIELDS = [ + 'InvoicePaymentId', + 'CheckId', + 'InvoiceId', + 'InvoiceBusinessUnit', + 'InvoiceNumber', + 'InstallmentNumber', + 'AmountPaidPaymentCurrency', + 'AmountPaidInvoiceCurrency', + 'InvoiceAmount', + 'InvoicePaymentAmount', + 'InvoicePaymentStatus', + 'DiscountLost', + 'DiscountTaken', + 'InvoiceBaseAmount', + 'PaymentBaseAmount', + 'InvoiceCurrency', + 'CrossCurrencyRate', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const ORACLE_FUSION_INVOICE_HOLD_FIELDS = [ + 'HoldId', + 'InvoiceNumber', + 'BusinessUnit', + 'Supplier', + 'Party', + 'LineHeld', + 'HoldName', + 'HoldReason', + 'HoldDetails', + 'HeldBy', + 'HoldDate', + 'ReleaseName', + 'ReleaseReason', + 'ReleaseDate', + 'WorkflowStatus', + 'PurchaseOrderNumber', + 'PurchaseOrderLineNumber', + 'PurchaseOrderScheduleLineNumber', + 'ReceiptNumber', + 'ReceiptLineNumber', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const ORACLE_FUSION_PAYMENT_PROCESS_REQUEST_FIELDS = [ + 'PaymentProcessRequestId', + 'PaymentProcessRequestName', + 'SourceApplicationIdentifier', + 'PaymentProcessRequestStatusCode', + 'PaymentProcessRequestStatusMeaning', +] as const + +export const ORACLE_FUSION_PAYMENT_TERM_FIELDS = [ + 'termsId', + 'name', + 'description', + 'enabledFlag', + 'fromDate', + 'toDate', + 'cutoffDay', + 'rank', + 'setId', + 'creationDate', + 'lastUpdateDate', +] as const + +export const ORACLE_FUSION_PAYMENT_TERM_LINE_FIELDS = [ + 'termsId', + 'sequenceNumber', + 'amountDue', + 'calendar', + 'dayOfMonth', + 'days', + 'duePercent', + 'fixedDate', + 'monthsAhead', + 'firstDiscountDayOfMonth', + 'firstDiscountDays', + 'firstDiscountMonthsForward', + 'firstDiscountPercent', + 'secondDiscountDayOfMonth', + 'secondDiscountDays', + 'secondDiscountMonthsForward', + 'secondDiscountPercent', + 'thirdDiscountDayOfMonth', + 'thirdDiscountDays', + 'thirdDiscountMonthsForward', + 'thirdDiscountPercent', +] as const + +const oracleText = z.string().nullable().optional() +const oracleNumber = z.number().finite().nullable().optional() +const oracleInteger = z.number().int().finite().nullable().optional() +const oracleBoolean = z.boolean().nullable().optional() +const oracleNonNullableText = z.string().optional() +const oracleNonNullableNumber = z.number().finite().optional() +const oracleNonNullableInteger = z.number().int().finite().optional() +const oracleNonNullableBoolean = z.boolean().optional() +/** Framework v9 encodes high-precision identifiers as strings; earlier/small values can be numbers. */ +const decimalIdentifier = z.unknown().transform((value, context) => { + const normalized = normalizeOracleFusionDecimalIdentifier(value, { maxDigits: 64 }) + if (normalized !== undefined) return normalized + context.addIssue({ + code: 'custom', + message: 'Oracle identifier must be an exact decimal integer', + }) + return z.NEVER +}) +const oracleDecimalString = decimalIdentifier.nullable().optional() +const oracleNonNullableDecimalString = decimalIdentifier.optional() + +/** These non-ID int64 fields also have precision 18 in Oracle's schema and become strings in v9. */ +const exactInteger = z.unknown().transform((value, context) => { + const negative = + (typeof value === 'number' && value < 0) || (typeof value === 'string' && value.startsWith('-')) + const magnitude = + typeof value === 'number' + ? Math.abs(value) + : typeof value === 'string' && negative + ? value.slice(1) + : value + const normalized = normalizeOracleFusionDecimalIdentifier(magnitude, { maxDigits: 18 }) + if (normalized !== undefined) { + return negative && normalized !== '0' ? `-${normalized}` : normalized + } + context.addIssue({ code: 'custom', message: 'Oracle value must be an exact 18-digit integer' }) + return z.NEVER +}) +const oracleExactIntegerString = exactInteger.nullable().optional() +const oracleNonNullableExactIntegerString = exactInteger.optional() + +export const oracleFusionInvoiceSchema = z + .object({ + InvoiceId: oracleNonNullableDecimalString, + InvoiceNumber: oracleNonNullableText, + Supplier: oracleText, + SupplierNumber: oracleNonNullableText, + SupplierSite: oracleText, + BusinessUnit: oracleNonNullableText, + InvoiceAmount: oracleNonNullableNumber, + InvoiceCurrency: oracleNonNullableText, + InvoiceDate: oracleNonNullableText, + AccountingDate: oracleNonNullableText, + AmountPaid: oracleNumber, + PaidStatus: oracleNonNullableText, + ApprovalStatus: oracleNonNullableText, + ValidationStatus: oracleText, + PaymentTerms: oracleNonNullableText, + PaymentMethod: oracleNonNullableText, + PurchaseOrderNumber: oracleText, + Description: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionInvoiceLineSchema = z + .object({ + LineNumber: oracleNonNullableExactIntegerString, + LineType: oracleText, + LineAmount: oracleNumber, + BaseAmount: oracleNumber, + Description: oracleText, + Quantity: oracleNumber, + UOM: oracleText, + UnitPrice: oracleNumber, + AccountingDate: oracleNonNullableText, + ApprovalStatus: oracleNonNullableText, + DiscardedFlag: oracleBoolean, + CanceledFlag: oracleBoolean, + TrackAsAssetFlag: oracleBoolean, + PurchaseOrderNumber: oracleText, + PurchaseOrderLineNumber: oracleNumber, + ReceiptNumber: oracleText, + ReceiptLineNumber: oracleExactIntegerString, + Item: oracleText, + ItemDescription: oracleText, + TaxClassification: oracleText, + TaxRateCode: oracleText, + ShipToLocation: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionInstallmentSchema = z + .object({ + InstallmentNumber: oracleNonNullableExactIntegerString, + DueDate: oracleNonNullableText, + GrossAmount: oracleNonNullableNumber, + UnpaidAmount: oracleNumber, + PaymentMethod: oracleNonNullableText, + PaymentPriority: oracleNonNullableInteger, + HoldFlag: oracleBoolean, + HoldReason: oracleText, + FirstDiscountDate: oracleText, + FirstDiscountAmount: oracleNumber, + SecondDiscountDate: oracleText, + SecondDiscountAmount: oracleNumber, + ThirdDiscountDate: oracleText, + ThirdDiscountAmount: oracleNumber, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionInvoiceDistributionSchema = z + .object({ + InvoiceDistributionId: oracleNonNullableDecimalString, + DistributionLineNumber: oracleNonNullableInteger, + DistributionLineType: oracleText, + DistributionAmount: oracleNonNullableNumber, + BaseAmount: oracleNumber, + Description: oracleText, + AccountingDate: oracleNonNullableText, + AccountingStatus: oracleNonNullableText, + DistributionCombination: oracleText, + MatchedStatus: oracleNonNullableText, + FundsStatus: oracleNonNullableText, + CanceledFlag: oracleBoolean, + ReversedFlag: oracleBoolean, + PurchaseOrderNumber: oracleNonNullableText, + PurchaseOrderLineNumber: oracleNonNullableNumber, + PurchaseOrderScheduleLineNumber: oracleNonNullableNumber, + PurchaseOrderDistributionLineNumber: oracleNonNullableNumber, + ReceiptNumber: oracleText, + ReceiptLineNumber: oracleNonNullableExactIntegerString, + PrepaymentNumber: oracleText, + PrepaymentLineNumber: oracleText, + TaxName: oracleText, + TaxRate: oracleText, + AssetBook: oracleText, + TrackAsAssetFlag: oracleNonNullableBoolean, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionAppliedPrepaymentSchema = z + .object({ + InvoiceNumber: oracleNonNullableText, + LineNumber: oracleInteger, + Description: oracleText, + SupplierSite: oracleNonNullableText, + PurchaseOrder: oracleText, + Currency: oracleNonNullableText, + AppliedAmount: oracleNumber, + IncludedTax: oracleNumber, + IncludedonInvoiceFlag: oracleBoolean, + ApplicationAccountingDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionAvailablePrepaymentSchema = z + .object({ + InvoiceNumber: oracleNonNullableText, + LineNumber: oracleNonNullableExactIntegerString, + Description: oracleText, + SupplierSite: oracleNonNullableText, + PurchaseOrder: oracleText, + Currency: oracleNonNullableText, + AvailableAmount: oracleNumber, + IncludedTax: oracleNumber, + }) + .passthrough() + +export const oracleFusionPaymentSchema = z + .object({ + CheckId: oracleNonNullableDecimalString, + PaymentId: oracleDecimalString, + PaymentReference: oracleDecimalString, + PaymentNumber: oracleNonNullableDecimalString, + PaymentAmount: oracleNonNullableNumber, + PaymentCurrency: oracleNonNullableText, + PaymentDate: oracleNonNullableText, + AccountingDate: oracleText, + Payee: oracleText, + PayeeSite: oracleText, + SupplierNumber: oracleNonNullableText, + PaymentMethod: oracleNonNullableText, + PaymentStatus: oracleNonNullableText, + PaymentType: oracleText, + BusinessUnit: oracleNonNullableText, + LegalEntity: oracleNonNullableText, + ReconciledFlag: oracleBoolean, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionPaymentRelatedInvoiceSchema = z + .object({ + InvoicePaymentId: oracleNonNullableDecimalString, + CheckId: oracleNonNullableDecimalString, + InvoiceId: oracleNonNullableDecimalString, + InvoiceBusinessUnit: oracleText, + InvoiceNumber: oracleNonNullableText, + InstallmentNumber: oracleNonNullableExactIntegerString, + AmountPaidPaymentCurrency: oracleNonNullableNumber, + AmountPaidInvoiceCurrency: oracleNumber, + InvoiceAmount: oracleNumber, + InvoicePaymentAmount: oracleNumber, + InvoicePaymentStatus: oracleText, + DiscountLost: oracleNumber, + DiscountTaken: oracleNumber, + InvoiceBaseAmount: oracleNumber, + PaymentBaseAmount: oracleNumber, + InvoiceCurrency: oracleText, + CrossCurrencyRate: oracleNumber, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionInvoiceHoldSchema = z + .object({ + HoldId: oracleNonNullableDecimalString, + InvoiceNumber: oracleText, + BusinessUnit: oracleText, + Supplier: oracleText, + Party: oracleText, + LineHeld: oracleNumber, + HoldName: oracleText, + HoldReason: oracleText, + HoldDetails: oracleText, + HeldBy: oracleText, + HoldDate: oracleNonNullableText, + ReleaseName: oracleText, + ReleaseReason: oracleText, + ReleaseDate: oracleText, + WorkflowStatus: oracleNonNullableText, + PurchaseOrderNumber: oracleNonNullableText, + PurchaseOrderLineNumber: oracleNonNullableNumber, + PurchaseOrderScheduleLineNumber: oracleNonNullableNumber, + ReceiptNumber: oracleText, + ReceiptLineNumber: oracleNonNullableExactIntegerString, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionPaymentProcessRequestSchema = z + .object({ + PaymentProcessRequestId: oracleNonNullableDecimalString, + PaymentProcessRequestName: oracleNonNullableText, + SourceApplicationIdentifier: oracleNonNullableDecimalString, + PaymentProcessRequestStatusCode: oracleNonNullableText, + PaymentProcessRequestStatusMeaning: oracleText, + }) + .passthrough() + +export const oracleFusionPaymentTermSchema = z + .object({ + termsId: oracleNonNullableDecimalString, + name: oracleNonNullableText, + description: oracleText, + enabledFlag: oracleNonNullableBoolean, + fromDate: oracleNonNullableText, + toDate: oracleText, + cutoffDay: oracleInteger, + rank: oracleExactIntegerString, + setId: oracleNonNullableDecimalString, + creationDate: oracleNonNullableText, + lastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionPaymentTermLineSchema = z + .object({ + termsId: oracleNonNullableDecimalString, + sequenceNumber: oracleNonNullableInteger, + amountDue: oracleNumber, + calendar: oracleText, + dayOfMonth: oracleInteger, + days: oracleInteger, + duePercent: oracleNumber, + fixedDate: oracleText, + monthsAhead: oracleInteger, + firstDiscountDayOfMonth: oracleInteger, + firstDiscountDays: oracleInteger, + firstDiscountMonthsForward: oracleInteger, + firstDiscountPercent: oracleNumber, + secondDiscountDayOfMonth: oracleInteger, + secondDiscountDays: oracleInteger, + secondDiscountMonthsForward: oracleInteger, + secondDiscountPercent: oracleNumber, + thirdDiscountDayOfMonth: oracleInteger, + thirdDiscountDays: oracleInteger, + thirdDiscountMonthsForward: oracleInteger, + thirdDiscountPercent: oracleNumber, + }) + .passthrough() + +const optionalBoundedExpression = z + .string() + .trim() + .min(1) + .max(8_000) + .refine((value) => !/[\u0000-\u001f\u007f]/.test(value), 'Expression contains control characters') + .optional() + +const authShape = { + oauthCredential: z.string().trim().min(1), + accessToken: z.string().trim().min(1), + instanceUrl: z + .string() + .trim() + .refine((value) => normalizeOracleFusionApplicationOrigin(value)), +} + +const listShape = { + q: optionalBoundedExpression, + finder: optionalBoundedExpression, + orderBy: optionalBoundedExpression, + limit: z.number().int().min(1).max(100).default(50), + offset: z.number().int().nonnegative().default(0), + totalResults: z.boolean().default(false), +} + +const opaqueKeySchema = z.string().refine((value) => { + try { + encodeOracleFusionPathSegment(value) + return true + } catch { + return false + } +}, 'Oracle opaque key must be one URL path segment') + +const decimalIdSchema = z + .string() + .trim() + .regex(/^\d{1,64}$/, 'Oracle identifier must be a decimal string') + +export const oracleFusionListInvoicesInputSchema = z.object({ + ...authShape, + ...listShape, + effectiveDate: z + .string() + .regex(/^\d{4}-\d{2}-\d{2}$/, 'effectiveDate must use YYYY-MM-DD') + .refine((value) => { + const date = new Date(`${value}T00:00:00.000Z`) + return !Number.isNaN(date.valueOf()) && date.toISOString().slice(0, 10) === value + }, 'effectiveDate must be a real calendar date') + .optional(), +}) + +export const oracleFusionListInputSchema = z.object({ ...authShape, ...listShape }) + +export const oracleFusionGetInvoiceInputSchema = z.object({ + ...authShape, + invoiceUniqId: opaqueKeySchema, +}) + +export const oracleFusionInvoiceChildListInputSchema = z.object({ + ...authShape, + ...listShape, + invoiceUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetInvoiceLineInputSchema = z.object({ + ...authShape, + invoiceUniqId: opaqueKeySchema, + invoiceLineUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetInvoiceInstallmentInputSchema = z.object({ + ...authShape, + invoiceUniqId: opaqueKeySchema, + invoiceInstallmentUniqId: opaqueKeySchema, +}) + +export const oracleFusionInvoiceDistributionListInputSchema = z.object({ + ...authShape, + ...listShape, + invoiceUniqId: opaqueKeySchema, + invoiceLineUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetInvoiceDistributionInputSchema = z.object({ + ...authShape, + invoiceUniqId: opaqueKeySchema, + invoiceLineUniqId: opaqueKeySchema, + invoiceDistributionId: decimalIdSchema, +}) + +export const oracleFusionGetAppliedPrepaymentInputSchema = z.object({ + ...authShape, + invoiceUniqId: opaqueKeySchema, + appliedPrepaymentUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetAvailablePrepaymentInputSchema = z.object({ + ...authShape, + invoiceUniqId: opaqueKeySchema, + availablePrepaymentUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetPaymentInputSchema = z.object({ + ...authShape, + checkId: decimalIdSchema, +}) + +export const oracleFusionPaymentRelatedInvoiceListInputSchema = z.object({ + ...authShape, + ...listShape, + checkId: decimalIdSchema, +}) + +export const oracleFusionGetPaymentRelatedInvoiceInputSchema = z.object({ + ...authShape, + checkId: decimalIdSchema, + invoicePaymentId: decimalIdSchema, +}) + +export const oracleFusionGetInvoiceHoldInputSchema = z.object({ + ...authShape, + holdId: decimalIdSchema, +}) + +export const oracleFusionGetPaymentProcessRequestInputSchema = z.object({ + ...authShape, + paymentProcessRequestId: decimalIdSchema, +}) + +export const oracleFusionGetPaymentTermInputSchema = z.object({ + ...authShape, + termsId: decimalIdSchema, +}) + +export const oracleFusionPaymentTermLineListInputSchema = z.object({ + ...authShape, + ...listShape, + termsId: decimalIdSchema, +}) + +export const oracleFusionGetPaymentTermLineInputSchema = z.object({ + ...authShape, + termsId: decimalIdSchema, + paymentTermLineUniqId: opaqueKeySchema, +}) + +export type OracleFusionAuthInput = z.output + +export function projectFields( + value: Record, + fields: readonly string[] +): Record { + const projected: Record = {} + for (const field of fields) { + if (value[field] !== undefined) projected[field] = value[field] + } + return projected +} + +const financialsDateInput = z + .string() + .regex(/^\d{4}-\d{2}-\d{2}$/, 'Date must use YYYY-MM-DD') + .refine((value) => { + const date = new Date(`${value}T00:00:00.000Z`) + return !Number.isNaN(date.valueOf()) && date.toISOString().slice(0, 10) === value + }, 'Date must be a real calendar date') + +const financialsExactIntegerInput = z + .string() + .regex( + /^(?:0|[1-9]\d{0,17})(?![\s\S])/, + 'Identifier must be a canonical decimal string of at most 18 digits' + ) + +const oracleFusionReceivablesInvoiceLineCreateFieldsSchema = z + .object({ + LineNumber: z.number().finite().nullable().optional(), + Description: z.string().max(240).nullable().optional(), + ItemNumber: z.string().max(300).nullable().optional(), + MemoLine: z.string().max(50).nullable().optional(), + LineAmount: z.number().finite().nullable().optional(), + Quantity: z.number().finite().nullable().optional(), + UnitSellingPrice: z.number().finite().nullable().optional(), + UnitOfMeasure: z.string().max(25).nullable().optional(), + AccountingRule: z.string().max(30).nullable().optional(), + AccountingRuleDuration: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + RuleStartDate: financialsDateInput.nullable().optional(), + RuleEndDate: financialsDateInput.nullable().optional(), + TaxClassificationCode: z.string().max(30).nullable().optional(), + SalesOrder: z.string().max(50).nullable().optional(), + }) + .strict() + +const oracleFusionReceivablesInvoiceDistributionCreateFieldsSchema = z + .object({ + AccountClass: z.string().max(80).nullable().optional(), + AccountCombination: z.string().max(8000).nullable().optional(), + AccountedAmount: z.number().finite().nullable().optional(), + Amount: z.number().finite().nullable().optional(), + InvoiceLineNumber: z.number().int().safe().nullable().optional(), + DetailedTaxLineNumber: z.number().int().safe().nullable().optional(), + Percent: z.number().finite().nullable().optional(), + Comments: z.string().max(240).nullable().optional(), + }) + .strict() + +const oracleFusionReceivablesCreditMemoLineCreateFieldsSchema = z + .object({ + LineNumber: z.number().finite(), + LineDescription: z.string().max(240).nullable().optional(), + ItemNumber: z.string().max(300).nullable().optional(), + MemoLine: z.string().max(50).nullable().optional(), + LineAmountCredit: z.number().finite().nullable().optional(), + LineQuantityCredit: z.number().finite().nullable().optional(), + UnitSellingPrice: z.number().finite().nullable().optional(), + UnitOfMeasure: z.string().max(25).nullable().optional(), + LineCreditReason: z.string().max(255).nullable().optional(), + LineFreightCreditAmount: z.number().finite().nullable().optional(), + TaxClassificationCode: z.string().max(30).nullable().optional(), + }) + .strict() + +const oracleFusionReceivablesCreditMemoDistributionCreateFieldsSchema = z + .object({ + AccountClass: z.string().max(255).nullable().optional(), + AccountCombination: z.string().max(255).nullable().optional(), + AccountedAmount: z.number().finite().nullable().optional(), + Amount: z.number().finite().nullable().optional(), + CreditMemoLineNumber: z.number().int().safe().nullable().optional(), + DetailedTaxLineNumber: z.number().int().safe().nullable().optional(), + Percent: z.number().finite().nullable().optional(), + Comments: z.string().max(240).nullable().optional(), + }) + .strict() + +export const ORACLE_FUSION_RECEIVABLES_INVOICE_FIELDS = [ + 'CustomerTransactionId', + 'TransactionNumber', + 'BillToCustomerName', + 'BillToCustomerNumber', + 'BillToSite', + 'BusinessUnit', + 'TransactionDate', + 'AccountingDate', + 'DueDate', + 'InvoiceCurrencyCode', + 'EnteredAmount', + 'InvoiceBalanceAmount', + 'InvoiceStatus', + 'PaymentTerms', + 'TransactionSource', + 'TransactionType', + 'Comments', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionReceivablesInvoiceSchema = z + .object({ + CustomerTransactionId: oracleNonNullableDecimalString, + TransactionNumber: oracleText, + BillToCustomerName: oracleText, + BillToCustomerNumber: oracleText, + BillToSite: oracleText, + BusinessUnit: oracleText, + TransactionDate: oracleText, + AccountingDate: oracleText, + DueDate: oracleText, + InvoiceCurrencyCode: oracleText, + EnteredAmount: oracleNumber, + InvoiceBalanceAmount: oracleNumber, + InvoiceStatus: oracleText, + PaymentTerms: oracleText, + TransactionSource: oracleText, + TransactionType: oracleText, + Comments: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListReceivablesInvoicesInputSchema = z.object({ + ...authShape, + ...listShape, +}) + +export const oracleFusionGetReceivablesInvoiceInputSchema = z.object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, +}) + +export const oracleFusionCreateReceivablesInvoiceInputSchema = z.object({ + ...authShape, + lines: z + .array(z.lazy(() => oracleFusionReceivablesInvoiceLineCreateFieldsSchema)) + .min(1) + .max(1000) + .optional(), + distributions: z + .array(z.lazy(() => oracleFusionReceivablesInvoiceDistributionCreateFieldsSchema)) + .min(1) + .max(1000) + .optional(), + businessUnit: z.string().max(240).nullable().optional(), + transactionNumber: z.string().max(20).nullable().optional(), + transactionDate: financialsDateInput.nullable().optional(), + accountingDate: financialsDateInput.nullable().optional(), + billToCustomerName: z.string().max(360).nullable().optional(), + billToCustomerNumber: z.string().max(30).nullable().optional(), + billToSite: z.string().max(150).nullable().optional(), + invoiceCurrencyCode: z.string().max(15).nullable().optional(), + invoiceStatus: z.literal('Complete').nullable().optional(), + paymentTerms: z.string().max(15).nullable().optional(), + transactionSource: z.string().max(50).nullable().optional(), + transactionType: z.string().max(20).nullable().optional(), + comments: z.string().max(1760).nullable().optional(), + purchaseOrder: z.string().max(50).nullable().optional(), + conversionRateType: z.string().max(30).nullable().optional(), + conversionRate: z.number().finite().nullable().optional(), + conversionDate: financialsDateInput.nullable().optional(), +}) + +export const oracleFusionUpdateReceivablesInvoiceInputSchema = z + .object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, + invoiceStatus: z.enum(['Complete', 'Incomplete', 'Frozen']).nullable().optional(), + paymentTerms: z.string().max(15).nullable().optional(), + transactionDate: financialsDateInput.nullable().optional(), + }) + .refine( + (input) => + [input.invoiceStatus, input.paymentTerms, input.transactionDate].some( + (value) => value !== undefined + ), + 'At least one writable field is required' + ) + +export const oracleFusionDeleteReceivablesInvoiceInputSchema = z.object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, +}) + +export const oracleFusionApproveReceivablesInvoiceInputSchema = z.object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, + comment: z.string().max(8000).optional(), +}) + +export const oracleFusionReworkReceivablesInvoiceInputSchema = z.object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, + comment: z.string().max(8000).optional(), +}) + +export const ORACLE_FUSION_RECEIVABLES_INVOICE_LINE_FIELDS = [ + 'CustomerTransactionLineId', + 'LineNumber', + 'Description', + 'ItemNumber', + 'MemoLine', + 'LineAmount', + 'Quantity', + 'UnitSellingPrice', + 'UnitOfMeasure', + 'AccountingRule', + 'AccountingRuleDuration', + 'RuleStartDate', + 'RuleEndDate', + 'TaxClassificationCode', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionReceivablesInvoiceLineSchema = z + .object({ + CustomerTransactionLineId: oracleNonNullableDecimalString, + LineNumber: oracleNumber, + Description: oracleText, + ItemNumber: oracleText, + MemoLine: oracleText, + LineAmount: oracleNumber, + Quantity: oracleNumber, + UnitSellingPrice: oracleNumber, + UnitOfMeasure: oracleText, + AccountingRule: oracleText, + AccountingRuleDuration: oracleExactIntegerString, + RuleStartDate: oracleText, + RuleEndDate: oracleText, + TaxClassificationCode: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListReceivablesInvoiceLinesInputSchema = z.object({ + ...authShape, + ...listShape, + receivablesInvoiceId: financialsExactIntegerInput, +}) + +export const oracleFusionGetReceivablesInvoiceLineInputSchema = z.object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, + receivablesInvoiceLineId: financialsExactIntegerInput, +}) + +export const oracleFusionCreateReceivablesInvoiceLineInputSchema = z.object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, + lineNumber: z.number().finite().nullable().optional(), + description: z.string().max(240).nullable().optional(), + itemNumber: z.string().max(300).nullable().optional(), + memoLine: z.string().max(50).nullable().optional(), + lineAmount: z.number().finite().nullable().optional(), + quantity: z.number().finite().nullable().optional(), + unitSellingPrice: z.number().finite().nullable().optional(), + unitOfMeasure: z.string().max(25).nullable().optional(), + accountingRule: z.string().max(30).nullable().optional(), + accountingRuleDuration: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + ruleStartDate: financialsDateInput.nullable().optional(), + ruleEndDate: financialsDateInput.nullable().optional(), + taxClassificationCode: z.string().max(30).nullable().optional(), + salesOrder: z.string().max(50).nullable().optional(), +}) + +export const ORACLE_FUSION_RECEIVABLES_INVOICE_DISTRIBUTION_FIELDS = [ + 'DistributionId', + 'AccountClass', + 'AccountCombination', + 'AccountedAmount', + 'Amount', + 'InvoiceLineNumber', + 'DetailedTaxLineNumber', + 'Percent', + 'Comments', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionReceivablesInvoiceDistributionSchema = z + .object({ + DistributionId: oracleNonNullableDecimalString, + AccountClass: oracleText, + AccountCombination: oracleText, + AccountedAmount: oracleNumber, + Amount: oracleNumber, + InvoiceLineNumber: oracleInteger, + DetailedTaxLineNumber: oracleInteger, + Percent: oracleNumber, + Comments: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListReceivablesInvoiceDistributionsInputSchema = z.object({ + ...authShape, + ...listShape, + receivablesInvoiceId: financialsExactIntegerInput, +}) + +export const oracleFusionGetReceivablesInvoiceDistributionInputSchema = z.object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, + receivablesInvoiceDistributionId: financialsExactIntegerInput, +}) + +export const oracleFusionCreateReceivablesInvoiceDistributionInputSchema = z.object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, + accountClass: z.string().max(80).nullable().optional(), + accountCombination: z.string().max(8000).nullable().optional(), + accountedAmount: z.number().finite().nullable().optional(), + amount: z.number().finite().nullable().optional(), + invoiceLineNumber: z.number().int().safe().nullable().optional(), + detailedTaxLineNumber: z.number().int().safe().nullable().optional(), + percent: z.number().finite().nullable().optional(), + comments: z.string().max(240).nullable().optional(), +}) + +export const ORACLE_FUSION_RECEIVABLES_INVOICE_INSTALLMENT_FIELDS = [ + 'InstallmentId', + 'InstallmentSequenceNumber', + 'InstallmentDueDate', + 'OriginalAmount', + 'InstallmentBalanceDue', + 'AccountedBalanceDue', + 'AmountPaid', + 'InstallmentAmountAdjusted', + 'InstallmentAmountCredited', + 'InstallmentStatus', + 'DisputeAmount', + 'DisputeDate', + 'PaymentDaysLate', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionReceivablesInvoiceInstallmentSchema = z + .object({ + InstallmentId: oracleNonNullableDecimalString, + InstallmentSequenceNumber: oracleExactIntegerString, + InstallmentDueDate: oracleNonNullableText, + OriginalAmount: oracleNonNullableNumber, + InstallmentBalanceDue: oracleNonNullableNumber, + AccountedBalanceDue: oracleNonNullableNumber, + AmountPaid: oracleNumber, + InstallmentAmountAdjusted: oracleNumber, + InstallmentAmountCredited: oracleNumber, + InstallmentStatus: oracleText, + DisputeAmount: oracleNumber, + DisputeDate: oracleText, + PaymentDaysLate: oracleInteger, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListReceivablesInvoiceInstallmentsInputSchema = z.object({ + ...authShape, + ...listShape, + receivablesInvoiceId: financialsExactIntegerInput, +}) + +export const oracleFusionGetReceivablesInvoiceInstallmentInputSchema = z.object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, + receivablesInvoiceInstallmentId: financialsExactIntegerInput, +}) + +export const oracleFusionUpdateReceivablesInvoiceInstallmentInputSchema = z + .object({ + ...authShape, + receivablesInvoiceId: financialsExactIntegerInput, + receivablesInvoiceInstallmentId: financialsExactIntegerInput, + installmentDueDate: financialsDateInput.optional(), + originalAmount: z.number().finite().optional(), + }) + .refine( + (input) => + [input.installmentDueDate, input.originalAmount].some((value) => value !== undefined), + 'At least one writable field is required' + ) + +export const ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_FIELDS = [ + 'CustomerTransactionId', + 'TransactionNumber', + 'BusinessUnit', + 'BillToCustomerName', + 'BillToCustomerNumber', + 'BillToSite', + 'TransactionDate', + 'AccountingDate', + 'CreditMemoCurrency', + 'CreditMemoStatus', + 'CreditReason', + 'EnteredAmount', + 'TransactionBalanceDue', + 'FreightCreditAmount', + 'TransactionSource', + 'TransactionType', + 'CreditMemoComments', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionReceivablesCreditMemoSchema = z + .object({ + CustomerTransactionId: oracleNonNullableDecimalString, + TransactionNumber: oracleNonNullableText, + BusinessUnit: oracleNonNullableText, + BillToCustomerName: oracleText, + BillToCustomerNumber: oracleText, + BillToSite: oracleText, + TransactionDate: oracleNonNullableText, + AccountingDate: oracleText, + CreditMemoCurrency: oracleText, + CreditMemoStatus: oracleText, + CreditReason: oracleText, + EnteredAmount: oracleNumber, + TransactionBalanceDue: oracleNumber, + FreightCreditAmount: oracleText, + TransactionSource: oracleText, + TransactionType: oracleText, + CreditMemoComments: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListReceivablesCreditMemosInputSchema = z.object({ + ...authShape, + ...listShape, +}) + +export const oracleFusionGetReceivablesCreditMemoInputSchema = z.object({ + ...authShape, + receivablesCreditMemoId: financialsExactIntegerInput, +}) + +export const oracleFusionCreateReceivablesCreditMemoInputSchema = z.object({ + ...authShape, + lines: z + .array(z.lazy(() => oracleFusionReceivablesCreditMemoLineCreateFieldsSchema)) + .min(1) + .max(1000) + .optional(), + distributions: z + .array(z.lazy(() => oracleFusionReceivablesCreditMemoDistributionCreateFieldsSchema)) + .min(1) + .max(1000) + .optional(), + businessUnit: z.string().max(240).min(1), + transactionNumber: z.string().max(20).min(1), + transactionDate: financialsDateInput, + accountingDate: financialsDateInput.nullable().optional(), + billToCustomerName: z.string().max(255).nullable().optional(), + billToCustomerNumber: z.string().max(30).nullable().optional(), + billToSite: z.string().max(150).nullable().optional(), + creditMemoCurrency: z.string().max(15).nullable().optional(), + creditMemoStatus: z.string().max(8000).nullable().optional(), + creditReason: z.string().max(255).nullable().optional(), + freightCreditAmount: z.string().max(8000).nullable().optional(), + transactionSource: z.string().max(50).nullable().optional(), + transactionType: z.string().max(20).nullable().optional(), + creditMemoComments: z.string().max(1760).nullable().optional(), + conversionRate: z.number().finite().nullable().optional(), + conversionRateType: z.string().max(30).nullable().optional(), + conversionRateDate: financialsDateInput.nullable().optional(), +}) + +export const oracleFusionUpdateReceivablesCreditMemoInputSchema = z + .object({ + ...authShape, + receivablesCreditMemoId: financialsExactIntegerInput, + allowCompletion: z.string().max(1).nullable().optional(), + controlCompletionReason: z.string().max(8000).nullable().optional(), + creditMemoStatus: z.string().max(8000).nullable().optional(), + recipientEmail: z.string().max(1000).nullable().optional(), + transactionType: z.string().max(20).nullable().optional(), + }) + .refine( + (input) => + [ + input.allowCompletion, + input.controlCompletionReason, + input.creditMemoStatus, + input.recipientEmail, + input.transactionType, + ].some((value) => value !== undefined), + 'At least one writable field is required' + ) + +export const oracleFusionApproveReceivablesCreditMemoInputSchema = z.object({ + ...authShape, + receivablesCreditMemoId: financialsExactIntegerInput, + comment: z.string().max(8000).optional(), +}) + +export const oracleFusionReworkReceivablesCreditMemoInputSchema = z.object({ + ...authShape, + receivablesCreditMemoId: financialsExactIntegerInput, + comment: z.string().max(8000).optional(), +}) + +export const ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_LINE_FIELDS = [ + 'CustomerTransactionLineId', + 'LineNumber', + 'LineDescription', + 'ItemNumber', + 'MemoLine', + 'LineAmountCredit', + 'LineQuantityCredit', + 'UnitSellingPrice', + 'UnitOfMeasure', + 'LineCreditReason', + 'LineFreightCreditAmount', + 'TaxClassificationCode', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionReceivablesCreditMemoLineSchema = z + .object({ + CustomerTransactionLineId: oracleNonNullableDecimalString, + LineNumber: oracleNonNullableNumber, + LineDescription: oracleText, + ItemNumber: oracleText, + MemoLine: oracleText, + LineAmountCredit: oracleNumber, + LineQuantityCredit: oracleNumber, + UnitSellingPrice: oracleNumber, + UnitOfMeasure: oracleText, + LineCreditReason: oracleText, + LineFreightCreditAmount: oracleNumber, + TaxClassificationCode: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListReceivablesCreditMemoLinesInputSchema = z.object({ + ...authShape, + ...listShape, + receivablesCreditMemoId: financialsExactIntegerInput, +}) + +export const oracleFusionGetReceivablesCreditMemoLineInputSchema = z.object({ + ...authShape, + receivablesCreditMemoId: financialsExactIntegerInput, + receivablesCreditMemoLineId: financialsExactIntegerInput, +}) + +export const oracleFusionCreateReceivablesCreditMemoLineInputSchema = z.object({ + ...authShape, + receivablesCreditMemoId: financialsExactIntegerInput, + lineNumber: z.number().finite(), + lineDescription: z.string().max(240).nullable().optional(), + itemNumber: z.string().max(300).nullable().optional(), + memoLine: z.string().max(50).nullable().optional(), + lineAmountCredit: z.number().finite().nullable().optional(), + lineQuantityCredit: z.number().finite().nullable().optional(), + unitSellingPrice: z.number().finite().nullable().optional(), + unitOfMeasure: z.string().max(25).nullable().optional(), + lineCreditReason: z.string().max(255).nullable().optional(), + lineFreightCreditAmount: z.number().finite().nullable().optional(), + taxClassificationCode: z.string().max(30).nullable().optional(), +}) + +export const ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_DISTRIBUTION_FIELDS = [ + 'DistributionId', + 'AccountClass', + 'AccountCombination', + 'AccountedAmount', + 'Amount', + 'CreditMemoLineNumber', + 'DetailedTaxLineNumber', + 'Percent', + 'Comments', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionReceivablesCreditMemoDistributionSchema = z + .object({ + DistributionId: oracleNonNullableDecimalString, + AccountClass: oracleText, + AccountCombination: oracleText, + AccountedAmount: oracleNumber, + Amount: oracleNumber, + CreditMemoLineNumber: oracleInteger, + DetailedTaxLineNumber: oracleInteger, + Percent: oracleNumber, + Comments: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListReceivablesCreditMemoDistributionsInputSchema = z.object({ + ...authShape, + ...listShape, + receivablesCreditMemoId: financialsExactIntegerInput, +}) + +export const oracleFusionGetReceivablesCreditMemoDistributionInputSchema = z.object({ + ...authShape, + receivablesCreditMemoId: financialsExactIntegerInput, + receivablesCreditMemoDistributionId: financialsExactIntegerInput, +}) + +export const oracleFusionCreateReceivablesCreditMemoDistributionInputSchema = z.object({ + ...authShape, + receivablesCreditMemoId: financialsExactIntegerInput, + accountClass: z.string().max(255).nullable().optional(), + accountCombination: z.string().max(255).nullable().optional(), + accountedAmount: z.number().finite().nullable().optional(), + amount: z.number().finite().nullable().optional(), + creditMemoLineNumber: z.number().int().safe().nullable().optional(), + detailedTaxLineNumber: z.number().int().safe().nullable().optional(), + percent: z.number().finite().nullable().optional(), + comments: z.string().max(240).nullable().optional(), +}) + +export const ORACLE_FUSION_RECEIVABLES_RECEIPT_FIELDS = [ + 'StandardReceiptId', + 'ReceiptNumber', + 'Amount', + 'AccountedAmount', + 'UnappliedAmount', + 'Currency', + 'BusinessUnit', + 'ReceiptDate', + 'AccountingDate', + 'ReceiptMethod', + 'CustomerName', + 'CustomerAccountNumber', + 'CustomerSite', + 'State', + 'Status', + 'Comments', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionReceivablesReceiptSchema = z + .object({ + StandardReceiptId: oracleNonNullableDecimalString, + ReceiptNumber: oracleText, + Amount: oracleNonNullableNumber, + AccountedAmount: oracleNonNullableNumber, + UnappliedAmount: oracleNumber, + Currency: oracleNonNullableText, + BusinessUnit: oracleNonNullableText, + ReceiptDate: oracleNonNullableText, + AccountingDate: oracleText, + ReceiptMethod: oracleNonNullableText, + CustomerName: oracleText, + CustomerAccountNumber: oracleText, + CustomerSite: oracleText, + State: oracleText, + Status: oracleText, + Comments: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListReceivablesReceiptsInputSchema = z.object({ + ...authShape, + ...listShape, +}) + +export const oracleFusionGetReceivablesReceiptInputSchema = z.object({ + ...authShape, + receivablesReceiptId: financialsExactIntegerInput, +}) + +export const oracleFusionCreateReceivablesReceiptInputSchema = z.object({ + ...authShape, + amount: z.number().finite(), + businessUnit: z.string().max(240).min(1), + currency: z.string().max(15).min(1), + receiptDate: financialsDateInput, + receiptMethod: z.string().max(30).min(1), + receiptNumber: z.string().max(30).nullable().optional(), + accountingDate: financialsDateInput.nullable().optional(), + customerAccountNumber: z.string().max(30).nullable().optional(), + customerName: z.string().max(360).nullable().optional(), + customerSite: z.string().max(150).nullable().optional(), + comments: z.string().max(2000).nullable().optional(), + conversionRate: z.number().finite().nullable().optional(), + conversionRateType: z.string().max(30).nullable().optional(), + conversionDate: financialsDateInput.nullable().optional(), + maturityDate: financialsDateInput.nullable().optional(), + structuredPaymentReference: z.string().max(256).nullable().optional(), +}) + +export const oracleFusionUpdateReceivablesReceiptInputSchema = z + .object({ + ...authShape, + receivablesReceiptId: financialsExactIntegerInput, + amount: z.number().finite().optional(), + currency: z.string().max(15).optional(), + receiptDate: financialsDateInput.optional(), + receiptMethod: z.string().max(30).optional(), + receiptNumber: z.string().max(30).nullable().optional(), + accountingDate: financialsDateInput.nullable().optional(), + customerAccountNumber: z.string().max(30).nullable().optional(), + customerName: z.string().max(360).nullable().optional(), + customerSite: z.string().max(150).nullable().optional(), + comments: z.string().max(2000).nullable().optional(), + conversionRate: z.number().finite().nullable().optional(), + conversionRateType: z.string().max(30).nullable().optional(), + conversionDate: financialsDateInput.nullable().optional(), + maturityDate: financialsDateInput.nullable().optional(), + structuredPaymentReference: z.string().max(256).nullable().optional(), + }) + .refine( + (input) => + [ + input.amount, + input.currency, + input.receiptDate, + input.receiptMethod, + input.receiptNumber, + input.accountingDate, + input.customerAccountNumber, + input.customerName, + input.customerSite, + input.comments, + input.conversionRate, + input.conversionRateType, + input.conversionDate, + input.maturityDate, + input.structuredPaymentReference, + ].some((value) => value !== undefined), + 'At least one writable field is required' + ) + +export const oracleFusionDeleteReceivablesReceiptInputSchema = z.object({ + ...authShape, + receivablesReceiptId: financialsExactIntegerInput, +}) + +export const oracleFusionApplyReceivablesReceiptInputSchema = z.object({ + ...authShape, + receivablesReceiptId: financialsExactIntegerInput, + appliedPaymentScheduleId: financialsExactIntegerInput.transform(oracleFusionExactInteger), + amountApplied: z.number().finite().positive().optional(), + calledFrom: z.string().max(240).optional(), +}) + +export const ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_FIELDS = [ + 'AccountId', + 'AccountNumber', + 'CustomerId', + 'CustomerName', + 'TotalOpenReceivablesForAccount', + 'TotalTransactionsDueForAccount', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionReceivablesCustomerAccountSchema = z + .object({ + AccountId: oracleNonNullableDecimalString, + AccountNumber: oracleNonNullableText, + CustomerId: oracleNonNullableDecimalString, + CustomerName: oracleNonNullableText, + TotalOpenReceivablesForAccount: oracleNumber, + TotalTransactionsDueForAccount: oracleNumber, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListReceivablesCustomerAccountsInputSchema = z.object({ + ...authShape, + ...listShape, +}) + +export const oracleFusionGetReceivablesCustomerAccountInputSchema = z.object({ + ...authShape, + receivablesCustomerAccountId: financialsExactIntegerInput, +}) + +export const ORACLE_FUSION_RECEIVABLES_CUSTOMER_ACCOUNT_SITE_FIELDS = [ + 'BillToSiteUseId', + 'BillToSiteNumber', + 'BillToSiteAddress', + 'AccountId', + 'AccountNumber', + 'CustomerId', + 'CustomerName', + 'TotalOpenReceivablesForSite', + 'TotalTransactionsDueForSite', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionReceivablesCustomerAccountSiteSchema = z + .object({ + BillToSiteUseId: oracleNonNullableDecimalString, + BillToSiteNumber: oracleNonNullableText, + BillToSiteAddress: oracleText, + AccountId: oracleNonNullableDecimalString, + AccountNumber: oracleNonNullableText, + CustomerId: oracleNonNullableDecimalString, + CustomerName: oracleNonNullableText, + TotalOpenReceivablesForSite: oracleNumber, + TotalTransactionsDueForSite: oracleNumber, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListReceivablesCustomerAccountSitesInputSchema = z.object({ + ...authShape, + ...listShape, +}) + +export const oracleFusionGetReceivablesCustomerAccountSiteInputSchema = z.object({ + ...authShape, + receivablesCustomerAccountSiteId: financialsExactIntegerInput, +}) + +export const ORACLE_FUSION_RECEIVABLES_RECEIPT_APPLICATION_FIELDS = [ + 'ApplicationId', + 'StandardReceiptId', + 'ReceiptNumber', + 'ApplicationAmount', + 'EnteredCurrency', + 'ApplicationDate', + 'AccountingDate', + 'ApplicationStatus', + 'ProcessStatus', + 'IsLatestApplication', + 'ReferenceInstallmentId', + 'ReferenceTransactionId', + 'ReferenceTransactionNumber', + 'ReferenceTransactionStatus', +] as const + +export const oracleFusionReceivablesReceiptApplicationSchema = z + .object({ + ApplicationId: oracleNonNullableDecimalString, + StandardReceiptId: oracleNonNullableDecimalString, + ReceiptNumber: oracleText, + ApplicationAmount: oracleNonNullableNumber, + EnteredCurrency: oracleNonNullableText, + ApplicationDate: oracleNonNullableText, + AccountingDate: oracleNonNullableText, + ApplicationStatus: oracleText, + ProcessStatus: oracleText, + IsLatestApplication: oracleNonNullableText, + ReferenceInstallmentId: oracleDecimalString, + ReferenceTransactionId: oracleNonNullableDecimalString, + ReferenceTransactionNumber: oracleText, + ReferenceTransactionStatus: oracleText, + }) + .passthrough() + +export const oracleFusionListReceivablesReceiptApplicationsInputSchema = z.object({ + ...authShape, + ...listShape, + receivablesCustomerAccountId: financialsExactIntegerInput, +}) + +export const oracleFusionGetReceivablesReceiptApplicationInputSchema = z.object({ + ...authShape, + receivablesCustomerAccountId: financialsExactIntegerInput, + receivablesReceiptApplicationId: financialsExactIntegerInput, +}) + +export const ORACLE_FUSION_RECEIVABLES_CREDIT_MEMO_APPLICATION_FIELDS = [ + 'ApplicationId', + 'CreditMemoId', + 'CreditMemoNumber', + 'ApplicationAmount', + 'EnteredCurrency', + 'ApplicationDate', + 'AccountingDate', + 'ApplicationStatus', + 'CreditMemoStatus', + 'IsLatestApplication', + 'ReferenceInstallmentId', + 'ReferenceTransactionId', + 'ReferenceTransactionNumber', + 'ReferenceTransactionStatus', +] as const + +export const oracleFusionReceivablesCreditMemoApplicationSchema = z + .object({ + ApplicationId: oracleNonNullableDecimalString, + CreditMemoId: oracleNonNullableDecimalString, + CreditMemoNumber: oracleNonNullableText, + ApplicationAmount: oracleNonNullableNumber, + EnteredCurrency: oracleText, + ApplicationDate: oracleNonNullableText, + AccountingDate: oracleNonNullableText, + ApplicationStatus: oracleText, + CreditMemoStatus: oracleText, + IsLatestApplication: oracleNonNullableText, + ReferenceInstallmentId: oracleDecimalString, + ReferenceTransactionId: oracleNonNullableDecimalString, + ReferenceTransactionNumber: oracleText, + ReferenceTransactionStatus: oracleText, + }) + .passthrough() + +export const oracleFusionListReceivablesCreditMemoApplicationsInputSchema = z.object({ + ...authShape, + ...listShape, + receivablesCustomerAccountId: financialsExactIntegerInput, +}) + +export const oracleFusionGetReceivablesCreditMemoApplicationInputSchema = z.object({ + ...authShape, + receivablesCustomerAccountId: financialsExactIntegerInput, + receivablesCreditMemoApplicationId: financialsExactIntegerInput, +}) + +export const ORACLE_FUSION_RECEIVABLES_TRANSACTION_PAYMENT_SCHEDULE_FIELDS = [ + 'InstallmentId', + 'InstallmentNumber', + 'InstallmentStatus', + 'TransactionId', + 'TransactionNumber', + 'TransactionClass', + 'TransactionType', + 'TransactionSourceName', + 'TransactionDate', + 'PaymentScheduleDueDate', + 'PaymentDaysLate', + 'TotalBalanceAmount', + 'TotalOriginalAmount', + 'EnteredCurrency', + 'BillToSiteNumber', + 'PurchaseOrder', +] as const + +export const oracleFusionReceivablesTransactionPaymentScheduleSchema = z + .object({ + InstallmentId: oracleNonNullableDecimalString, + InstallmentNumber: oracleExactIntegerString, + InstallmentStatus: oracleText, + TransactionId: oracleNonNullableDecimalString, + TransactionNumber: oracleNonNullableText, + TransactionClass: oracleText, + TransactionType: oracleText, + TransactionSourceName: oracleNonNullableText, + TransactionDate: oracleNonNullableText, + PaymentScheduleDueDate: oracleNonNullableText, + PaymentDaysLate: oracleInteger, + TotalBalanceAmount: oracleNonNullableNumber, + TotalOriginalAmount: oracleNonNullableNumber, + EnteredCurrency: oracleText, + BillToSiteNumber: oracleNonNullableText, + PurchaseOrder: oracleText, + }) + .passthrough() + +export const oracleFusionListReceivablesTransactionPaymentSchedulesInputSchema = z.object({ + ...authShape, + ...listShape, + receivablesCustomerAccountId: financialsExactIntegerInput, +}) + +export const oracleFusionGetReceivablesTransactionPaymentScheduleInputSchema = z.object({ + ...authShape, + receivablesCustomerAccountId: financialsExactIntegerInput, + receivablesTransactionPaymentScheduleId: financialsExactIntegerInput, +}) + +export const ORACLE_FUSION_RECEIVABLES_TRANSACTION_ADJUSTMENT_FIELDS = [ + 'AdjustmentId', + 'AdjustmentNumber', + 'AdjustmentAmount', + 'AdjustmentReason', + 'AdjustmentType', + 'EnteredCurrency', + 'AccountingDate', + 'ApplicationDate', + 'ProcessStatus', + 'ReferenceInstallmentId', + 'ReferenceTransactionId', + 'ReferenceTransactionNumber', + 'ReferenceTransactionStatus', +] as const + +export const oracleFusionReceivablesTransactionAdjustmentSchema = z + .object({ + AdjustmentId: oracleNonNullableDecimalString, + AdjustmentNumber: oracleNonNullableText, + AdjustmentAmount: oracleNonNullableNumber, + AdjustmentReason: oracleText, + AdjustmentType: oracleText, + EnteredCurrency: oracleText, + AccountingDate: oracleNonNullableText, + ApplicationDate: oracleText, + ProcessStatus: oracleText, + ReferenceInstallmentId: oracleDecimalString, + ReferenceTransactionId: oracleNonNullableDecimalString, + ReferenceTransactionNumber: oracleNonNullableText, + ReferenceTransactionStatus: oracleText, + }) + .passthrough() + +export const oracleFusionListReceivablesTransactionAdjustmentsInputSchema = z.object({ + ...authShape, + ...listShape, + receivablesCustomerAccountId: financialsExactIntegerInput, +}) + +export const oracleFusionGetReceivablesTransactionAdjustmentInputSchema = z.object({ + ...authShape, + receivablesCustomerAccountId: financialsExactIntegerInput, + receivablesTransactionAdjustmentId: financialsExactIntegerInput, +}) +const expenseItemizationParentInput = z.union([ + z.literal('-1'), + financialsExactIntegerInput.refine((value) => value !== '0'), +]) + +export const ORACLE_FUSION_EXPENSE_REPORT_FIELDS = [ + 'ExpenseReportId', + 'ExpenseReportNumber', + 'ExpenseReportStatus', + 'ExpenseStatusCode', + 'ExpenseReportTotal', + 'BusinessUnit', + 'OrgId', + 'AssignmentId', + 'PersonId', + 'PersonName', + 'Purpose', + 'ExpenseReportDate', + 'ReportSubmitDate', + 'ReimbursementCurrencyCode', + 'PaymentMethodCode', + 'SubmitErrors', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionExpenseReportSchema = z + .object({ + expenseReportUniqId: z.string().optional(), + ExpenseReportId: oracleNonNullableDecimalString, + ExpenseReportNumber: oracleText, + ExpenseReportStatus: oracleNonNullableText, + ExpenseStatusCode: oracleText, + ExpenseReportTotal: oracleNumber, + BusinessUnit: oracleText, + OrgId: oracleNonNullableDecimalString, + AssignmentId: oracleDecimalString, + PersonId: oracleDecimalString, + PersonName: oracleText, + Purpose: oracleText, + ExpenseReportDate: oracleText, + ReportSubmitDate: oracleText, + ReimbursementCurrencyCode: oracleText, + PaymentMethodCode: oracleText, + SubmitErrors: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListExpenseReportsInputSchema = z.object({ + ...authShape, + ...listShape, +}) + +export const oracleFusionGetExpenseReportInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, +}) + +export const oracleFusionCreateExpenseReportInputSchema = z.object({ + ...authShape, + orgId: financialsExactIntegerInput.transform(oracleFusionExactInteger), + personId: financialsExactIntegerInput.transform(oracleFusionExactInteger).nullable().optional(), + assignmentId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + preparerId: financialsExactIntegerInput.transform(oracleFusionExactInteger).nullable().optional(), + purpose: z.string().max(240).nullable().optional(), + expenseReportNumber: z.string().max(50).nullable().optional(), + expenseReportDate: financialsDateInput.nullable().optional(), + reimbursementCurrencyCode: z.string().max(15).nullable().optional(), + exchangeRateType: z.string().max(30).nullable().optional(), + paymentMethodCode: z.string().max(120).nullable().optional(), + overrideApproverId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + unappliedAdvancesJust: z.string().max(240).nullable().optional(), + unappliedCashAdvReason: z.string().max(240).nullable().optional(), +}) + +export const oracleFusionUpdateExpenseReportInputSchema = z + .object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + orgId: financialsExactIntegerInput.transform(oracleFusionExactInteger).optional(), + purpose: z.string().max(240).nullable().optional(), + expenseReportDate: financialsDateInput.nullable().optional(), + reimbursementCurrencyCode: z.string().max(15).nullable().optional(), + exchangeRateType: z.string().max(30).nullable().optional(), + paymentMethodCode: z.string().max(120).nullable().optional(), + overrideApproverId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + unappliedAdvancesJust: z.string().max(240).nullable().optional(), + unappliedCashAdvReason: z.string().max(240).nullable().optional(), + }) + .refine( + (input) => + [ + input.orgId, + input.purpose, + input.expenseReportDate, + input.reimbursementCurrencyCode, + input.exchangeRateType, + input.paymentMethodCode, + input.overrideApproverId, + input.unappliedAdvancesJust, + input.unappliedCashAdvReason, + ].some((value) => value !== undefined), + 'Provide at least one supported update attribute' + ) + +export const oracleFusionSubmitExpenseReportInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, +}) + +export const oracleFusionRemoveExpenseReportCashAdvanceInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + cashAdvanceNumber: z.string().min(1).max(8000), +}) + +export const ORACLE_FUSION_EXPENSE_LINE_FIELDS = [ + 'ExpenseId', + 'ExpenseReportId', + 'ExpenseReference', + 'ExpenseType', + 'ExpenseTypeId', + 'ExpenseTemplate', + 'ExpenseTemplateId', + 'BusinessUnit', + 'OrgId', + 'AssignmentId', + 'PersonId', + 'PersonName', + 'Description', + 'Justification', + 'ReceiptAmount', + 'ReceiptCurrencyCode', + 'ReceiptDate', + 'ReimbursableAmount', + 'ReimbursementCurrencyCode', + 'MerchantName', + 'StartDate', + 'EndDate', + 'ItemizationParentExpenseId', + 'ReceiptMissingFlag', + 'ImageReceiptRequiredFlag', + 'ValidationErrorFlag', + 'ValidationErrorMessages', + 'ValidationWarningMessages', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionExpenseLineSchema = z + .object({ + expenseLineUniqId: z.string().optional(), + ExpenseId: oracleNonNullableDecimalString, + ExpenseReportId: oracleDecimalString, + ExpenseReference: oracleNonNullableInteger, + ExpenseType: oracleText, + ExpenseTypeId: oracleDecimalString, + ExpenseTemplate: oracleText, + ExpenseTemplateId: oracleDecimalString, + BusinessUnit: oracleText, + OrgId: oracleNonNullableDecimalString, + AssignmentId: oracleNonNullableDecimalString, + PersonId: oracleNonNullableDecimalString, + PersonName: oracleText, + Description: oracleText, + Justification: oracleText, + ReceiptAmount: oracleNumber, + ReceiptCurrencyCode: oracleText, + ReceiptDate: oracleText, + ReimbursableAmount: oracleNumber, + ReimbursementCurrencyCode: oracleText, + MerchantName: oracleText, + StartDate: oracleText, + EndDate: oracleText, + ItemizationParentExpenseId: oracleExactIntegerString, + ReceiptMissingFlag: oracleBoolean, + ImageReceiptRequiredFlag: oracleBoolean, + ValidationErrorFlag: oracleBoolean, + ValidationErrorMessages: oracleText, + ValidationWarningMessages: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListExpenseLinesInputSchema = z.object({ + ...authShape, + ...listShape, + expenseReportUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetExpenseLineInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, +}) + +export const oracleFusionCreateExpenseLineInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + assignmentId: financialsExactIntegerInput.transform(oracleFusionExactInteger), + orgId: financialsExactIntegerInput.transform(oracleFusionExactInteger), + personId: financialsExactIntegerInput.transform(oracleFusionExactInteger), + ticketClass: z.string().max(80).min(1), + expenseTypeId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + expenseTemplateId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + description: z.string().max(240).nullable().optional(), + justification: z.string().max(240).nullable().optional(), + receiptAmount: z.number().finite().nullable().optional(), + receiptCurrencyCode: z.string().max(15).nullable().optional(), + receiptDate: financialsDateInput.nullable().optional(), + merchantName: z.string().max(80).nullable().optional(), + startDate: financialsDateInput.nullable().optional(), + endDate: z.string().max(8000).nullable().optional(), + exchangeRate: z.number().finite().nullable().optional(), + reimbursementCurrencyCode: z.string().max(15).nullable().optional(), + itemizationParentExpenseId: expenseItemizationParentInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + receiptMissingFlag: z.boolean().nullable().optional(), + location: z.string().max(80).nullable().optional(), + countryCode: z.string().max(8000).nullable().optional(), + expenseCategoryCode: z.string().max(30).nullable().optional(), + expenseSource: z.string().max(30).nullable().optional(), + numberOfDays: z.number().int().safe().nullable().optional(), + numberOfAttendees: z.number().finite().nullable().optional(), + tripDistance: z.number().finite().nullable().optional(), + distanceUnitCode: z.string().max(30).nullable().optional(), + ticketClassCode: z.string().max(30).nullable().optional(), + ticketNumber: z.string().max(80).nullable().optional(), +}) + +export const oracleFusionUpdateExpenseLineInputSchema = z + .object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, + assignmentId: financialsExactIntegerInput.transform(oracleFusionExactInteger).optional(), + orgId: financialsExactIntegerInput.transform(oracleFusionExactInteger).optional(), + personId: financialsExactIntegerInput.transform(oracleFusionExactInteger).optional(), + ticketClass: z.string().max(80).optional(), + expenseTypeId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + expenseTemplateId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + description: z.string().max(240).nullable().optional(), + justification: z.string().max(240).nullable().optional(), + receiptAmount: z.number().finite().nullable().optional(), + receiptCurrencyCode: z.string().max(15).nullable().optional(), + receiptDate: financialsDateInput.nullable().optional(), + merchantName: z.string().max(80).nullable().optional(), + startDate: financialsDateInput.nullable().optional(), + endDate: z.string().max(8000).nullable().optional(), + exchangeRate: z.number().finite().nullable().optional(), + reimbursementCurrencyCode: z.string().max(15).nullable().optional(), + itemizationParentExpenseId: expenseItemizationParentInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + receiptMissingFlag: z.boolean().nullable().optional(), + location: z.string().max(80).nullable().optional(), + countryCode: z.string().max(8000).nullable().optional(), + expenseCategoryCode: z.string().max(30).nullable().optional(), + expenseSource: z.string().max(30).nullable().optional(), + numberOfDays: z.number().int().safe().nullable().optional(), + numberOfAttendees: z.number().finite().nullable().optional(), + tripDistance: z.number().finite().nullable().optional(), + distanceUnitCode: z.string().max(30).nullable().optional(), + ticketClassCode: z.string().max(30).nullable().optional(), + ticketNumber: z.string().max(80).nullable().optional(), + }) + .refine( + (input) => + [ + input.assignmentId, + input.orgId, + input.personId, + input.ticketClass, + input.expenseTypeId, + input.expenseTemplateId, + input.description, + input.justification, + input.receiptAmount, + input.receiptCurrencyCode, + input.receiptDate, + input.merchantName, + input.startDate, + input.endDate, + input.exchangeRate, + input.reimbursementCurrencyCode, + input.itemizationParentExpenseId, + input.receiptMissingFlag, + input.location, + input.countryCode, + input.expenseCategoryCode, + input.expenseSource, + input.numberOfDays, + input.numberOfAttendees, + input.tripDistance, + input.distanceUnitCode, + input.ticketClassCode, + input.ticketNumber, + ].some((value) => value !== undefined), + 'Provide at least one supported update attribute' + ) + +export const ORACLE_FUSION_EXPENSE_DISTRIBUTION_FIELDS = [ + 'ExpenseDistId', + 'ExpenseId', + 'ExpenseReportId', + 'OrgId', + 'BusinessUnit', + 'CodeCombinationId', + 'Company', + 'CostCenter', + 'ReimbursableAmount', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionExpenseDistributionSchema = z + .object({ + ExpenseDistId: oracleNonNullableDecimalString, + ExpenseId: oracleNonNullableDecimalString, + ExpenseReportId: oracleDecimalString, + OrgId: oracleNonNullableDecimalString, + BusinessUnit: oracleText, + CodeCombinationId: oracleDecimalString, + Company: oracleText, + CostCenter: oracleText, + ReimbursableAmount: oracleNumber, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListExpenseDistributionsInputSchema = z.object({ + ...authShape, + ...listShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetExpenseDistributionInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, + expenseDistributionId: financialsExactIntegerInput, +}) + +export const oracleFusionCreateExpenseDistributionInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, + expenseId: financialsExactIntegerInput.transform(oracleFusionExactInteger), + orgId: financialsExactIntegerInput.transform(oracleFusionExactInteger), + codeCombinationId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + company: z.string().max(25).nullable().optional(), + costCenter: z.string().max(8000).nullable().optional(), + reimbursableAmount: z.number().finite().nullable().optional(), +}) + +export const oracleFusionUpdateExpenseDistributionInputSchema = z + .object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, + expenseDistributionId: financialsExactIntegerInput, + expenseId: financialsExactIntegerInput.transform(oracleFusionExactInteger), + orgId: financialsExactIntegerInput.transform(oracleFusionExactInteger), + codeCombinationId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + company: z.string().max(25).nullable().optional(), + costCenter: z.string().max(8000).nullable().optional(), + reimbursableAmount: z.number().finite().nullable().optional(), + }) + .refine( + (input) => + [ + input.expenseId, + input.orgId, + input.codeCombinationId, + input.company, + input.costCenter, + input.reimbursableAmount, + ].some((value) => value !== undefined), + 'Provide at least one supported update attribute' + ) + +export const ORACLE_FUSION_EXPENSE_ITEMIZATION_FIELDS = [ + 'ExpenseId', + 'ExpenseReportId', + 'ItemizationParentExpenseId', + 'OrgId', + 'AssignmentId', + 'PersonId', + 'ExpenseType', + 'ExpenseTypeId', + 'Description', + 'Justification', + 'ReceiptAmount', + 'ReceiptCurrencyCode', + 'ReceiptDate', + 'ReimbursableAmount', + 'ReimbursementCurrencyCode', + 'MerchantName', + 'StartDate', + 'EndDate', + 'ImgReceiptRequiredFlag', + 'ValidationErrorFlag', + 'ValidationErrorMessages', + 'ValidationWarningMessages', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionExpenseItemizationSchema = z + .object({ + ExpenseId: oracleNonNullableDecimalString, + ExpenseReportId: oracleDecimalString, + ItemizationParentExpenseId: oracleExactIntegerString, + OrgId: oracleNonNullableDecimalString, + AssignmentId: oracleNonNullableDecimalString, + PersonId: oracleNonNullableDecimalString, + ExpenseType: oracleText, + ExpenseTypeId: oracleDecimalString, + Description: oracleText, + Justification: oracleText, + ReceiptAmount: oracleNumber, + ReceiptCurrencyCode: oracleText, + ReceiptDate: oracleText, + ReimbursableAmount: oracleNumber, + ReimbursementCurrencyCode: oracleText, + MerchantName: oracleText, + StartDate: oracleText, + EndDate: oracleText, + ImgReceiptRequiredFlag: oracleBoolean, + ValidationErrorFlag: oracleBoolean, + ValidationErrorMessages: oracleText, + ValidationWarningMessages: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListExpenseItemizationsInputSchema = z.object({ + ...authShape, + ...listShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetExpenseItemizationInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, + expenseItemizationId: financialsExactIntegerInput, +}) + +export const oracleFusionCreateExpenseItemizationInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, + assignmentId: financialsExactIntegerInput.transform(oracleFusionExactInteger).optional(), + orgId: financialsExactIntegerInput.transform(oracleFusionExactInteger).optional(), + personId: financialsExactIntegerInput.transform(oracleFusionExactInteger).optional(), + expenseTypeId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + expenseTemplateId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + itemizationParentExpenseId: expenseItemizationParentInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + description: z.string().max(240).nullable().optional(), + justification: z.string().max(240).nullable().optional(), + receiptAmount: z.number().finite().nullable().optional(), + receiptCurrencyCode: z.string().max(15).nullable().optional(), + receiptDate: financialsDateInput.nullable().optional(), + merchantName: z.string().max(80).nullable().optional(), + startDate: financialsDateInput.nullable().optional(), + endDate: z.string().max(8000).nullable().optional(), + exchangeRate: z.number().finite().nullable().optional(), + reimbursementCurrencyCode: z.string().max(15).nullable().optional(), + receiptMissingFlag: z.boolean().nullable().optional(), + location: z.string().max(80).nullable().optional(), + expenseCategoryCode: z.string().max(30).nullable().optional(), + numberOfDays: z.number().int().safe().nullable().optional(), + numberOfAttendees: z.number().finite().nullable().optional(), +}) + +export const oracleFusionUpdateExpenseItemizationInputSchema = z + .object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, + expenseItemizationId: financialsExactIntegerInput, + assignmentId: financialsExactIntegerInput.transform(oracleFusionExactInteger).optional(), + orgId: financialsExactIntegerInput.transform(oracleFusionExactInteger).optional(), + personId: financialsExactIntegerInput.transform(oracleFusionExactInteger).optional(), + expenseTypeId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + expenseTemplateId: financialsExactIntegerInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + itemizationParentExpenseId: expenseItemizationParentInput + .transform(oracleFusionExactInteger) + .nullable() + .optional(), + description: z.string().max(240).nullable().optional(), + justification: z.string().max(240).nullable().optional(), + receiptAmount: z.number().finite().nullable().optional(), + receiptCurrencyCode: z.string().max(15).nullable().optional(), + receiptDate: financialsDateInput.nullable().optional(), + merchantName: z.string().max(80).nullable().optional(), + startDate: financialsDateInput.nullable().optional(), + endDate: z.string().max(8000).nullable().optional(), + exchangeRate: z.number().finite().nullable().optional(), + reimbursementCurrencyCode: z.string().max(15).nullable().optional(), + receiptMissingFlag: z.boolean().nullable().optional(), + location: z.string().max(80).nullable().optional(), + expenseCategoryCode: z.string().max(30).nullable().optional(), + numberOfDays: z.number().int().safe().nullable().optional(), + numberOfAttendees: z.number().finite().nullable().optional(), + }) + .refine( + (input) => + [ + input.assignmentId, + input.orgId, + input.personId, + input.expenseTypeId, + input.expenseTemplateId, + input.itemizationParentExpenseId, + input.description, + input.justification, + input.receiptAmount, + input.receiptCurrencyCode, + input.receiptDate, + input.merchantName, + input.startDate, + input.endDate, + input.exchangeRate, + input.reimbursementCurrencyCode, + input.receiptMissingFlag, + input.location, + input.expenseCategoryCode, + input.numberOfDays, + input.numberOfAttendees, + ].some((value) => value !== undefined), + 'Provide at least one supported update attribute' + ) + +export const ORACLE_FUSION_EXPENSE_REPORT_PROCESSING_DETAIL_FIELDS = [ + 'ExpenseReportProcessingId', + 'ExpenseReportId', + 'Event', + 'EventDate', + 'EventPerformerId', + 'EventPerformerName', + 'AuditCode', + 'AuditReturnReasonCode', + 'CreationDate', +] as const + +export const oracleFusionExpenseReportProcessingDetailSchema = z + .object({ + expenseReportProcessingDetailUniqId: z.string().optional(), + ExpenseReportProcessingId: oracleNonNullableInteger, + ExpenseReportId: oracleNonNullableDecimalString, + Event: oracleNonNullableText, + EventDate: oracleText, + EventPerformerId: oracleText, + EventPerformerName: oracleText, + AuditCode: oracleText, + AuditReturnReasonCode: oracleText, + CreationDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListExpenseReportProcessingDetailsInputSchema = z.object({ + ...authShape, + ...listShape, + expenseReportUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetExpenseReportProcessingDetailInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseReportProcessingDetailUniqId: opaqueKeySchema, +}) + +export const ORACLE_FUSION_EXPENSE_REPORT_PAYMENT_FIELDS = [ + 'ExpenseReportId', + 'InvoiceId', + 'CheckId', + 'CheckNumber', + 'PaymentNumber', + 'PaymentAmount', + 'PaymentCurrencyCode', + 'PaymentDate', + 'PaymentMethod', + 'PaymentMethodCode', + 'ProcessingType', +] as const + +export const oracleFusionExpenseReportPaymentSchema = z + .object({ + ExpenseReportId: oracleNonNullableDecimalString, + InvoiceId: oracleNonNullableDecimalString, + CheckId: oracleNonNullableDecimalString, + CheckNumber: oracleNonNullableExactIntegerString, + PaymentNumber: oracleNonNullableExactIntegerString, + PaymentAmount: oracleNonNullableNumber, + PaymentCurrencyCode: oracleText, + PaymentDate: oracleNonNullableText, + PaymentMethod: oracleText, + PaymentMethodCode: oracleText, + ProcessingType: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListExpenseReportPaymentsInputSchema = z.object({ + ...authShape, + ...listShape, + expenseReportUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetExpenseReportPaymentInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseReportPaymentId: financialsExactIntegerInput, +}) + +export const ORACLE_FUSION_EXPENSE_LINE_ERROR_FIELDS = [ + 'ErrorSequence', + 'ErrorCode', + 'ErrorDescription', + 'Name', + 'Type', +] as const + +export const oracleFusionExpenseLineErrorSchema = z + .object({ + ErrorSequence: oracleInteger, + ErrorCode: oracleText, + ErrorDescription: oracleText, + Name: oracleText, + Type: oracleText, + }) + .passthrough() + +export const oracleFusionListExpenseLineErrorsInputSchema = z.object({ + ...authShape, + ...listShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetExpenseLineErrorInputSchema = z.object({ + ...authShape, + expenseReportUniqId: opaqueKeySchema, + expenseLineUniqId: opaqueKeySchema, + expenseLineErrorSequence: financialsExactIntegerInput, +}) + +export const ORACLE_FUSION_GL_LEDGER_FIELDS = [ + 'LedgerId', + 'Name', + 'Description', + 'CurrencyCode', + 'ChartOfAccountsId', + 'AccountedPeriodType', + 'PeriodSetName', + 'LedgerCategoryCode', + 'LedgerTypeCode', + 'EnableBudgetaryControlFlag', +] as const + +export const oracleFusionGlLedgerSchema = z + .object({ + LedgerId: oracleDecimalString, + Name: oracleNonNullableText, + Description: oracleText, + CurrencyCode: oracleNonNullableText, + ChartOfAccountsId: oracleNonNullableDecimalString, + AccountedPeriodType: oracleNonNullableText, + PeriodSetName: oracleNonNullableText, + LedgerCategoryCode: oracleNonNullableText, + LedgerTypeCode: oracleNonNullableText, + EnableBudgetaryControlFlag: oracleNonNullableBoolean, + }) + .passthrough() + +export const oracleFusionListGlLedgersInputSchema = z.object({ + ...authShape, + ...listShape, +}) + +export const oracleFusionGetGlLedgerInputSchema = z.object({ + ...authShape, + glLedgerId: financialsExactIntegerInput, +}) + +export const ORACLE_FUSION_GL_JOURNAL_BATCH_FIELDS = [ + 'JeBatchId', + 'BatchName', + 'BatchDescription', + 'DefaultPeriodName', + 'Status', + 'StatusMeaning', + 'CompletionStatusMeaning', + 'ApprovalStatusMeaning', + 'FundsStatusMeaning', + 'UserJeSourceName', + 'ChartOfAccountsName', + 'UserPeriodSetName', + 'AccountedPeriodType', + 'ActualFlagMeaning', + 'RunningTotalCr', + 'RunningTotalDr', + 'RunningTotalAccountedCr', + 'RunningTotalAccountedDr', + 'ControlTotal', + 'PostedDate', + 'ReversalFlag', + 'ReversalDate', + 'ReversalMethodMeaning', + 'ReversalPeriod', + 'ErrorMessage', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionGlJournalBatchSchema = z + .object({ + JeBatchId: oracleNonNullableDecimalString, + BatchName: oracleNonNullableText, + BatchDescription: oracleText, + DefaultPeriodName: oracleText, + Status: oracleNonNullableText, + StatusMeaning: oracleText, + CompletionStatusMeaning: oracleText, + ApprovalStatusMeaning: oracleNonNullableText, + FundsStatusMeaning: oracleNonNullableText, + UserJeSourceName: oracleNonNullableText, + ChartOfAccountsName: oracleNonNullableText, + UserPeriodSetName: oracleNonNullableText, + AccountedPeriodType: oracleNonNullableText, + ActualFlagMeaning: oracleNonNullableText, + RunningTotalCr: oracleNumber, + RunningTotalDr: oracleNumber, + RunningTotalAccountedCr: oracleNumber, + RunningTotalAccountedDr: oracleNumber, + ControlTotal: oracleNumber, + PostedDate: oracleText, + ReversalFlag: oracleBoolean, + ReversalDate: oracleText, + ReversalMethodMeaning: oracleText, + ReversalPeriod: oracleText, + ErrorMessage: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListGlJournalBatchesInputSchema = z.object({ + ...authShape, + ...listShape, +}) + +export const oracleFusionGetGlJournalBatchInputSchema = z.object({ + ...authShape, + glJournalBatchId: financialsExactIntegerInput, +}) + +export const oracleFusionDeleteGlJournalBatchInputSchema = z.object({ + ...authShape, + glJournalBatchId: financialsExactIntegerInput, +}) + +export const ORACLE_FUSION_GL_JOURNAL_HEADER_FIELDS = [ + 'JournalName', + 'JournalDescription', + 'LedgerName', + 'LedgerCurrencyCode', + 'CurrencyCode', + 'PeriodName', + 'DefaultEffectiveDate', + 'UserJeCategoryName', + 'UserCurrencyConversionType', + 'CurrencyConversionDate', + 'CurrencyConversionRate', + 'RunningTotalCr', + 'RunningTotalDr', + 'RunningTotalAccountedCr', + 'RunningTotalAccountedDr', + 'ControlTotal', + 'LegalEntityName', + 'ExternalReference', + 'AccrualReversalStatus', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionGlJournalHeaderSchema = z + .object({ + glJournalHeaderUniqId: z.string().optional(), + JournalName: oracleNonNullableText, + JournalDescription: oracleText, + LedgerName: oracleNonNullableText, + LedgerCurrencyCode: oracleNonNullableText, + CurrencyCode: oracleText, + PeriodName: oracleNonNullableText, + DefaultEffectiveDate: oracleNonNullableText, + UserJeCategoryName: oracleNonNullableText, + UserCurrencyConversionType: oracleNonNullableText, + CurrencyConversionDate: oracleText, + CurrencyConversionRate: oracleNumber, + RunningTotalCr: oracleNumber, + RunningTotalDr: oracleNumber, + RunningTotalAccountedCr: oracleNumber, + RunningTotalAccountedDr: oracleNumber, + ControlTotal: oracleNumber, + LegalEntityName: oracleNonNullableText, + ExternalReference: oracleText, + AccrualReversalStatus: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListGlJournalHeadersInputSchema = z.object({ + ...authShape, + ...listShape, + glJournalBatchId: financialsExactIntegerInput, +}) + +export const oracleFusionGetGlJournalHeaderInputSchema = z.object({ + ...authShape, + glJournalBatchId: financialsExactIntegerInput, + glJournalHeaderUniqId: opaqueKeySchema, +}) + +export const ORACLE_FUSION_GL_JOURNAL_LINE_FIELDS = [ + 'JeLineNumber', + 'AccountCombination', + 'AccountedCr', + 'AccountedDr', + 'EnteredCr', + 'EnteredDr', + 'CurrencyCode', + 'CurrencyConversionDate', + 'CurrencyConversionRate', + 'Description', + 'ChartOfAccountsName', + 'StatAmount', + 'ReconciliationReference', + 'jgzzReconStatusMeaning', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionGlJournalLineSchema = z + .object({ + glJournalLineUniqId: z.string().optional(), + JeLineNumber: oracleNonNullableExactIntegerString, + AccountCombination: oracleText, + AccountedCr: oracleNumber, + AccountedDr: oracleNumber, + EnteredCr: oracleNumber, + EnteredDr: oracleNumber, + CurrencyCode: oracleNonNullableText, + CurrencyConversionDate: oracleNonNullableText, + CurrencyConversionRate: oracleNonNullableNumber, + Description: oracleText, + ChartOfAccountsName: oracleNonNullableText, + StatAmount: oracleNumber, + ReconciliationReference: oracleText, + jgzzReconStatusMeaning: oracleNonNullableText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListGlJournalLinesInputSchema = z.object({ + ...authShape, + ...listShape, + glJournalBatchId: financialsExactIntegerInput, + glJournalHeaderUniqId: opaqueKeySchema, +}) + +export const oracleFusionGetGlJournalLineInputSchema = z.object({ + ...authShape, + glJournalBatchId: financialsExactIntegerInput, + glJournalHeaderUniqId: opaqueKeySchema, + glJournalLineUniqId: opaqueKeySchema, +}) + +export const ORACLE_FUSION_GL_JOURNAL_ERROR_FIELDS = [ + 'BatchName', + 'HeaderName', + 'ErrorNumber', + 'JeLineNumber', + 'ErrorMessage', + 'ErrorMessageName', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionGlJournalErrorSchema = z + .object({ + glJournalErrorUniqId: z.string().optional(), + BatchName: oracleNonNullableText, + HeaderName: oracleText, + ErrorNumber: oracleNonNullableExactIntegerString, + JeLineNumber: oracleNonNullableExactIntegerString, + ErrorMessage: oracleText, + ErrorMessageName: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListGlJournalErrorsInputSchema = z.object({ + ...authShape, + ...listShape, + glJournalBatchId: financialsExactIntegerInput, +}) + +export const oracleFusionGetGlJournalErrorInputSchema = z.object({ + ...authShape, + glJournalBatchId: financialsExactIntegerInput, + glJournalErrorUniqId: opaqueKeySchema, +}) + +export const ORACLE_FUSION_GL_JOURNAL_ACTION_LOG_FIELDS = [ + 'ActionCodeMeaning', + 'ActionDate', + 'UserName', + 'CreationDate', + 'LastUpdateDate', +] as const + +export const oracleFusionGlJournalActionLogSchema = z + .object({ + glJournalActionLogUniqId: z.string().optional(), + ActionCodeMeaning: oracleNonNullableText, + ActionDate: oracleNonNullableText, + UserName: oracleText, + CreationDate: oracleNonNullableText, + LastUpdateDate: oracleNonNullableText, + }) + .passthrough() + +export const oracleFusionListGlJournalActionLogsInputSchema = z.object({ + ...authShape, + ...listShape, + glJournalBatchId: financialsExactIntegerInput, +}) + +export const oracleFusionGetGlJournalActionLogInputSchema = z.object({ + ...authShape, + glJournalBatchId: financialsExactIntegerInput, + glJournalActionLogUniqId: opaqueKeySchema, +}) + +export const ORACLE_FUSION_GL_BALANCE_FIELDS = [ + 'AccountCombination', + 'AccountGroupName', + 'AccountName', + 'ActualBalance', + 'AmountType', + 'BeginningBalance', + 'BudgetBalance', + 'Currency', + 'CurrencyType', + 'CurrentAccountingPeriod', + 'CurrentPeriodBalance', + 'DetailAccountCombination', + 'EndingBalance', + 'ErrorDetail', + 'LedgerName', + 'LedgerSetName', + 'PeriodActivity', + 'PeriodName', + 'Scenario', +] as const + +export const oracleFusionGlBalanceSchema = z + .object({ + AccountCombination: oracleText, + AccountGroupName: oracleText, + AccountName: oracleText, + ActualBalance: oracleText, + AmountType: oracleText, + BeginningBalance: oracleText, + BudgetBalance: oracleText, + Currency: oracleText, + CurrencyType: oracleText, + CurrentAccountingPeriod: oracleText, + CurrentPeriodBalance: oracleText, + DetailAccountCombination: oracleText, + EndingBalance: oracleText, + ErrorDetail: oracleText, + LedgerName: oracleText, + LedgerSetName: oracleText, + PeriodActivity: oracleText, + PeriodName: oracleText, + Scenario: oracleText, + }) + .passthrough() + +export const oracleFusionListGlBalancesInputSchema = z.object({ + ...authShape, + ...listShape, +}) diff --git a/apps/sim/lib/internal/tool-operations/registry.server.ts b/apps/sim/lib/internal/tool-operations/registry.server.ts index 45bb6cb5cd4..9b9e19c4326 100644 --- a/apps/sim/lib/internal/tool-operations/registry.server.ts +++ b/apps/sim/lib/internal/tool-operations/registry.server.ts @@ -783,6 +783,118 @@ const NETSUITE_TOOL_IDS = [ ] as const const OKTA_TOOL_IDS = ['okta_update_group'] as const + +const ORACLE_FUSION_FINANCIALS_TOOL_IDS = [ + 'oracle_fusion_financials_list_gl_ledgers', + 'oracle_fusion_financials_get_gl_ledger', + 'oracle_fusion_financials_list_gl_journal_batches', + 'oracle_fusion_financials_get_gl_journal_batch', + 'oracle_fusion_financials_delete_gl_journal_batch', + 'oracle_fusion_financials_list_gl_journal_headers', + 'oracle_fusion_financials_get_gl_journal_header', + 'oracle_fusion_financials_list_gl_journal_lines', + 'oracle_fusion_financials_get_gl_journal_line', + 'oracle_fusion_financials_list_gl_journal_errors', + 'oracle_fusion_financials_get_gl_journal_error', + 'oracle_fusion_financials_list_gl_journal_action_logs', + 'oracle_fusion_financials_get_gl_journal_action_log', + 'oracle_fusion_financials_list_gl_balances', + 'oracle_fusion_financials_list_expense_reports', + 'oracle_fusion_financials_get_expense_report', + 'oracle_fusion_financials_create_expense_report', + 'oracle_fusion_financials_update_expense_report', + 'oracle_fusion_financials_submit_expense_report', + 'oracle_fusion_financials_remove_expense_report_cash_advance', + 'oracle_fusion_financials_list_expense_lines', + 'oracle_fusion_financials_get_expense_line', + 'oracle_fusion_financials_create_expense_line', + 'oracle_fusion_financials_update_expense_line', + 'oracle_fusion_financials_list_expense_distributions', + 'oracle_fusion_financials_get_expense_distribution', + 'oracle_fusion_financials_create_expense_distribution', + 'oracle_fusion_financials_update_expense_distribution', + 'oracle_fusion_financials_list_expense_itemizations', + 'oracle_fusion_financials_get_expense_itemization', + 'oracle_fusion_financials_create_expense_itemization', + 'oracle_fusion_financials_update_expense_itemization', + 'oracle_fusion_financials_list_expense_report_processing_details', + 'oracle_fusion_financials_get_expense_report_processing_detail', + 'oracle_fusion_financials_list_expense_report_payments', + 'oracle_fusion_financials_get_expense_report_payment', + 'oracle_fusion_financials_list_expense_line_errors', + 'oracle_fusion_financials_get_expense_line_error', + 'oracle_fusion_financials_list_receivables_invoices', + 'oracle_fusion_financials_get_receivables_invoice', + 'oracle_fusion_financials_create_receivables_invoice', + 'oracle_fusion_financials_update_receivables_invoice', + 'oracle_fusion_financials_delete_receivables_invoice', + 'oracle_fusion_financials_approve_receivables_invoice', + 'oracle_fusion_financials_rework_receivables_invoice', + 'oracle_fusion_financials_list_receivables_invoice_lines', + 'oracle_fusion_financials_get_receivables_invoice_line', + 'oracle_fusion_financials_create_receivables_invoice_line', + 'oracle_fusion_financials_list_receivables_invoice_distributions', + 'oracle_fusion_financials_get_receivables_invoice_distribution', + 'oracle_fusion_financials_create_receivables_invoice_distribution', + 'oracle_fusion_financials_list_receivables_invoice_installments', + 'oracle_fusion_financials_get_receivables_invoice_installment', + 'oracle_fusion_financials_update_receivables_invoice_installment', + 'oracle_fusion_financials_list_receivables_credit_memos', + 'oracle_fusion_financials_get_receivables_credit_memo', + 'oracle_fusion_financials_create_receivables_credit_memo', + 'oracle_fusion_financials_update_receivables_credit_memo', + 'oracle_fusion_financials_approve_receivables_credit_memo', + 'oracle_fusion_financials_rework_receivables_credit_memo', + 'oracle_fusion_financials_list_receivables_credit_memo_lines', + 'oracle_fusion_financials_get_receivables_credit_memo_line', + 'oracle_fusion_financials_create_receivables_credit_memo_line', + 'oracle_fusion_financials_list_receivables_credit_memo_distributions', + 'oracle_fusion_financials_get_receivables_credit_memo_distribution', + 'oracle_fusion_financials_create_receivables_credit_memo_distribution', + 'oracle_fusion_financials_list_receivables_receipts', + 'oracle_fusion_financials_get_receivables_receipt', + 'oracle_fusion_financials_create_receivables_receipt', + 'oracle_fusion_financials_update_receivables_receipt', + 'oracle_fusion_financials_delete_receivables_receipt', + 'oracle_fusion_financials_apply_receivables_receipt', + 'oracle_fusion_financials_list_receivables_customer_accounts', + 'oracle_fusion_financials_get_receivables_customer_account', + 'oracle_fusion_financials_list_receivables_customer_account_sites', + 'oracle_fusion_financials_get_receivables_customer_account_site', + 'oracle_fusion_financials_list_receivables_receipt_applications', + 'oracle_fusion_financials_get_receivables_receipt_application', + 'oracle_fusion_financials_list_receivables_credit_memo_applications', + 'oracle_fusion_financials_get_receivables_credit_memo_application', + 'oracle_fusion_financials_list_receivables_transaction_payment_schedules', + 'oracle_fusion_financials_get_receivables_transaction_payment_schedule', + 'oracle_fusion_financials_list_receivables_transaction_adjustments', + 'oracle_fusion_financials_get_receivables_transaction_adjustment', + 'oracle_fusion_financials_list_payables_invoices', + 'oracle_fusion_financials_get_payables_invoice', + 'oracle_fusion_financials_list_payables_invoice_lines', + 'oracle_fusion_financials_get_payables_invoice_line', + 'oracle_fusion_financials_list_payables_invoice_installments', + 'oracle_fusion_financials_get_payables_invoice_installment', + 'oracle_fusion_financials_list_payables_invoice_distributions', + 'oracle_fusion_financials_get_payables_invoice_distribution', + 'oracle_fusion_financials_list_payables_applied_prepayments', + 'oracle_fusion_financials_get_payables_applied_prepayment', + 'oracle_fusion_financials_list_payables_available_prepayments', + 'oracle_fusion_financials_get_payables_available_prepayment', + 'oracle_fusion_financials_list_payables_payments', + 'oracle_fusion_financials_get_payables_payment', + 'oracle_fusion_financials_list_payables_payment_related_invoices', + 'oracle_fusion_financials_get_payables_payment_related_invoice', + 'oracle_fusion_financials_list_payment_process_requests', + 'oracle_fusion_financials_get_payment_process_request', + 'oracle_fusion_financials_list_payables_invoice_holds', + 'oracle_fusion_financials_get_payables_invoice_hold', + 'oracle_fusion_financials_list_payables_payment_terms', + 'oracle_fusion_financials_get_payables_payment_term', + 'oracle_fusion_financials_list_payables_payment_term_lines', + 'oracle_fusion_financials_get_payables_payment_term_line', +] as const + const SALESFORCE_TOOL_IDS = ['salesforce_update_custom_field'] as const const SLACK_TOOL_IDS = [ @@ -1431,6 +1543,10 @@ registerFamily(handlerLoaders, NETSUITE_TOOL_IDS, async () => { registerFamily(handlerLoaders, OKTA_TOOL_IDS, async () => { return (await import('@/lib/internal/okta/execute-tool')).executeOktaTool }) +registerFamily(handlerLoaders, ORACLE_FUSION_FINANCIALS_TOOL_IDS, async () => { + return (await import('@/lib/internal/oracle-fusion-financials/execute-tool')) + .executeOracleFusionFinancialsTool +}) registerFamily(handlerLoaders, SALESFORCE_TOOL_IDS, async () => { return (await import('@/lib/internal/salesforce/execute-tool')).executeSalesforceTool }) diff --git a/apps/sim/lib/oauth/oauth.ts b/apps/sim/lib/oauth/oauth.ts index b77cc07bd95..3996e986662 100644 --- a/apps/sim/lib/oauth/oauth.ts +++ b/apps/sim/lib/oauth/oauth.ts @@ -978,6 +978,24 @@ export const OAUTH_PROVIDERS: Record = { }, defaultService: 'netsuite', }, + oracle_fusion_financials: { + name: 'Oracle Fusion Cloud Financials', + icon: NetSuiteIcon, + services: { + oracle_fusion_financials: { + name: 'Oracle Fusion Cloud Financials', + description: + 'Read Payables, manage Receivables transactions and employee expenses, and inspect General Ledger journals and balances with supported journal-batch deletion.', + providerId: 'oracle_fusion_financials', + serviceAccountProviderId: 'oracle-fusion-service-account', + icon: NetSuiteIcon, + baseProviderIcon: NetSuiteIcon, + scopes: [], + authType: 'service_account', + }, + }, + defaultService: 'oracle_fusion_financials', + }, reddit: { name: 'Reddit', icon: RedditIcon, diff --git a/apps/sim/lib/oauth/types.ts b/apps/sim/lib/oauth/types.ts index bd38a3d2189..7b27067633a 100644 --- a/apps/sim/lib/oauth/types.ts +++ b/apps/sim/lib/oauth/types.ts @@ -151,6 +151,7 @@ export type OAuthService = | 'github' | 'monday' | 'zoho-desk' + | 'oracle_fusion_financials' export interface OAuthProviderConfig { name: string diff --git a/apps/sim/lib/selectors/manifest.test.ts b/apps/sim/lib/selectors/manifest.test.ts index df9322d33e3..931148a9c8a 100644 --- a/apps/sim/lib/selectors/manifest.test.ts +++ b/apps/sim/lib/selectors/manifest.test.ts @@ -4,13 +4,37 @@ import { selectorManifest } from '@/lib/selectors/manifest' import { serverSelectorRegistry } from '@/lib/selectors/server/registry' describe('selector manifest', () => { + it('keeps Financials selectors credential-only, paginated, and detail-capable', () => { + const keys = [ + 'oracleFusionFinancials.invoices', + 'oracleFusionFinancials.receivablesInvoices', + 'oracleFusionFinancials.receivablesCreditMemos', + 'oracleFusionFinancials.receivablesReceipts', + 'oracleFusionFinancials.receivablesCustomerAccounts', + 'oracleFusionFinancials.receivablesCustomerAccountSites', + 'oracleFusionFinancials.expenseReports', + 'oracleFusionFinancials.glLedgers', + 'oracleFusionFinancials.glJournalBatches', + ] as const + for (const key of keys) { + expect(selectorManifest[key]).toMatchObject({ + context: { allowed: ['oauthCredential'], readiness: { all: ['oauthCredential'] } }, + listMode: 'paginated', + supportsDetail: true, + }) + expect(serverSelectorRegistry[key].credential?.serviceIds).toEqual([ + 'oracle_fusion_financials', + ]) + } + }) + it('keeps the completed migration inventory exhaustive and legacy-free', () => { const classifications = Object.values(selectorManifest).map((entry) => entry.classification) const count = (classification: (typeof classifications)[number]) => classifications.filter((value) => value === classification).length - expect(Object.keys(selectorManifest)).toHaveLength(94) - expect(count('provider-server')).toBe(82) + expect(Object.keys(selectorManifest)).toHaveLength(103) + expect(count('provider-server')).toBe(91) expect(count('internal-server')).toBe(11) expect(count('local')).toBe(1) expect(classifications).not.toContain('provider-legacy') @@ -36,7 +60,7 @@ describe('selector manifest', () => { const rawConnectionKeys = providerKeys.filter( (key) => !serverSelectorRegistry[key as keyof typeof serverSelectorRegistry].credential ) - expect(providerKeys).toHaveLength(82) + expect(providerKeys).toHaveLength(91) expect(rawConnectionKeys.sort()).toEqual([ 'cloudwatch.logGroups', 'cloudwatch.logStreams', @@ -98,7 +122,7 @@ describe('selector manifest', () => { (attachment) => attachment.destination !== 'fixed' ) - expect(preparedDestinations).toHaveLength(13) + expect(preparedDestinations).toHaveLength(22) for (const attachment of preparedDestinations) { expect(attachment.destination).toEqual( expect.objectContaining({ diff --git a/apps/sim/lib/selectors/manifest.ts b/apps/sim/lib/selectors/manifest.ts index 172fcfa0ac5..6f86e946a61 100644 --- a/apps/sim/lib/selectors/manifest.ts +++ b/apps/sim/lib/selectors/manifest.ts @@ -188,6 +188,42 @@ export const selectorManifest = { detail: true, unknownDetail: true, }), + 'oracleFusionFinancials.receivablesInvoices': providerSelector([], { + listMode: 'paginated', + detail: true, + }), + 'oracleFusionFinancials.receivablesCreditMemos': providerSelector([], { + listMode: 'paginated', + detail: true, + }), + 'oracleFusionFinancials.receivablesReceipts': providerSelector([], { + listMode: 'paginated', + detail: true, + }), + 'oracleFusionFinancials.receivablesCustomerAccounts': providerSelector([], { + listMode: 'paginated', + detail: true, + }), + 'oracleFusionFinancials.receivablesCustomerAccountSites': providerSelector([], { + listMode: 'paginated', + detail: true, + }), + 'oracleFusionFinancials.expenseReports': providerSelector([], { + listMode: 'paginated', + detail: true, + }), + 'oracleFusionFinancials.glLedgers': providerSelector([], { + listMode: 'paginated', + detail: true, + }), + 'oracleFusionFinancials.glJournalBatches': providerSelector([], { + listMode: 'paginated', + detail: true, + }), + 'oracleFusionFinancials.invoices': providerSelector([], { + listMode: 'paginated', + detail: true, + }), 'pipedrive.pipelines': providerSelector([], { detail: true }), 'sharepoint.lists': providerSelector(['siteId'], { readiness: { all: ['oauthCredential', 'siteId'] }, diff --git a/apps/sim/lib/selectors/server/providers/oracle-fusion-financials.test.ts b/apps/sim/lib/selectors/server/providers/oracle-fusion-financials.test.ts new file mode 100644 index 00000000000..513eb3cf87c --- /dev/null +++ b/apps/sim/lib/selectors/server/providers/oracle-fusion-financials.test.ts @@ -0,0 +1,479 @@ +/** + * @vitest-environment node + */ +import { beforeEach, describe, expect, it, vi } from 'vitest' + +const mocks = vi.hoisted(() => ({ + request: vi.fn(), + resolveBundle: vi.fn(), +})) + +vi.mock('@/lib/internal/oracle-fusion/client', () => ({ + requestOracleFusionJson: mocks.request, +})) +vi.mock('@/lib/selectors/server/providers/credential-bundle', () => ({ + resolveSelectorCredentialBundle: mocks.resolveBundle, +})) + +import { ORACLE_FUSION_SERVICE_ACCOUNT_PROVIDER_ID } from '@/lib/credentials/client-credential-accounts/descriptors' +import { OracleFusionProviderError } from '@/lib/internal/oracle-fusion/errors' +import { ORACLE_FUSION_INVOICE_FIELDS } from '@/lib/internal/oracle-fusion-financials/schema' +import { createSelectorProtectedValues } from '@/lib/selectors/server/protected-values' +import { oracleFusionFinancialsSelectorAttachments } from '@/lib/selectors/server/providers/oracle-fusion-financials' +import type { ExecuteServerSelectorArgs } from '@/lib/selectors/server/types' + +const ORIGIN = 'https://vision.fa.us2.oraclecloud.com' +const attachment = oracleFusionFinancialsSelectorAttachments['oracleFusionFinancials.invoices'] + +function invoice(id: string, overrides: Record = {}) { + return { + InvoiceNumber: 'INV-100', + Supplier: 'Acme', + InvoiceAmount: 125.5, + InvoiceCurrency: 'USD', + InvoiceDate: '2026-09-01', + PaidStatus: 'Unpaid', + links: [ + { + rel: 'self', + href: `${ORIGIN}/fscmRestApi/resources/11.13.18.05/invoices/${encodeURIComponent(id)}`, + }, + ], + ...overrides, + } +} + +function args( + request: ExecuteServerSelectorArgs['request'], + providerId = ORACLE_FUSION_SERVICE_ACCOUNT_PROVIDER_ID +): ExecuteServerSelectorArgs { + return { + selectorKey: 'oracleFusionFinancials.invoices', + context: { oauthCredential: 'credential-1' }, + request, + scope: { kind: 'workspace', workspaceId: 'workspace-1' }, + workspaceId: 'workspace-1', + principal: { kind: 'session', userId: 'user-1', sessionId: 'session-1' }, + requesterUserId: 'user-1', + credential: { + suppliedId: 'credential-1', + providerId, + access: { + ok: true, + credentialOwnerUserId: 'user-1', + resolvedCredentialId: 'credential-1', + workspaceId: 'workspace-1', + }, + }, + references: new Map(), + protectedValues: createSelectorProtectedValues(), + } +} + +function prepared() { + return { oauthCredential: 'credential-1', accessToken: 'server-only-token', instanceUrl: ORIGIN } +} + +describe('Oracle Fusion Financials invoice selector', () => { + beforeEach(() => { + vi.clearAllMocks() + mocks.resolveBundle.mockResolvedValue({ + accessToken: 'server-only-token', + instanceUrl: ORIGIN, + }) + }) + + it.each([ + { + key: 'oracleFusionFinancials.glLedgers', + path: 'ledgersLOV', + idField: 'LedgerId', + values: { Name: 'US Primary', CurrencyCode: 'USD' }, + label: 'US Primary — USD', + }, + { + key: 'oracleFusionFinancials.glJournalBatches', + path: 'journalBatches', + idField: 'JeBatchId', + values: { BatchName: 'September accruals', DefaultPeriodName: 'Sep-26' }, + label: 'September accruals — Sep-26', + }, + { + key: 'oracleFusionFinancials.receivablesInvoices', + path: 'receivablesInvoices', + idField: 'CustomerTransactionId', + values: { TransactionNumber: 'AR-42', BillToCustomerName: 'Example customer' }, + label: 'AR-42 — Example customer', + }, + { + key: 'oracleFusionFinancials.receivablesCreditMemos', + path: 'receivablesCreditMemos', + idField: 'CustomerTransactionId', + values: { TransactionNumber: 'CM-42', BillToCustomerName: 'Example customer' }, + label: 'CM-42 — Example customer', + }, + { + key: 'oracleFusionFinancials.receivablesReceipts', + path: 'standardReceipts', + idField: 'StandardReceiptId', + values: { ReceiptNumber: 'RCPT-42', CustomerName: 'Example customer' }, + label: 'RCPT-42 — Example customer', + }, + { + key: 'oracleFusionFinancials.receivablesCustomerAccounts', + path: 'receivablesCustomerAccountActivities', + idField: 'AccountId', + values: { AccountNumber: 'ACCT-42', CustomerName: 'Example customer' }, + label: 'ACCT-42 — Example customer', + }, + { + key: 'oracleFusionFinancials.receivablesCustomerAccountSites', + path: 'receivablesCustomerAccountSiteActivities', + idField: 'BillToSiteUseId', + values: { BillToSiteNumber: 'SITE-42', CustomerName: 'Example customer' }, + label: 'SITE-42 — Example customer', + }, + ] as const)( + 'round-trips $key using exact IDs, modern links, and safe options', + async (resource) => { + const selected = oracleFusionFinancialsSelectorAttachments[resource.key] + const id = '9007199254740993' + const providerItem = { + ...resource.values, + [resource.idField]: id, + '@context': { + links: [ + { + rel: 'self', + href: `${ORIGIN}/fscmRestApi/resources/11.13.18.05/${resource.path}/${id}`, + }, + ], + }, + BankAccountNumber: 'excluded-bank-data', + accessToken: 'excluded-secret', + } + mocks.request + .mockResolvedValueOnce({ + items: [providerItem], + count: 1, + hasMore: true, + limit: 50, + offset: 50, + totalResults: 0, + }) + .mockResolvedValueOnce(providerItem) + const requestArgs = { ...args({ kind: 'list', cursor: '50' }), selectorKey: resource.key } + if (selected.destination === 'fixed') throw new Error('Expected credential-bound destination') + const destination = await selected.destination.prepare(requestArgs) + const listed = await selected.execute(requestArgs, destination) + expect(listed).toEqual({ + kind: 'list', + items: [{ id, label: resource.label }], + nextCursor: '51', + }) + const detail = await selected.execute( + { + ...args({ kind: 'detail', id }), + selectorKey: resource.key, + }, + destination + ) + expect(detail).toEqual({ kind: 'detail', item: { id, label: resource.label } }) + expect(JSON.stringify({ listed, detail })).not.toMatch(/excluded|accessToken|@context/) + expect(mocks.request).toHaveBeenCalledTimes(2) + expect(mocks.request).toHaveBeenLastCalledWith( + expect.objectContaining(prepared()), + expect.objectContaining({ + address: { family: 'fscm', relativePath: `${resource.path}/${id}` }, + }), + undefined + ) + mocks.request.mockRejectedValueOnce(new OracleFusionProviderError('not found', 404)) + await expect( + selected.execute( + { + ...args({ kind: 'detail', id }), + selectorKey: resource.key, + }, + destination + ) + ).resolves.toEqual({ kind: 'detail', item: null }) + } + ) + + it('binds only the Oracle Fusion service-account family and resolves its destination', async () => { + expect(attachment.destination).not.toBe('fixed') + if (attachment.destination === 'fixed') throw new Error('Expected a prepared destination') + + await expect(attachment.destination.prepare(args({ kind: 'list' }))).resolves.toEqual( + prepared() + ) + expect(mocks.resolveBundle).toHaveBeenCalledWith( + expect.objectContaining({ providerId: ORACLE_FUSION_SERVICE_ACCOUNT_PROVIDER_ID }) + ) + + await expect( + attachment.destination.prepare(args({ kind: 'list' }, 'netsuite-service-account')) + ).rejects.toMatchObject({ name: 'SelectorConnectionUnavailableError' }) + expect(mocks.resolveBundle).toHaveBeenCalledTimes(1) + }) + + it('omits a ledger with a documented null ID without losing the provider page position', async () => { + const selected = oracleFusionFinancialsSelectorAttachments['oracleFusionFinancials.glLedgers'] + mocks.request.mockResolvedValueOnce({ + items: [{ LedgerId: null, Name: 'Unavailable ledger' }], + count: 1, + hasMore: true, + limit: 50, + offset: 50, + }) + const result = await selected.execute( + { ...args({ kind: 'list', cursor: '50' }), selectorKey: 'oracleFusionFinancials.glLedgers' }, + prepared() + ) + expect(result).toEqual({ kind: 'list', items: [], nextCursor: '51' }) + }) + + it('round-trips an opaque expense report selection without using its numeric report ID as the key', async () => { + const selected = + oracleFusionFinancialsSelectorAttachments['oracleFusionFinancials.expenseReports'] + const id = ' report%2Fkey ' + const providerReport = { + ExpenseReportId: '9007199254740993', + ExpenseReportNumber: 'EXP-42', + Purpose: 'Business travel', + '@context': { + links: [ + { + rel: 'self', + href: `${ORIGIN}/fscmRestApi/resources/11.13.18.05/expenseReports/%20report%252Fkey%20`, + }, + ], + }, + accessToken: 'excluded-secret', + } + mocks.request + .mockResolvedValueOnce({ + items: [providerReport], + count: 1, + hasMore: false, + limit: 50, + offset: 0, + }) + .mockResolvedValueOnce(providerReport) + const list = await selected.execute( + { + ...args({ kind: 'list' }), + selectorKey: 'oracleFusionFinancials.expenseReports', + }, + prepared() + ) + expect(list).toEqual({ + kind: 'list', + items: [{ id, label: 'EXP-42 — Business travel' }], + }) + const detail = await selected.execute( + { + ...args({ kind: 'detail', id }), + selectorKey: 'oracleFusionFinancials.expenseReports', + }, + prepared() + ) + expect(detail).toEqual({ + kind: 'detail', + item: { id, label: 'EXP-42 — Business travel' }, + }) + expect(JSON.stringify({ list, detail })).not.toMatch(/excluded|accessToken|@context/) + }) + + it('loads exactly one ordered 50-invoice page and emits a safe next offset', async () => { + mocks.request.mockResolvedValue({ + items: [invoice('OPAQUE-1')], + count: 1, + hasMore: true, + limit: 50, + offset: 100, + }) + + await expect( + attachment.execute(args({ kind: 'list', cursor: '100' }), prepared()) + ).resolves.toEqual({ + kind: 'list', + items: [ + { + id: 'OPAQUE-1', + label: 'INV-100 — Acme', + meta: { + amount: 125.5, + currency: 'USD', + date: '2026-09-01', + status: 'Unpaid', + }, + }, + ], + nextCursor: '101', + }) + expect(mocks.request).toHaveBeenCalledTimes(1) + expect(mocks.request).toHaveBeenCalledWith( + expect.objectContaining(prepared()), + { + address: { family: 'fscm', relativePath: 'invoices' }, + query: expect.objectContaining({ + fields: ORACLE_FUSION_INVOICE_FIELDS.join(','), + links: 'self', + orderBy: 'InvoiceDate:desc', + limit: 50, + offset: 100, + }), + }, + undefined + ) + }) + + it('hydrates one invoice by its opaque key with the same fixed projection', async () => { + mocks.request.mockResolvedValue(invoice('opaque key')) + + const result = await attachment.execute(args({ kind: 'detail', id: 'opaque key' }), prepared()) + expect(result).toMatchObject({ + kind: 'detail', + item: { id: 'opaque key', label: 'INV-100 — Acme' }, + }) + expect(mocks.request).toHaveBeenCalledWith( + expect.objectContaining(prepared()), + { + address: { family: 'fscm', relativePath: 'invoices/opaque%20key' }, + query: { fields: ORACLE_FUSION_INVOICE_FIELDS.join(','), links: 'self' }, + }, + undefined + ) + }) + + it.each(['.', '..'])( + 'rejects URL-normalizing invoice detail key %j before outbound I/O', + async (id) => { + await expect( + attachment.execute(args({ kind: 'detail', id }), prepared()) + ).rejects.toMatchObject({ name: 'SelectorContextUnavailableError' }) + expect(mocks.request).not.toHaveBeenCalled() + } + ) + + it('rejects search, malformed cursors, incoherent pages, and cross-origin links', async () => { + await expect( + attachment.execute(args({ kind: 'list', search: 'Acme' }), prepared()) + ).rejects.toMatchObject({ name: 'SelectorContextUnavailableError' }) + await expect( + attachment.execute(args({ kind: 'list', cursor: '-1' }), prepared()) + ).rejects.toMatchObject({ name: 'SelectorContextUnavailableError' }) + + mocks.request + .mockResolvedValueOnce({ items: [], count: 0, hasMore: true, limit: 50, offset: 0 }) + .mockResolvedValueOnce({ + items: [ + invoice('OPAQUE-1', { + links: [ + { + rel: 'self', + href: 'https://attacker.example/fscmRestApi/resources/11.13.18.05/invoices/X', + }, + ], + }), + ], + count: 1, + hasMore: false, + limit: 50, + offset: 0, + }) + await expect(attachment.execute(args({ kind: 'list' }), prepared())).rejects.toMatchObject({ + name: 'SelectorOptionsUnavailableError', + }) + await expect(attachment.execute(args({ kind: 'list' }), prepared())).rejects.toMatchObject({ + name: 'SelectorOptionsUnavailableError', + }) + }) + + it('maps provider failures without exposing Oracle response details', async () => { + mocks.request.mockRejectedValue(new OracleFusionProviderError('provider-secret-canary', 401)) + const authenticationError = await attachment + .execute(args({ kind: 'list' }), prepared()) + .catch((error) => error) + expect(authenticationError).toMatchObject({ + name: 'SelectorConnectionUnavailableError', + message: 'Connection unavailable', + status: 401, + }) + expect((authenticationError as Error).message).not.toContain('provider-secret-canary') + + mocks.request.mockRejectedValue(new OracleFusionProviderError('provider-secret-canary', 404)) + await expect( + attachment.execute(args({ kind: 'detail', id: 'OPAQUE-1' }), prepared()) + ).resolves.toEqual({ kind: 'detail', item: null }) + }) + it('round-trips a v9 invoice selection through the real Financials and foundation helpers', async () => { + const id = ' invoice%2Fkey ' + const { links, ...values } = invoice(id) + const providerInvoice = { + ...values, + InvoiceId: '9007199254740993', + '@context': { key: 'do-not-trust-this-key', links, private: 'context-secret' }, + accessToken: 'provider-secret', + attachments: [{ body: 'unprojected' }], + } + mocks.request + .mockResolvedValueOnce({ + items: [providerInvoice], + count: 1, + hasMore: false, + limit: 50, + offset: 0, + }) + .mockResolvedValueOnce(providerInvoice) + + const list = await attachment.execute(args({ kind: 'list' }), prepared()) + if (list.kind !== 'list') throw new Error('Expected invoice options') + const selectedId = list.items[0]?.id + expect(selectedId).toBe(id) + const detail = await attachment.execute(args({ kind: 'detail', id: selectedId! }), prepared()) + expect(detail).toEqual({ kind: 'detail', item: list.items[0] }) + expect(mocks.request).toHaveBeenLastCalledWith( + expect.objectContaining(prepared()), + { + address: { family: 'fscm', relativePath: 'invoices/%20invoice%252Fkey%20' }, + query: { fields: ORACLE_FUSION_INVOICE_FIELDS.join(','), links: 'self' }, + }, + undefined + ) + expect(JSON.stringify({ list, detail })).not.toMatch(/secret|accessToken|attachments|@context/) + }) + + it('uses the credential destination even when unrelated context supplies another URL', async () => { + const requestArgs = args({ kind: 'list' }) + Object.assign(requestArgs.context, { instanceUrl: 'https://attacker.example' }) + if (attachment.destination === 'fixed') throw new Error('Expected credential destination') + const destination = await attachment.destination.prepare(requestArgs) + mocks.request.mockResolvedValue({ + items: [], + count: 0, + hasMore: false, + limit: 50, + offset: 0, + }) + await attachment.execute(requestArgs, destination) + expect(mocks.request).toHaveBeenCalledWith( + expect.objectContaining({ instanceUrl: ORIGIN }), + expect.any(Object), + undefined + ) + }) + + it('preserves cancellation instead of converting it into a selector failure', async () => { + const controller = new AbortController() + const requestArgs = { ...args({ kind: 'list' }), signal: controller.signal } + const reason = new Error('cancelled') + mocks.request.mockImplementationOnce(() => { + controller.abort(reason) + throw reason + }) + await expect(attachment.execute(requestArgs, prepared())).rejects.toBe(reason) + }) +}) diff --git a/apps/sim/lib/selectors/server/providers/oracle-fusion-financials.ts b/apps/sim/lib/selectors/server/providers/oracle-fusion-financials.ts new file mode 100644 index 00000000000..d2593d92a6f --- /dev/null +++ b/apps/sim/lib/selectors/server/providers/oracle-fusion-financials.ts @@ -0,0 +1,376 @@ +import { ZodError } from 'zod' +import { ORACLE_FUSION_SERVICE_ACCOUNT_PROVIDER_ID } from '@/lib/credentials/client-credential-accounts/descriptors' +import { OracleFusionProviderError } from '@/lib/internal/oracle-fusion/errors' +import { + getOracleFusionExpenseReport, + getOracleFusionGlJournalBatch, + getOracleFusionGlLedger, + getOracleFusionInvoice, + getOracleFusionReceivablesCreditMemo, + getOracleFusionReceivablesCustomerAccount, + getOracleFusionReceivablesCustomerAccountSite, + getOracleFusionReceivablesInvoice, + getOracleFusionReceivablesReceipt, + listOracleFusionExpenseReports, + listOracleFusionGlJournalBatches, + listOracleFusionGlLedgers, + listOracleFusionInvoices, + listOracleFusionReceivablesCreditMemos, + listOracleFusionReceivablesCustomerAccountSites, + listOracleFusionReceivablesCustomerAccounts, + listOracleFusionReceivablesInvoices, + listOracleFusionReceivablesReceipts, +} from '@/lib/internal/oracle-fusion-financials/operations' +import { oracleFusionInvoiceSchema } from '@/lib/internal/oracle-fusion-financials/schema' +import type { ServerSelectorKey } from '@/lib/selectors/manifest' +import { + SelectorConnectionUnavailableError, + SelectorContextUnavailableError, + SelectorOptionsUnavailableError, +} from '@/lib/selectors/server/errors' +import { resolveSelectorCredentialBundle } from '@/lib/selectors/server/providers/credential-bundle' +import { selectorProviderStatusError } from '@/lib/selectors/server/providers/provider-http' +import type { + ExecuteServerSelectorArgs, + ServerSelectorAttachmentMap, +} from '@/lib/selectors/server/types' +import { + definePreparedSelectorAttachment, + detailSelectorResult, + listSelectorResult, +} from '@/lib/selectors/server/types' +import type { SafeOptionMeta, SafeSelectorOption } from '@/lib/selectors/types' + +type OracleFusionFinancialsSelectorKey = Extract< + ServerSelectorKey, + | 'oracleFusionFinancials.glLedgers' + | 'oracleFusionFinancials.glJournalBatches' + | 'oracleFusionFinancials.invoices' + | 'oracleFusionFinancials.expenseReports' + | 'oracleFusionFinancials.receivablesInvoices' + | 'oracleFusionFinancials.receivablesCreditMemos' + | 'oracleFusionFinancials.receivablesReceipts' + | 'oracleFusionFinancials.receivablesCustomerAccounts' + | 'oracleFusionFinancials.receivablesCustomerAccountSites' +> + +interface PreparedOracleFusionDestination { + oauthCredential: string + accessToken: string + instanceUrl: string +} + +const INVOICE_PAGE_SIZE = 50 + +function parseOffset(cursor: string | undefined): number { + if (cursor === undefined) return 0 + if (!/^(0|[1-9]\d*)$/.test(cursor)) throw new SelectorContextUnavailableError() + const offset = Number(cursor) + if (!Number.isSafeInteger(offset)) throw new SelectorContextUnavailableError() + return offset +} + +function invoiceOption(value: unknown, expectedId?: string): SafeSelectorOption { + const invoice = oracleFusionInvoiceSchema.parse(value) + const id = invoice.invoiceUniqId + if (typeof id !== 'string' || !id) throw new SelectorOptionsUnavailableError() + if (expectedId !== undefined && id !== expectedId) throw new SelectorOptionsUnavailableError() + + const number = typeof invoice.InvoiceNumber === 'string' ? invoice.InvoiceNumber.trim() : '' + const supplier = typeof invoice.Supplier === 'string' ? invoice.Supplier.trim() : '' + const label = number && supplier ? `${number} — ${supplier}` : number || supplier || id + const meta: SafeOptionMeta = {} + if (invoice.InvoiceAmount !== undefined) meta.amount = invoice.InvoiceAmount + if (invoice.InvoiceCurrency !== undefined) meta.currency = invoice.InvoiceCurrency + if (invoice.InvoiceDate !== undefined) meta.date = invoice.InvoiceDate + if (invoice.PaidStatus !== undefined) meta.status = invoice.PaidStatus + return { id, label, ...(Object.keys(meta).length ? { meta } : {}) } +} + +async function prepareOracleFusionDestination( + args: ExecuteServerSelectorArgs +): Promise { + if ( + !args.credential?.access?.resolvedCredentialId || + args.credential.providerId !== ORACLE_FUSION_SERVICE_ACCOUNT_PROVIDER_ID + ) { + throw new SelectorConnectionUnavailableError() + } + const bundle = await resolveSelectorCredentialBundle({ + credential: args.credential, + protectedValues: args.protectedValues, + recordCredentialUse: args.recordCredentialUse, + providerId: ORACLE_FUSION_SERVICE_ACCOUNT_PROVIDER_ID, + }) + if (!bundle.accessToken || !bundle.instanceUrl) throw new SelectorConnectionUnavailableError() + return { + oauthCredential: args.credential.access.resolvedCredentialId, + accessToken: bundle.accessToken, + instanceUrl: bundle.instanceUrl, + } +} + +function mapProviderError(error: unknown): never { + if (error instanceof OracleFusionProviderError) { + throw selectorProviderStatusError(error.status) + } + if (error instanceof SelectorContextUnavailableError) throw error + if (error instanceof SelectorConnectionUnavailableError) throw error + if (error instanceof SelectorOptionsUnavailableError) throw error + throw new SelectorOptionsUnavailableError() +} + +async function listInvoices( + args: ExecuteServerSelectorArgs, + auth: PreparedOracleFusionDestination +) { + if (args.request.kind !== 'list') throw new SelectorContextUnavailableError() + if (args.request.search?.trim()) throw new SelectorContextUnavailableError() + const offset = parseOffset(args.request.cursor) + try { + const { output: payload } = await listOracleFusionInvoices( + { ...auth, orderBy: 'InvoiceDate:desc', limit: INVOICE_PAGE_SIZE, offset }, + args.signal + ) + return listSelectorResult( + payload.items.map((item) => invoiceOption(item)), + payload.hasMore ? String(payload.offset + payload.count) : undefined + ) + } catch (error) { + if (args.signal?.aborted) throw error + mapProviderError(error) + } +} + +async function getInvoice(args: ExecuteServerSelectorArgs, auth: PreparedOracleFusionDestination) { + if (args.request.kind !== 'detail') throw new SelectorContextUnavailableError() + const id = args.request.id + try { + const { output } = await getOracleFusionInvoice({ ...auth, invoiceUniqId: id }, args.signal) + return detailSelectorResult(invoiceOption(output.invoice, id)) + } catch (error) { + if (args.signal?.aborted) throw error + if (error instanceof ZodError) throw new SelectorContextUnavailableError() + if (error instanceof OracleFusionProviderError && error.status === 404) { + return detailSelectorResult(null) + } + mapProviderError(error) + } +} + +const financialsResourceSelectors = { + glLedgers: { + list: listOracleFusionGlLedgers, + get: getOracleFusionGlLedger, + inputId: 'glLedgerId', + outputId: 'LedgerId', + wrapper: 'glLedger', + labels: ['Name', 'CurrencyCode'], + }, + glJournalBatches: { + list: listOracleFusionGlJournalBatches, + get: getOracleFusionGlJournalBatch, + inputId: 'glJournalBatchId', + outputId: 'JeBatchId', + wrapper: 'glJournalBatch', + labels: ['BatchName', 'DefaultPeriodName'], + }, + expenseReports: { + list: listOracleFusionExpenseReports, + get: getOracleFusionExpenseReport, + inputId: 'expenseReportUniqId', + outputId: 'expenseReportUniqId', + wrapper: 'expenseReport', + labels: ['ExpenseReportNumber', 'Purpose'], + }, + receivablesInvoices: { + list: listOracleFusionReceivablesInvoices, + get: getOracleFusionReceivablesInvoice, + inputId: 'receivablesInvoiceId', + outputId: 'CustomerTransactionId', + wrapper: 'receivablesInvoice', + labels: ['TransactionNumber', 'BillToCustomerName'], + }, + receivablesCreditMemos: { + list: listOracleFusionReceivablesCreditMemos, + get: getOracleFusionReceivablesCreditMemo, + inputId: 'receivablesCreditMemoId', + outputId: 'CustomerTransactionId', + wrapper: 'receivablesCreditMemo', + labels: ['TransactionNumber', 'BillToCustomerName'], + }, + receivablesReceipts: { + list: listOracleFusionReceivablesReceipts, + get: getOracleFusionReceivablesReceipt, + inputId: 'receivablesReceiptId', + outputId: 'StandardReceiptId', + wrapper: 'receivablesReceipt', + labels: ['ReceiptNumber', 'CustomerName'], + }, + receivablesCustomerAccounts: { + list: listOracleFusionReceivablesCustomerAccounts, + get: getOracleFusionReceivablesCustomerAccount, + inputId: 'receivablesCustomerAccountId', + outputId: 'AccountId', + wrapper: 'receivablesCustomerAccount', + labels: ['AccountNumber', 'CustomerName'], + }, + receivablesCustomerAccountSites: { + list: listOracleFusionReceivablesCustomerAccountSites, + get: getOracleFusionReceivablesCustomerAccountSite, + inputId: 'receivablesCustomerAccountSiteId', + outputId: 'BillToSiteUseId', + wrapper: 'receivablesCustomerAccountSite', + labels: ['BillToSiteNumber', 'CustomerName'], + }, +} as const + +type FinancialsResourceSelector = + (typeof financialsResourceSelectors)[keyof typeof financialsResourceSelectors] + +function resourceOption( + item: Record, + selector: FinancialsResourceSelector, + expectedId?: string +): SafeSelectorOption { + const id = item[selector.outputId] + if (typeof id !== 'string' || !id) throw new SelectorOptionsUnavailableError() + if (expectedId !== undefined && id !== expectedId) throw new SelectorOptionsUnavailableError() + const labels = selector.labels.flatMap((field) => { + const value = item[field] + return typeof value === 'string' && value.trim() ? [value.trim()] : [] + }) + return { id, label: labels.join(' — ') || id } +} + +async function executeFinancialsResourceSelector( + selector: FinancialsResourceSelector, + args: ExecuteServerSelectorArgs, + auth: PreparedOracleFusionDestination +) { + try { + if (args.request.kind === 'detail') { + const id = args.request.id + const { output } = await selector.get({ ...auth, [selector.inputId]: id }, args.signal) + return detailSelectorResult(resourceOption(output[selector.wrapper], selector, id)) + } + if (args.request.search?.trim()) throw new SelectorContextUnavailableError() + const { output } = await selector.list( + { + ...auth, + limit: INVOICE_PAGE_SIZE, + offset: parseOffset(args.request.cursor), + }, + args.signal + ) + return listSelectorResult( + output.items.flatMap((item) => + item[selector.outputId] === null ? [] : [resourceOption(item, selector)] + ), + output.hasMore ? String(output.offset + output.count) : undefined + ) + } catch (error) { + if (args.signal?.aborted) throw error + if (error instanceof ZodError) throw new SelectorContextUnavailableError() + if ( + args.request.kind === 'detail' && + error instanceof OracleFusionProviderError && + error.status === 404 + ) { + return detailSelectorResult(null) + } + mapProviderError(error) + } +} + +const credential = { + kind: 'stored', + field: 'oauthCredential', + serviceIds: ['oracle_fusion_financials'], +} as const + +export const oracleFusionFinancialsSelectorAttachments = { + 'oracleFusionFinancials.glLedgers': definePreparedSelectorAttachment({ + credential, + integrationBlockTypes: ['oracle_fusion_financials'], + destination: { kind: 'credential-bound', prepare: prepareOracleFusionDestination }, + execute: (args, auth) => + executeFinancialsResourceSelector(financialsResourceSelectors.glLedgers, args, auth), + }), + 'oracleFusionFinancials.glJournalBatches': definePreparedSelectorAttachment({ + credential, + integrationBlockTypes: ['oracle_fusion_financials'], + destination: { kind: 'credential-bound', prepare: prepareOracleFusionDestination }, + execute: (args, auth) => + executeFinancialsResourceSelector(financialsResourceSelectors.glJournalBatches, args, auth), + }), + 'oracleFusionFinancials.expenseReports': definePreparedSelectorAttachment({ + credential, + integrationBlockTypes: ['oracle_fusion_financials'], + destination: { kind: 'credential-bound', prepare: prepareOracleFusionDestination }, + execute: (args, auth) => + executeFinancialsResourceSelector(financialsResourceSelectors.expenseReports, args, auth), + }), + 'oracleFusionFinancials.receivablesInvoices': definePreparedSelectorAttachment({ + credential, + integrationBlockTypes: ['oracle_fusion_financials'], + destination: { kind: 'credential-bound', prepare: prepareOracleFusionDestination }, + execute: (args, auth) => + executeFinancialsResourceSelector( + financialsResourceSelectors.receivablesInvoices, + args, + auth + ), + }), + 'oracleFusionFinancials.receivablesCreditMemos': definePreparedSelectorAttachment({ + credential, + integrationBlockTypes: ['oracle_fusion_financials'], + destination: { kind: 'credential-bound', prepare: prepareOracleFusionDestination }, + execute: (args, auth) => + executeFinancialsResourceSelector( + financialsResourceSelectors.receivablesCreditMemos, + args, + auth + ), + }), + 'oracleFusionFinancials.receivablesReceipts': definePreparedSelectorAttachment({ + credential, + integrationBlockTypes: ['oracle_fusion_financials'], + destination: { kind: 'credential-bound', prepare: prepareOracleFusionDestination }, + execute: (args, auth) => + executeFinancialsResourceSelector( + financialsResourceSelectors.receivablesReceipts, + args, + auth + ), + }), + 'oracleFusionFinancials.receivablesCustomerAccounts': definePreparedSelectorAttachment({ + credential, + integrationBlockTypes: ['oracle_fusion_financials'], + destination: { kind: 'credential-bound', prepare: prepareOracleFusionDestination }, + execute: (args, auth) => + executeFinancialsResourceSelector( + financialsResourceSelectors.receivablesCustomerAccounts, + args, + auth + ), + }), + 'oracleFusionFinancials.receivablesCustomerAccountSites': definePreparedSelectorAttachment({ + credential, + integrationBlockTypes: ['oracle_fusion_financials'], + destination: { kind: 'credential-bound', prepare: prepareOracleFusionDestination }, + execute: (args, auth) => + executeFinancialsResourceSelector( + financialsResourceSelectors.receivablesCustomerAccountSites, + args, + auth + ), + }), + 'oracleFusionFinancials.invoices': definePreparedSelectorAttachment({ + credential, + integrationBlockTypes: ['oracle_fusion_financials'], + destination: { kind: 'credential-bound', prepare: prepareOracleFusionDestination }, + execute: (args, auth) => + args.request.kind === 'detail' ? getInvoice(args, auth) : listInvoices(args, auth), + }), +} satisfies ServerSelectorAttachmentMap diff --git a/apps/sim/lib/selectors/server/registry.ts b/apps/sim/lib/selectors/server/registry.ts index ef9a815f1af..d1974d337b0 100644 --- a/apps/sim/lib/selectors/server/registry.ts +++ b/apps/sim/lib/selectors/server/registry.ts @@ -21,6 +21,7 @@ import { microsoftSelectorAttachments } from '@/lib/selectors/server/providers/m import { mondaySelectorAttachments } from '@/lib/selectors/server/providers/monday' import { netsuiteSelectorAttachments } from '@/lib/selectors/server/providers/netsuite' import { notionSelectorAttachments } from '@/lib/selectors/server/providers/notion' +import { oracleFusionFinancialsSelectorAttachments } from '@/lib/selectors/server/providers/oracle-fusion-financials' import { pipedriveSelectorAttachments } from '@/lib/selectors/server/providers/pipedrive' import { sharepointSelectorAttachments } from '@/lib/selectors/server/providers/sharepoint' import { slackSelectorAttachments } from '@/lib/selectors/server/providers/slack' @@ -55,6 +56,7 @@ export const serverSelectorRegistry = { ...mondaySelectorAttachments, ...netsuiteSelectorAttachments, ...notionSelectorAttachments, + ...oracleFusionFinancialsSelectorAttachments, ...pipedriveSelectorAttachments, ...sharepointSelectorAttachments, ...slackSelectorAttachments, diff --git a/apps/sim/tools/generated/tool-ids.ts b/apps/sim/tools/generated/tool-ids.ts index 57668ac7738..a7c834d71e9 100644 --- a/apps/sim/tools/generated/tool-ids.ts +++ b/apps/sim/tools/generated/tool-ids.ts @@ -3,7 +3,7 @@ /** Every registered tool id, including versioned variants. */ const toolIds: string[] = JSON.parse( - '["a2a_cancel_task","a2a_get_agent_card","a2a_get_task","a2a_send_message","affinity_batch_update_entity_fields","affinity_batch_update_list_entry_fields","affinity_create_list","affinity_create_list_field_dropdown_option","affinity_create_merge","affinity_create_note","affinity_create_reminder","affinity_delete_list_field_dropdown_option","affinity_delete_note","affinity_get_company","affinity_get_current_user","affinity_get_entity_field_value","affinity_get_list","affinity_get_list_entry","affinity_get_list_entry_field","affinity_get_list_field_dropdown_option","affinity_get_merge","affinity_get_merge_task","affinity_get_note","affinity_get_opportunity","affinity_get_person","affinity_get_saved_view","affinity_get_transcript","affinity_get_user","affinity_list_calls","affinity_list_chat_messages","affinity_list_companies","affinity_list_coworker_connections","affinity_list_emails","affinity_list_entity_field_values","affinity_list_entity_list_entries","affinity_list_entity_lists","affinity_list_entity_notes","affinity_list_entity_relationships","affinity_list_field_dropdown_options","affinity_list_field_metadata","affinity_list_field_value_changes","affinity_list_investor_executive_connections","affinity_list_list_entries","affinity_list_list_entry_field_value_changes","affinity_list_list_entry_fields","affinity_list_list_field_dropdown_options","affinity_list_list_fields","affinity_list_lists","affinity_list_meetings","affinity_list_merge_tasks","affinity_list_merges","affinity_list_note_attached_companies","affinity_list_note_attached_opportunities","affinity_list_note_attached_persons","affinity_list_note_replies","affinity_list_notes","affinity_list_opportunities","affinity_list_persons","affinity_list_reminders","affinity_list_saved_view_entries","affinity_list_saved_views","affinity_list_transcript_fragments","affinity_list_transcripts","affinity_list_users","affinity_search_companies","affinity_search_files","affinity_search_list_entries","affinity_search_notes","affinity_search_persons","affinity_semantic_search","affinity_update_entity_field_value","affinity_update_list_entry_field","affinity_update_list_field_dropdown_option","affinity_update_note","agentmail_create_draft","agentmail_create_inbox","agentmail_delete_draft","agentmail_delete_inbox","agentmail_delete_thread","agentmail_forward_message","agentmail_get_draft","agentmail_get_inbox","agentmail_get_message","agentmail_get_thread","agentmail_list_drafts","agentmail_list_inboxes","agentmail_list_messages","agentmail_list_threads","agentmail_reply_message","agentmail_send_draft","agentmail_send_message","agentmail_update_draft","agentmail_update_inbox","agentmail_update_message","agentmail_update_thread","agentphone_create_call","agentphone_create_contact","agentphone_create_number","agentphone_delete_contact","agentphone_get_call","agentphone_get_call_transcript","agentphone_get_contact","agentphone_get_conversation","agentphone_get_conversation_messages","agentphone_get_number_messages","agentphone_get_usage","agentphone_get_usage_daily","agentphone_get_usage_monthly","agentphone_list_calls","agentphone_list_contacts","agentphone_list_conversations","agentphone_list_numbers","agentphone_react_to_message","agentphone_release_number","agentphone_send_message","agentphone_update_contact","agentphone_update_conversation","agiloft_async_status","agiloft_attach_file","agiloft_attachment_info","agiloft_create_record","agiloft_delete_record","agiloft_get_choice_line_id","agiloft_list_tables","agiloft_lock_record","agiloft_nlp_search","agiloft_read_record","agiloft_remove_attachment","agiloft_retrieve_attachment","agiloft_run_action_button","agiloft_saved_search","agiloft_search_records","agiloft_select_records","agiloft_update_record","agiloft_upsert_record","ahrefs_anchors","ahrefs_backlinks","ahrefs_backlinks_stats","ahrefs_batch_analysis","ahrefs_broken_backlinks","ahrefs_domain_rating","ahrefs_domain_rating_history","ahrefs_keyword_overview","ahrefs_keywords_history","ahrefs_metrics","ahrefs_metrics_history","ahrefs_organic_competitors","ahrefs_organic_keywords","ahrefs_paid_pages","ahrefs_rank_tracker_competitors_overview","ahrefs_rank_tracker_competitors_stats","ahrefs_rank_tracker_overview","ahrefs_rank_tracker_serp_overview","ahrefs_refdomains_history","ahrefs_referring_domains","ahrefs_related_terms","ahrefs_site_audit_page_explorer","ahrefs_top_pages","airtable_create_records","airtable_delete_records","airtable_get_base_schema","airtable_get_record","airtable_list_bases","airtable_list_records","airtable_list_tables","airtable_update_multiple_records","airtable_update_record","airtable_upsert_records","airweave_search","algolia_add_record","algolia_batch_operations","algolia_browse_records","algolia_clear_records","algolia_copy_move_index","algolia_delete_by_filter","algolia_delete_index","algolia_delete_record","algolia_get_record","algolia_get_records","algolia_get_settings","algolia_get_task_status","algolia_list_indices","algolia_partial_update_record","algolia_search","algolia_update_settings","amplitude_event_segmentation","amplitude_funnels","amplitude_get_active_users","amplitude_get_revenue","amplitude_group_identify","amplitude_identify_user","amplitude_list_events","amplitude_realtime_active_users","amplitude_retention","amplitude_send_event","amplitude_user_activity","amplitude_user_profile","amplitude_user_search","apify_get_dataset_items","apify_get_run","apify_run_actor_async","apify_run_actor_sync","apify_run_task","apollo_account_bulk_create","apollo_account_bulk_update","apollo_account_create","apollo_account_search","apollo_account_update","apollo_contact_bulk_create","apollo_contact_bulk_update","apollo_contact_create","apollo_contact_search","apollo_contact_update","apollo_email_accounts","apollo_opportunity_create","apollo_opportunity_get","apollo_opportunity_search","apollo_opportunity_update","apollo_organization_bulk_enrich","apollo_organization_enrich","apollo_organization_search","apollo_people_bulk_enrich","apollo_people_enrich","apollo_people_search","apollo_sequence_add_contacts","apollo_sequence_search","apollo_task_create","apollo_task_search","appconfig_create_application","appconfig_create_configuration_profile","appconfig_create_environment","appconfig_create_hosted_configuration_version","appconfig_delete_application","appconfig_delete_configuration_profile","appconfig_delete_environment","appconfig_delete_hosted_configuration_version","appconfig_get_application","appconfig_get_configuration","appconfig_get_configuration_profile","appconfig_get_deployment","appconfig_get_environment","appconfig_get_hosted_configuration_version","appconfig_list_applications","appconfig_list_configuration_profiles","appconfig_list_deployment_strategies","appconfig_list_deployments","appconfig_list_environments","appconfig_list_hosted_configuration_versions","appconfig_start_deployment","appconfig_stop_deployment","appconfig_update_application","appconfig_update_configuration_profile","appconfig_update_environment","arxiv_get_author_papers","arxiv_get_paper","arxiv_search","asana_add_comment","asana_add_followers","asana_create_project","asana_create_section","asana_create_subtask","asana_create_task","asana_delete_task","asana_get_project","asana_get_projects","asana_get_task","asana_list_sections","asana_list_workspaces","asana_search_tasks","asana_update_task","ashby_add_candidate_tag","ashby_anonymize_candidate","ashby_change_application_source","ashby_change_application_stage","ashby_create_application","ashby_create_candidate","ashby_create_note","ashby_delete_application","ashby_get_application","ashby_get_candidate","ashby_get_job","ashby_get_job_posting","ashby_get_offer","ashby_get_opening","ashby_list_application_feedback","ashby_list_application_history","ashby_list_applications","ashby_list_archive_reasons","ashby_list_candidate_tags","ashby_list_candidates","ashby_list_custom_fields","ashby_list_departments","ashby_list_interview_plans","ashby_list_interview_stages","ashby_list_interviews","ashby_list_job_postings","ashby_list_jobs","ashby_list_locations","ashby_list_notes","ashby_list_offers","ashby_list_openings","ashby_list_sources","ashby_list_users","ashby_remove_candidate_tag","ashby_search_candidates","ashby_search_jobs","ashby_search_openings","ashby_search_users","ashby_set_custom_field_value","ashby_set_custom_field_values","ashby_transfer_application","ashby_update_candidate","ashby_upload_candidate_file","ashby_upload_resume","athena_batch_get_query_execution","athena_create_named_query","athena_delete_named_query","athena_get_named_query","athena_get_query_execution","athena_get_query_results","athena_list_databases","athena_list_named_queries","athena_list_query_executions","athena_list_table_metadata","athena_start_query","athena_stop_query","attio_assert_record","attio_create_attribute","attio_create_comment","attio_create_list","attio_create_list_entry","attio_create_note","attio_create_object","attio_create_record","attio_create_task","attio_create_webhook","attio_delete_comment","attio_delete_list_entry","attio_delete_note","attio_delete_record","attio_delete_task","attio_delete_webhook","attio_get_attribute","attio_get_comment","attio_get_list","attio_get_list_entry","attio_get_member","attio_get_note","attio_get_object","attio_get_record","attio_get_task","attio_get_thread","attio_get_webhook","attio_list_attributes","attio_list_lists","attio_list_members","attio_list_notes","attio_list_objects","attio_list_records","attio_list_tasks","attio_list_threads","attio_list_webhooks","attio_query_list_entries","attio_search_records","attio_update_attribute","attio_update_list","attio_update_list_entry","attio_update_object","attio_update_record","attio_update_task","attio_update_webhook","azure_data_explorer_create_table","azure_data_explorer_drop_table","azure_data_explorer_ingest_from_query","azure_data_explorer_ingest_inline","azure_data_explorer_list_databases","azure_data_explorer_list_functions","azure_data_explorer_list_tables","azure_data_explorer_management","azure_data_explorer_query","azure_data_explorer_show_database_schema","azure_data_explorer_show_ingestion_failures","azure_data_explorer_show_operations","azure_data_explorer_show_table_details","azure_data_explorer_show_table_schema","azure_devops_add_comment","azure_devops_create_work_item","azure_devops_get_build_log","azure_devops_get_build_timeline","azure_devops_get_comments","azure_devops_get_pipeline","azure_devops_get_pipeline_run","azure_devops_get_work_item","azure_devops_get_work_items_batch","azure_devops_get_work_items_between_builds","azure_devops_list_build_logs","azure_devops_list_builds","azure_devops_list_pipeline_runs","azure_devops_list_pipelines","azure_devops_query_work_items","azure_devops_update_work_item","bitbucket_approve_pull_request","bitbucket_create_branch","bitbucket_create_pull_request","bitbucket_create_pull_request_comment","bitbucket_decline_pull_request","bitbucket_delete_branch","bitbucket_get_commit","bitbucket_get_file","bitbucket_get_file_metadata","bitbucket_get_pipeline","bitbucket_get_pipeline_step_log","bitbucket_get_pull_request","bitbucket_get_pull_request_diff","bitbucket_get_pull_request_diffstat","bitbucket_get_pull_request_merge_task_status","bitbucket_get_repository","bitbucket_list_branches","bitbucket_list_commits","bitbucket_list_directory","bitbucket_list_pipeline_steps","bitbucket_list_pipelines","bitbucket_list_pull_request_comments","bitbucket_list_pull_request_commit_statuses","bitbucket_list_pull_requests","bitbucket_list_repositories","bitbucket_list_workspaces","bitbucket_merge_pull_request","bitbucket_request_pull_request_changes","bitbucket_stop_pipeline","bitbucket_trigger_pipeline","box_copy_file","box_create_folder","box_delete_file","box_delete_folder","box_download_file","box_get_file_info","box_list_folder_items","box_search","box_sign_cancel_request","box_sign_create_request","box_sign_get_request","box_sign_list_requests","box_sign_resend_request","box_update_file","box_upload_file","brandfetch_get_brand","brandfetch_search","brex_archive_budget","brex_create_budget","brex_create_spend_limit","brex_create_transfer","brex_create_vendor","brex_get_budget","brex_get_cash_account","brex_get_company","brex_get_current_user","brex_get_expense","brex_get_spend_limit","brex_get_transfer","brex_get_user","brex_get_vendor","brex_list_budgets","brex_list_card_accounts","brex_list_card_statements","brex_list_card_transactions","brex_list_cards","brex_list_cash_accounts","brex_list_cash_statements","brex_list_cash_transactions","brex_list_departments","brex_list_expenses","brex_list_locations","brex_list_spend_limits","brex_list_titles","brex_list_transfers","brex_list_users","brex_list_vendors","brex_match_receipt","brex_update_expense","brex_update_vendor","brex_upload_receipt","brightdata_cancel_snapshot","brightdata_discover","brightdata_download_snapshot","brightdata_scrape_dataset","brightdata_scrape_url","brightdata_serp_search","brightdata_snapshot_status","brightdata_sync_scrape","browser_use_run_task","buffer_create_idea","buffer_create_post","buffer_delete_post","buffer_edit_post","buffer_get_account","buffer_get_channels","buffer_get_idea_groups","buffer_get_ideas","buffer_get_post","buffer_get_posts","calcom_cancel_booking","calcom_confirm_booking","calcom_create_booking","calcom_create_event_type","calcom_create_schedule","calcom_decline_booking","calcom_delete_event_type","calcom_delete_schedule","calcom_get_booking","calcom_get_default_schedule","calcom_get_event_type","calcom_get_schedule","calcom_get_slots","calcom_list_bookings","calcom_list_event_types","calcom_list_schedules","calcom_reschedule_booking","calcom_update_event_type","calcom_update_schedule","calendly_cancel_event","calendly_create_event_invitee","calendly_create_invitee_no_show","calendly_create_scheduling_link","calendly_create_webhook","calendly_delete_invitee_no_show","calendly_delete_webhook","calendly_get_current_user","calendly_get_event_invitee","calendly_get_event_type","calendly_get_scheduled_event","calendly_get_user","calendly_list_event_invitees","calendly_list_event_type_available_times","calendly_list_event_types","calendly_list_organization_memberships","calendly_list_routing_form_submissions","calendly_list_routing_forms","calendly_list_scheduled_events","calendly_list_user_availability_schedules","calendly_list_user_busy_times","calendly_list_webhooks","cbinsights_chat","cbinsights_get_commercial_maturity_history","cbinsights_get_exit_probability_history","cbinsights_get_mosaic_history","cbinsights_get_org_business_relationships","cbinsights_get_org_funding_window","cbinsights_get_org_fundings","cbinsights_get_org_investments","cbinsights_get_org_management_and_board","cbinsights_get_org_outlook","cbinsights_get_org_portfolio_exits","cbinsights_get_org_revenue","cbinsights_get_scouting_report","cbinsights_get_strategy_map","cbinsights_list_business_relationships","cbinsights_list_funding_window","cbinsights_list_fundings","cbinsights_list_investments","cbinsights_list_management_and_board","cbinsights_list_outlook","cbinsights_list_portfolio_exits","cbinsights_list_revenue","cbinsights_lookup_organizations","cbinsights_rag","cbinsights_search_firmographics","circleback_add_tag_to_meetings","circleback_create_tag","circleback_delete_action_item","circleback_delete_meeting","circleback_delete_tag","circleback_get_company","circleback_get_meeting","circleback_get_person","circleback_get_transcript","circleback_list_action_items","circleback_list_calendar_events","circleback_list_companies","circleback_list_meetings","circleback_list_people","circleback_list_tags","circleback_remove_tag_from_meetings","circleback_search_meetings","circleback_update_action_item","circleback_update_meeting","circleback_update_tag","clay_populate","clerk_add_organization_member","clerk_ban_user","clerk_create_actor_token","clerk_create_allowlist_identifier","clerk_create_blocklist_identifier","clerk_create_organization","clerk_create_organization_invitation","clerk_create_user","clerk_delete_allowlist_identifier","clerk_delete_blocklist_identifier","clerk_delete_organization","clerk_delete_user","clerk_get_jwt_template","clerk_get_organization","clerk_get_session","clerk_get_user","clerk_get_user_oauth_token","clerk_list_allowlist_identifiers","clerk_list_blocklist_identifiers","clerk_list_jwt_templates","clerk_list_organization_invitations","clerk_list_organization_memberships","clerk_list_organizations","clerk_list_sessions","clerk_list_users","clerk_lock_user","clerk_remove_organization_member","clerk_revoke_actor_token","clerk_revoke_session","clerk_unban_user","clerk_unlock_user","clerk_update_organization","clerk_update_organization_membership","clerk_update_user","clickhouse_count_rows","clickhouse_create_database","clickhouse_create_table","clickhouse_delete","clickhouse_describe_table","clickhouse_drop_database","clickhouse_drop_partition","clickhouse_drop_table","clickhouse_execute","clickhouse_insert","clickhouse_insert_rows","clickhouse_introspect","clickhouse_kill_query","clickhouse_list_clusters","clickhouse_list_databases","clickhouse_list_mutations","clickhouse_list_partitions","clickhouse_list_running_queries","clickhouse_list_tables","clickhouse_optimize_table","clickhouse_query","clickhouse_rename_table","clickhouse_show_create_table","clickhouse_table_stats","clickhouse_truncate_table","clickhouse_update","clickup_add_tag_to_task","clickup_create_checklist","clickup_create_checklist_item","clickup_create_comment","clickup_create_folder","clickup_create_list","clickup_create_task","clickup_create_time_entry","clickup_delete_checklist","clickup_delete_checklist_item","clickup_delete_comment","clickup_delete_task","clickup_delete_time_entry","clickup_get_comments","clickup_get_custom_fields","clickup_get_folders","clickup_get_list_members","clickup_get_lists","clickup_get_running_timer","clickup_get_space_tags","clickup_get_spaces","clickup_get_task","clickup_get_task_members","clickup_get_tasks","clickup_get_time_entries","clickup_get_workspaces","clickup_remove_custom_field_value","clickup_remove_tag_from_task","clickup_search_tasks","clickup_set_custom_field_value","clickup_start_timer","clickup_stop_timer","clickup_update_checklist","clickup_update_checklist_item","clickup_update_comment","clickup_update_task","clickup_update_time_entry","clickup_upload_attachment","cloudflare_create_access_application","cloudflare_create_access_policy","cloudflare_create_access_service_token","cloudflare_create_dns_record","cloudflare_create_r2_bucket","cloudflare_create_rate_limit_rule","cloudflare_create_ruleset","cloudflare_create_ruleset_rule","cloudflare_create_zone","cloudflare_delete_access_application","cloudflare_delete_access_policy","cloudflare_delete_dns_record","cloudflare_delete_r2_bucket","cloudflare_delete_ruleset_rule","cloudflare_delete_zone","cloudflare_dns_analytics","cloudflare_get_access_application","cloudflare_get_r2_bucket","cloudflare_get_ruleset","cloudflare_get_ruleset_entrypoint","cloudflare_get_tunnel","cloudflare_get_tunnel_configuration","cloudflare_get_worker_script_settings","cloudflare_get_zone","cloudflare_get_zone_settings","cloudflare_list_access_applications","cloudflare_list_access_groups","cloudflare_list_access_identity_providers","cloudflare_list_access_policies","cloudflare_list_access_service_tokens","cloudflare_list_certificates","cloudflare_list_dns_records","cloudflare_list_managed_ruleset_overrides","cloudflare_list_r2_buckets","cloudflare_list_rate_limit_rules","cloudflare_list_rulesets","cloudflare_list_tunnels","cloudflare_list_worker_routes","cloudflare_list_worker_scripts","cloudflare_list_zones","cloudflare_purge_cache","cloudflare_revoke_access_service_token","cloudflare_update_access_application","cloudflare_update_access_policy","cloudflare_update_dns_record","cloudflare_update_rate_limit_rule","cloudflare_update_ruleset_rule","cloudflare_update_zone_setting","cloudformation_cancel_update_stack","cloudformation_create_change_set","cloudformation_create_stack","cloudformation_delete_stack","cloudformation_describe_change_set","cloudformation_describe_stack_drift_detection_status","cloudformation_describe_stack_events","cloudformation_describe_stacks","cloudformation_detect_stack_drift","cloudformation_execute_change_set","cloudformation_get_template","cloudformation_get_template_summary","cloudformation_list_stack_resources","cloudformation_update_stack","cloudformation_validate_template","cloudwatch_describe_alarm_history","cloudwatch_describe_alarms","cloudwatch_describe_log_groups","cloudwatch_describe_log_streams","cloudwatch_filter_log_events","cloudwatch_get_log_events","cloudwatch_get_metric_statistics","cloudwatch_list_metrics","cloudwatch_mute_alarm","cloudwatch_put_log_group_retention","cloudwatch_put_metric_data","cloudwatch_query_logs","cloudwatch_unmute_alarm","codepipeline_disable_stage_transition","codepipeline_enable_stage_transition","codepipeline_get_pipeline","codepipeline_get_pipeline_execution","codepipeline_get_pipeline_state","codepipeline_list_action_executions","codepipeline_list_pipeline_executions","codepipeline_list_pipelines","codepipeline_put_approval_result","codepipeline_retry_stage_execution","codepipeline_start_execution","codepipeline_stop_execution","confluence_add_label","confluence_create_blogpost","confluence_create_comment","confluence_create_page","confluence_create_page_property","confluence_create_space","confluence_create_space_property","confluence_delete_attachment","confluence_delete_blogpost","confluence_delete_comment","confluence_delete_label","confluence_delete_page","confluence_delete_page_property","confluence_delete_space","confluence_delete_space_property","confluence_get_blogpost","confluence_get_page_ancestors","confluence_get_page_children","confluence_get_page_descendants","confluence_get_page_version","confluence_get_pages_by_label","confluence_get_space","confluence_get_task","confluence_get_user","confluence_list_attachments","confluence_list_blogposts","confluence_list_blogposts_in_space","confluence_list_comments","confluence_list_labels","confluence_list_page_properties","confluence_list_page_versions","confluence_list_pages_in_space","confluence_list_space_labels","confluence_list_space_permissions","confluence_list_space_properties","confluence_list_spaces","confluence_list_tasks","confluence_retrieve","confluence_search","confluence_search_in_space","confluence_update","confluence_update_blogpost","confluence_update_comment","confluence_update_space","confluence_update_task","confluence_upload_attachment","context_dev_classify_naics","context_dev_classify_sic","context_dev_crawl","context_dev_extract","context_dev_extract_product","context_dev_extract_products","context_dev_get_brand","context_dev_get_brand_by_email","context_dev_get_brand_by_name","context_dev_get_brand_by_ticker","context_dev_identify_transaction","context_dev_map","context_dev_scrape_fonts","context_dev_scrape_html","context_dev_scrape_images","context_dev_scrape_markdown","context_dev_scrape_styleguide","context_dev_screenshot","context_dev_search","convex_action","convex_document_deltas","convex_list_documents","convex_list_tables","convex_mutation","convex_query","convex_run_function","crowdstrike_create_indicators","crowdstrike_delete_indicators","crowdstrike_delete_rtr_session","crowdstrike_execute_rtr_command","crowdstrike_get_alert_details","crowdstrike_get_case_details","crowdstrike_get_host_group_details","crowdstrike_get_indicator_details","crowdstrike_get_rtr_command_status","crowdstrike_get_sensor_aggregates","crowdstrike_get_sensor_details","crowdstrike_get_vulnerability_details","crowdstrike_init_rtr_session","crowdstrike_perform_host_action","crowdstrike_perform_host_group_action","crowdstrike_query_alerts","crowdstrike_query_cases","crowdstrike_query_host_groups","crowdstrike_query_indicators","crowdstrike_query_sensors","crowdstrike_query_vulnerabilities","crowdstrike_update_alerts","crowdstrike_update_indicators","crunchbase_autocomplete","crunchbase_get_acquisition","crunchbase_get_entity","crunchbase_get_entity_card","crunchbase_get_fields_metadata","crunchbase_get_funding_round","crunchbase_get_organization","crunchbase_get_person","crunchbase_list_deleted_entities","crunchbase_search_acquisitions","crunchbase_search_entities","crunchbase_search_funding_rounds","crunchbase_search_organizations","crunchbase_search_people","cursor_add_followup","cursor_add_followup_v2","cursor_delete_agent","cursor_delete_agent_v2","cursor_download_artifact","cursor_download_artifact_v2","cursor_get_agent","cursor_get_agent_v2","cursor_get_api_key_info","cursor_get_api_key_info_v2","cursor_get_conversation","cursor_get_conversation_v2","cursor_launch_agent","cursor_launch_agent_v2","cursor_list_agents","cursor_list_agents_v2","cursor_list_artifacts","cursor_list_artifacts_v2","cursor_list_models","cursor_list_models_v2","cursor_list_repositories","cursor_list_repositories_v2","cursor_stop_agent","cursor_stop_agent_v2","dagster_delete_run","dagster_get_asset","dagster_get_run","dagster_get_run_logs","dagster_launch_run","dagster_list_assets","dagster_list_jobs","dagster_list_runs","dagster_list_schedules","dagster_list_sensors","dagster_materialize_assets","dagster_reexecute_run","dagster_report_asset_materialization","dagster_start_schedule","dagster_start_sensor","dagster_stop_schedule","dagster_stop_sensor","dagster_terminate_run","dagster_wipe_asset","databricks_cancel_run","databricks_execute_sql","databricks_get_cluster","databricks_get_job","databricks_get_run","databricks_get_run_output","databricks_get_statement","databricks_list_clusters","databricks_list_jobs","databricks_list_runs","databricks_list_warehouses","databricks_run_job","datadog_add_incident_todo","datadog_cancel_downtime","datadog_create_dashboard","datadog_create_downtime","datadog_create_event","datadog_create_incident","datadog_create_monitor","datadog_create_slo","datadog_delete_dashboard","datadog_delete_slo","datadog_get_browser_synthetics_results","datadog_get_dashboard","datadog_get_incident","datadog_get_monitor","datadog_get_security_signal","datadog_get_slo","datadog_get_slo_history","datadog_get_synthetics_results","datadog_get_synthetics_test","datadog_list_dashboards","datadog_list_downtimes","datadog_list_incidents","datadog_list_monitors","datadog_list_security_rules","datadog_list_security_signals","datadog_list_services","datadog_list_slos","datadog_list_synthetics_tests","datadog_mute_monitor","datadog_query_logs","datadog_query_timeseries","datadog_search_spans","datadog_send_logs","datadog_submit_metrics","datadog_trigger_synthetics_tests","datadog_unmute_monitor","datadog_update_incident","datadog_update_security_signal_assignee","datadog_update_security_signal_state","datadog_update_slo","datadog_update_synthetics_status","datagma_enrich_company","datagma_enrich_person","datagma_find_email","datagma_find_phone","datagma_get_credits","daytona_create_sandbox","daytona_delete_sandbox","daytona_download_file","daytona_execute_command","daytona_get_sandbox","daytona_git_clone","daytona_list_files","daytona_list_sandboxes","daytona_run_code","daytona_start_sandbox","daytona_stop_sandbox","daytona_upload_file","deployed_block_executor","deployments_deploy","deployments_get_version","deployments_list_versions","deployments_promote","deployments_undeploy","devin_append_session_tags","devin_archive_session","devin_create_session","devin_get_session","devin_get_session_tags","devin_list_session_attachments","devin_list_session_messages","devin_list_sessions","devin_replace_session_tags","devin_send_message","devin_terminate_session","discord_add_reaction","discord_archive_thread","discord_assign_role","discord_ban_member","discord_bulk_delete_messages","discord_create_channel","discord_create_invite","discord_create_role","discord_create_thread","discord_create_webhook","discord_delete_channel","discord_delete_invite","discord_delete_message","discord_delete_role","discord_delete_webhook","discord_edit_message","discord_execute_webhook","discord_get_channel","discord_get_invite","discord_get_member","discord_get_messages","discord_get_pinned_messages","discord_get_server","discord_get_user","discord_get_webhook","discord_join_thread","discord_kick_member","discord_leave_thread","discord_list_channels","discord_list_roles","discord_pin_message","discord_remove_reaction","discord_remove_role","discord_send_message","discord_unban_member","discord_unpin_message","discord_update_channel","discord_update_member","discord_update_role","docusign_create_from_template","docusign_download_document","docusign_get_envelope","docusign_list_envelopes","docusign_list_recipients","docusign_list_templates","docusign_send_envelope","docusign_void_envelope","downdetector_get_company","downdetector_get_company_attribution","downdetector_get_company_baseline","downdetector_get_company_events","downdetector_get_company_incidents","downdetector_get_company_indicators","downdetector_get_company_last_15","downdetector_get_company_status","downdetector_get_provider","downdetector_get_reports","downdetector_get_site_companies","downdetector_list_categories","downdetector_list_incidents","downdetector_list_sites","downdetector_search_companies","dropbox_copy","dropbox_create_folder","dropbox_create_shared_link","dropbox_delete","dropbox_download","dropbox_get_metadata","dropbox_list_folder","dropbox_list_revisions","dropbox_list_shared_links","dropbox_move","dropbox_restore","dropbox_search","dropbox_upload","dropcontact_enrich_contact","dspy_chain_of_thought","dspy_predict","dspy_react","dub_bulk_create_links","dub_bulk_delete_links","dub_bulk_update_links","dub_create_link","dub_create_tag","dub_delete_link","dub_get_analytics","dub_get_events","dub_get_link","dub_get_links_count","dub_get_qr_code","dub_list_domains","dub_list_folders","dub_list_links","dub_list_tags","dub_update_link","dub_upsert_link","duckduckgo_search","dynamodb_delete","dynamodb_get","dynamodb_introspect","dynamodb_put","dynamodb_query","dynamodb_scan","dynamodb_update","dynatrace_add_problem_comment","dynatrace_add_tags","dynatrace_close_problem","dynatrace_create_settings_object","dynatrace_create_slo","dynatrace_delete_problem_comment","dynatrace_delete_settings_object","dynatrace_delete_slo","dynatrace_delete_tag","dynatrace_execute_synthetic_monitors","dynatrace_get_attack","dynatrace_get_audit_logs","dynatrace_get_entity","dynatrace_get_event","dynatrace_get_metric","dynatrace_get_problem","dynatrace_get_problem_comment","dynatrace_get_security_problem","dynatrace_get_settings_object","dynatrace_get_slo","dynatrace_get_synthetic_batch","dynatrace_ingest_event","dynatrace_ingest_logs","dynatrace_ingest_metrics","dynatrace_list_attacks","dynatrace_list_entities","dynatrace_list_entity_types","dynatrace_list_events","dynatrace_list_metrics","dynatrace_list_problem_comments","dynatrace_list_problems","dynatrace_list_remediation_items","dynatrace_list_security_problems","dynatrace_list_settings_objects","dynatrace_list_settings_schemas","dynatrace_list_slos","dynatrace_list_synthetic_monitors","dynatrace_list_tags","dynatrace_mute_security_problem","dynatrace_mute_security_problems","dynatrace_query_metrics","dynatrace_search_logs","dynatrace_unmute_security_problem","dynatrace_unmute_security_problems","dynatrace_update_problem_comment","dynatrace_update_settings_object","dynatrace_update_slo","elasticsearch_bulk","elasticsearch_cluster_health","elasticsearch_cluster_stats","elasticsearch_count","elasticsearch_create_index","elasticsearch_delete_document","elasticsearch_delete_index","elasticsearch_get_document","elasticsearch_get_index","elasticsearch_index_document","elasticsearch_list_indices","elasticsearch_search","elasticsearch_update_document","elevenlabs_audio_isolation","elevenlabs_edit_voice_settings","elevenlabs_get_user","elevenlabs_get_voice","elevenlabs_get_voice_settings","elevenlabs_list_models","elevenlabs_list_voices","elevenlabs_sound_effects","elevenlabs_speech_to_speech","elevenlabs_tts","emailbison_attach_leads_to_campaign","emailbison_attach_tags_to_leads","emailbison_create_campaign","emailbison_create_lead","emailbison_create_tag","emailbison_get_lead","emailbison_list_campaigns","emailbison_list_leads","emailbison_list_replies","emailbison_list_tags","emailbison_update_campaign","emailbison_update_campaign_status","emailbison_update_lead","embeddings_cohere","embeddings_gemini","embeddings_mistral","embeddings_openai","embeddings_openrouter","enrich_check_credits","enrich_company_funding","enrich_company_lookup","enrich_company_revenue","enrich_disposable_email_check","enrich_email_to_ip","enrich_email_to_person_lite","enrich_email_to_phone","enrich_email_to_profile","enrich_find_email","enrich_get_post_details","enrich_ip_to_company","enrich_linkedin_profile","enrich_linkedin_to_personal_email","enrich_linkedin_to_work_email","enrich_phone_finder","enrich_reverse_hash_lookup","enrich_sales_pointer_people","enrich_search_company","enrich_search_company_activities","enrich_search_company_employees","enrich_search_jobs","enrich_search_logo","enrich_search_people","enrich_search_people_activities","enrich_search_post_comments","enrich_search_post_comments_by_url","enrich_search_post_reactions","enrich_search_post_reactions_by_url","enrich_search_posts","enrich_search_similar_companies","enrich_verify_email","enrichment_run","enrow_find_email","enrow_verify_email","exa_agent","exa_answer","exa_find_similar_links","exa_get_contents","exa_search","extend_parser","extend_parser_v2","fathom_get_summary","fathom_get_transcript","fathom_list_meeting_types","fathom_list_meetings","fathom_list_team_members","fathom_list_teams","file_append","file_compress","file_create_folder","file_decompress","file_delete_folder","file_edit","file_fetch","file_get","file_get_content","file_list","file_manage_sharing","file_move","file_parser","file_parser_v2","file_parser_v3","file_read","file_restore_folder","file_search","file_update_folder","file_write","findymail_find_email_from_linkedin","findymail_find_email_from_name","findymail_find_emails_by_domain","findymail_find_employees","findymail_find_phone","findymail_get_company","findymail_get_credits","findymail_lookup_technologies","findymail_reverse_email_lookup","findymail_search_technologies","findymail_verify_email","firecrawl_agent","firecrawl_batch_scrape","firecrawl_batch_scrape_status","firecrawl_cancel_crawl","firecrawl_crawl","firecrawl_crawl_status","firecrawl_credit_usage","firecrawl_extract","firecrawl_extract_status","firecrawl_map","firecrawl_parse","firecrawl_scrape","firecrawl_search","fireflies_add_to_live_meeting","fireflies_create_bite","fireflies_delete_transcript","fireflies_get_transcript","fireflies_get_user","fireflies_list_bites","fireflies_list_contacts","fireflies_list_transcripts","fireflies_list_users","fireflies_upload_audio","flint_create_task","flint_generate_pages","flint_get_task","function_execute","gamma_check_status","gamma_generate","gamma_generate_from_template","gamma_list_folders","gamma_list_themes","github_add_assignees","github_add_assignees_v2","github_add_labels","github_add_labels_v2","github_cancel_workflow_run","github_cancel_workflow_run_v2","github_check_star","github_check_star_v2","github_close_issue","github_close_issue_v2","github_close_pr","github_close_pr_v2","github_comment","github_comment_v2","github_compare_commits","github_compare_commits_v2","github_create_branch","github_create_branch_v2","github_create_comment_reaction","github_create_comment_reaction_v2","github_create_file","github_create_file_v2","github_create_gist","github_create_gist_v2","github_create_issue","github_create_issue_reaction","github_create_issue_reaction_v2","github_create_issue_v2","github_create_milestone","github_create_milestone_v2","github_create_pr","github_create_pr_review","github_create_pr_review_v2","github_create_pr_v2","github_create_project","github_create_project_v2","github_create_release","github_create_release_v2","github_delete_branch","github_delete_branch_v2","github_delete_comment","github_delete_comment_reaction","github_delete_comment_reaction_v2","github_delete_comment_v2","github_delete_file","github_delete_file_v2","github_delete_gist","github_delete_gist_v2","github_delete_issue_reaction","github_delete_issue_reaction_v2","github_delete_milestone","github_delete_milestone_v2","github_delete_project","github_delete_project_v2","github_delete_release","github_delete_release_v2","github_fork_gist","github_fork_gist_v2","github_fork_repo","github_fork_repo_v2","github_get_branch","github_get_branch_protection","github_get_branch_protection_v2","github_get_branch_v2","github_get_commit","github_get_commit_v2","github_get_file_content","github_get_file_content_v2","github_get_gist","github_get_gist_v2","github_get_issue","github_get_issue_v2","github_get_latest_release","github_get_latest_release_v2","github_get_milestone","github_get_milestone_v2","github_get_pr_files","github_get_pr_files_v2","github_get_project","github_get_project_v2","github_get_readme","github_get_readme_v2","github_get_release","github_get_release_v2","github_get_tree","github_get_tree_v2","github_get_workflow","github_get_workflow_run","github_get_workflow_run_v2","github_get_workflow_v2","github_issue_comment","github_issue_comment_v2","github_job_logs","github_latest_commit","github_latest_commit_v2","github_list_branches","github_list_branches_v2","github_list_commits","github_list_commits_v2","github_list_forks","github_list_forks_v2","github_list_gists","github_list_gists_v2","github_list_issue_comments","github_list_issue_comments_v2","github_list_issues","github_list_issues_v2","github_list_milestones","github_list_milestones_v2","github_list_pr_comments","github_list_pr_comments_v2","github_list_projects","github_list_projects_v2","github_list_prs","github_list_prs_v2","github_list_releases","github_list_releases_v2","github_list_review_threads","github_list_stargazers","github_list_stargazers_v2","github_list_tags","github_list_tags_v2","github_list_workflow_runs","github_list_workflow_runs_v2","github_list_workflows","github_list_workflows_v2","github_merge_pr","github_merge_pr_v2","github_pr","github_pr_v2","github_remove_label","github_remove_label_v2","github_reply_review_thread","github_repo_info","github_repo_info_v2","github_request_reviewers","github_request_reviewers_v2","github_rerun_workflow","github_rerun_workflow_v2","github_resolve_review_thread","github_search_code","github_search_code_v2","github_search_commits","github_search_commits_v2","github_search_issues","github_search_issues_v2","github_search_repos","github_search_repos_v2","github_search_users","github_search_users_v2","github_star_gist","github_star_gist_v2","github_star_repo","github_star_repo_v2","github_status_check_rollup","github_trigger_workflow","github_trigger_workflow_v2","github_unstar_gist","github_unstar_gist_v2","github_unstar_repo","github_unstar_repo_v2","github_update_branch_protection","github_update_branch_protection_v2","github_update_comment","github_update_comment_v2","github_update_file","github_update_file_v2","github_update_gist","github_update_gist_v2","github_update_issue","github_update_issue_v2","github_update_milestone","github_update_milestone_v2","github_update_pr","github_update_pr_v2","github_update_project","github_update_project_v2","github_update_release","github_update_release_v2","gitlab_activate_user","gitlab_add_member","gitlab_add_saml_group_link","gitlab_approve_access_request","gitlab_approve_merge_request","gitlab_approve_user","gitlab_ban_user","gitlab_block_user","gitlab_cancel_pipeline","gitlab_compare_branches","gitlab_create_branch","gitlab_create_file","gitlab_create_issue","gitlab_create_issue_note","gitlab_create_merge_request","gitlab_create_merge_request_note","gitlab_create_pipeline","gitlab_create_release","gitlab_create_user","gitlab_deactivate_user","gitlab_delete_branch","gitlab_delete_issue","gitlab_delete_saml_group_link","gitlab_delete_user","gitlab_delete_user_identity","gitlab_deny_access_request","gitlab_get_file","gitlab_get_group","gitlab_get_issue","gitlab_get_job_log","gitlab_get_merge_request","gitlab_get_merge_request_changes","gitlab_get_pipeline","gitlab_get_project","gitlab_invite_member","gitlab_list_access_requests","gitlab_list_branches","gitlab_list_commits","gitlab_list_groups","gitlab_list_invitations","gitlab_list_issues","gitlab_list_members","gitlab_list_merge_requests","gitlab_list_pipeline_jobs","gitlab_list_pipelines","gitlab_list_projects","gitlab_list_releases","gitlab_list_repository_tree","gitlab_list_saml_group_links","gitlab_list_user_memberships","gitlab_merge_merge_request","gitlab_play_job","gitlab_reject_user","gitlab_remove_member","gitlab_retry_pipeline","gitlab_revoke_invitation","gitlab_search_users","gitlab_unban_user","gitlab_unblock_user","gitlab_update_file","gitlab_update_invitation","gitlab_update_issue","gitlab_update_member","gitlab_update_merge_request","gitlab_update_user","gmail_add_label","gmail_add_label_v2","gmail_archive","gmail_archive_v2","gmail_create_label_v2","gmail_delete","gmail_delete_draft_v2","gmail_delete_label_v2","gmail_delete_v2","gmail_draft","gmail_draft_v2","gmail_edit_draft_v2","gmail_get_draft_v2","gmail_get_thread_v2","gmail_list_drafts_v2","gmail_list_labels_v2","gmail_list_threads_v2","gmail_mark_read","gmail_mark_read_v2","gmail_mark_unread","gmail_mark_unread_v2","gmail_move","gmail_move_v2","gmail_read","gmail_read_v2","gmail_remove_label","gmail_remove_label_v2","gmail_search","gmail_search_v2","gmail_send","gmail_send_v2","gmail_trash_thread_v2","gmail_unarchive","gmail_unarchive_v2","gmail_untrash_thread_v2","gmail_update_label_v2","gong_aggregate_activity","gong_aggregate_by_period","gong_answered_scorecards","gong_ask_anything","gong_assign_flow_prospects","gong_create_call","gong_day_by_day_activity","gong_get_brief","gong_get_call","gong_get_call_transcript","gong_get_coaching","gong_get_extensive_calls","gong_get_folder_content","gong_get_logs","gong_get_prospect_flows","gong_get_user","gong_interaction_stats","gong_list_calls","gong_list_flows","gong_list_library_folders","gong_list_scorecards","gong_list_trackers","gong_list_users","gong_list_workspaces","gong_lookup_email","gong_lookup_phone","gong_purge_email_address","gong_purge_phone_number","gong_unassign_flow_prospects","google_ads_ad_performance","google_ads_campaign_performance","google_ads_list_ad_groups","google_ads_list_campaigns","google_ads_list_customers","google_ads_search","google_appsheet_add_rows","google_appsheet_delete_rows","google_appsheet_edit_rows","google_appsheet_find_rows","google_bigquery_create_dataset","google_bigquery_create_table","google_bigquery_delete_dataset","google_bigquery_delete_table","google_bigquery_get_query_results","google_bigquery_get_table","google_bigquery_insert_rows","google_bigquery_list_datasets","google_bigquery_list_table_data","google_bigquery_list_tables","google_bigquery_query","google_books_volume_details","google_books_volume_search","google_calendar_create","google_calendar_create_calendar","google_calendar_create_calendar_v2","google_calendar_create_v2","google_calendar_delete","google_calendar_delete_calendar","google_calendar_delete_calendar_v2","google_calendar_delete_v2","google_calendar_freebusy","google_calendar_freebusy_v2","google_calendar_get","google_calendar_get_v2","google_calendar_instances","google_calendar_instances_v2","google_calendar_invite","google_calendar_invite_v2","google_calendar_list","google_calendar_list_acl","google_calendar_list_acl_v2","google_calendar_list_calendars","google_calendar_list_calendars_v2","google_calendar_list_v2","google_calendar_move","google_calendar_move_v2","google_calendar_quick_add","google_calendar_quick_add_v2","google_calendar_share_calendar","google_calendar_share_calendar_v2","google_calendar_unshare_calendar","google_calendar_unshare_calendar_v2","google_calendar_update","google_calendar_update_acl","google_calendar_update_acl_v2","google_calendar_update_calendar","google_calendar_update_calendar_v2","google_calendar_update_v2","google_contacts_create","google_contacts_delete","google_contacts_get","google_contacts_list","google_contacts_search","google_contacts_update","google_docs_create","google_docs_create_named_range","google_docs_create_paragraph_bullets","google_docs_delete_content_range","google_docs_delete_named_range","google_docs_delete_paragraph_bullets","google_docs_insert_image","google_docs_insert_page_break","google_docs_insert_table","google_docs_insert_text","google_docs_read","google_docs_replace_text","google_docs_update_paragraph_style","google_docs_update_text_style","google_docs_write","google_drive_copy","google_drive_create_comment","google_drive_create_folder","google_drive_delete","google_drive_delete_comment","google_drive_download","google_drive_export","google_drive_get_about","google_drive_get_content","google_drive_get_file","google_drive_get_revision","google_drive_list","google_drive_list_comments","google_drive_list_permissions","google_drive_list_revisions","google_drive_move","google_drive_search","google_drive_share","google_drive_trash","google_drive_unshare","google_drive_untrash","google_drive_update","google_drive_upload","google_forms_batch_update","google_forms_create_form","google_forms_create_watch","google_forms_delete_watch","google_forms_get_form","google_forms_get_responses","google_forms_list_watches","google_forms_renew_watch","google_forms_set_publish_settings","google_groups_add_alias","google_groups_add_member","google_groups_create_group","google_groups_delete_group","google_groups_get_group","google_groups_get_member","google_groups_get_settings","google_groups_has_member","google_groups_list_aliases","google_groups_list_groups","google_groups_list_members","google_groups_remove_alias","google_groups_remove_member","google_groups_update_group","google_groups_update_member","google_groups_update_settings","google_maps_air_quality","google_maps_directions","google_maps_distance_matrix","google_maps_elevation","google_maps_geocode","google_maps_geolocate","google_maps_place_details","google_maps_places_nearby","google_maps_places_search","google_maps_pollen","google_maps_reverse_geocode","google_maps_snap_to_roads","google_maps_solar","google_maps_speed_limits","google_maps_timezone","google_maps_validate_address","google_meet_create_space","google_meet_end_conference","google_meet_get_conference_record","google_meet_get_space","google_meet_list_conference_records","google_meet_list_participants","google_pagespeed_analyze","google_search","google_sheets_append","google_sheets_append_v2","google_sheets_batch_clear_v2","google_sheets_batch_get_v2","google_sheets_batch_update_v2","google_sheets_clear_v2","google_sheets_copy_sheet_v2","google_sheets_create_spreadsheet_v2","google_sheets_delete_rows_v2","google_sheets_delete_sheet_v2","google_sheets_delete_spreadsheet_v2","google_sheets_get_spreadsheet_v2","google_sheets_read","google_sheets_read_v2","google_sheets_update","google_sheets_update_v2","google_sheets_write","google_sheets_write_v2","google_slides_add_image","google_slides_add_slide","google_slides_batch_update","google_slides_copy_presentation","google_slides_create","google_slides_create_line","google_slides_create_paragraph_bullets","google_slides_create_shape","google_slides_create_sheets_chart","google_slides_create_table","google_slides_create_video","google_slides_delete_object","google_slides_delete_paragraph_bullets","google_slides_delete_table_column","google_slides_delete_table_row","google_slides_delete_text","google_slides_duplicate_object","google_slides_export_presentation","google_slides_get_page","google_slides_get_thumbnail","google_slides_group_objects","google_slides_insert_table_columns","google_slides_insert_table_rows","google_slides_insert_text","google_slides_merge_table_cells","google_slides_read","google_slides_refresh_sheets_chart","google_slides_replace_all_shapes_with_image","google_slides_replace_all_shapes_with_sheets_chart","google_slides_replace_all_text","google_slides_replace_image","google_slides_reroute_line","google_slides_ungroup_objects","google_slides_unmerge_table_cells","google_slides_update_image_properties","google_slides_update_line_category","google_slides_update_line_properties","google_slides_update_page_element_alt_text","google_slides_update_page_element_transform","google_slides_update_page_elements_z_order","google_slides_update_page_properties","google_slides_update_paragraph_style","google_slides_update_shape_properties","google_slides_update_slide_properties","google_slides_update_slides_position","google_slides_update_table_border_properties","google_slides_update_table_cell_properties","google_slides_update_table_column_properties","google_slides_update_table_row_properties","google_slides_update_text_style","google_slides_update_video_properties","google_slides_write","google_tasks_create","google_tasks_delete","google_tasks_get","google_tasks_list","google_tasks_list_task_lists","google_tasks_update","google_translate_detect","google_translate_text","google_vault_add_held_accounts","google_vault_add_matters_permissions","google_vault_close_matters","google_vault_create_matters","google_vault_create_matters_export","google_vault_create_matters_holds","google_vault_create_saved_query","google_vault_delete_matters","google_vault_delete_matters_export","google_vault_delete_matters_holds","google_vault_delete_saved_query","google_vault_download_export_file","google_vault_list_matters","google_vault_list_matters_export","google_vault_list_matters_holds","google_vault_list_saved_queries","google_vault_remove_held_accounts","google_vault_remove_matters_permissions","google_vault_reopen_matters","google_vault_undelete_matters","google_vault_update_matters","google_vault_update_matters_holds","grafana_check_data_source_health","grafana_create_alert_rule","grafana_create_annotation","grafana_create_contact_point","grafana_create_dashboard","grafana_create_folder","grafana_delete_alert_rule","grafana_delete_annotation","grafana_delete_contact_point","grafana_delete_dashboard","grafana_delete_folder","grafana_get_alert_rule","grafana_get_alert_rule_group","grafana_get_dashboard","grafana_get_data_source","grafana_get_folder","grafana_get_health","grafana_list_alert_rules","grafana_list_annotations","grafana_list_contact_points","grafana_list_dashboards","grafana_list_data_sources","grafana_list_folders","grafana_move_folder","grafana_query_data_source","grafana_update_alert_rule","grafana_update_annotation","grafana_update_contact_point","grafana_update_dashboard","grafana_update_folder","grain_create_hook","grain_create_hook_v2","grain_delete_hook","grain_delete_hook_v2","grain_get_recording","grain_get_transcript","grain_list_hooks","grain_list_hooks_v2","grain_list_meeting_types","grain_list_recordings","grain_list_teams","grain_list_views","granola_create_webhook_endpoint","granola_delete_webhook_endpoint","granola_get_note","granola_get_transcript","granola_list_audit_events","granola_list_folders","granola_list_notes","granola_list_webhook_endpoints","granola_update_webhook_endpoint","greenhouse_get_application","greenhouse_get_candidate","greenhouse_get_job","greenhouse_get_user","greenhouse_list_applications","greenhouse_list_candidates","greenhouse_list_departments","greenhouse_list_job_stages","greenhouse_list_jobs","greenhouse_list_offices","greenhouse_list_users","greptile_index_repo","greptile_query","greptile_search","greptile_status","guardrails_validate","harmonic_batch_get_people","harmonic_clear_people_saved_search_net_new_results","harmonic_enrich_person","harmonic_get_company_employees","harmonic_get_email_enrichment_job","harmonic_get_email_enrichment_usage","harmonic_get_enrichment_status","harmonic_get_people_saved_search_net_new_results","harmonic_get_people_saved_search_results","harmonic_get_person","harmonic_list_people_saved_searches","harmonic_search_people_scout","harmonic_submit_email_enrichment_job","hex_cancel_run","hex_create_collection","hex_create_group","hex_deactivate_user","hex_delete_group","hex_get_collection","hex_get_data_connection","hex_get_group","hex_get_project","hex_get_project_runs","hex_get_queried_tables","hex_get_run_status","hex_list_collections","hex_list_data_connections","hex_list_groups","hex_list_projects","hex_list_users","hex_run_project","hex_update_collection","hex_update_group","hex_update_project","http_request","hubspot_add_list_memberships","hubspot_create_appointment","hubspot_create_association","hubspot_create_company","hubspot_create_contact","hubspot_create_deal","hubspot_create_email","hubspot_create_line_item","hubspot_create_list","hubspot_create_note","hubspot_create_ticket","hubspot_delete_association","hubspot_delete_company","hubspot_delete_contact","hubspot_delete_deal","hubspot_delete_line_item","hubspot_delete_ticket","hubspot_get_appointment","hubspot_get_association_labels","hubspot_get_cart","hubspot_get_company","hubspot_get_contact","hubspot_get_deal","hubspot_get_email","hubspot_get_line_item","hubspot_get_list","hubspot_get_list_memberships","hubspot_get_marketing_event","hubspot_get_note","hubspot_get_properties","hubspot_get_quote","hubspot_get_ticket","hubspot_get_users","hubspot_list_appointments","hubspot_list_associations","hubspot_list_carts","hubspot_list_companies","hubspot_list_contacts","hubspot_list_deals","hubspot_list_emails","hubspot_list_line_items","hubspot_list_lists","hubspot_list_marketing_events","hubspot_list_notes","hubspot_list_owners","hubspot_list_quotes","hubspot_list_tickets","hubspot_remove_list_memberships","hubspot_search_companies","hubspot_search_contacts","hubspot_search_deals","hubspot_search_emails","hubspot_search_line_items","hubspot_search_notes","hubspot_search_quotes","hubspot_search_tickets","hubspot_update_appointment","hubspot_update_company","hubspot_update_contact","hubspot_update_deal","hubspot_update_line_item","hubspot_update_ticket","huggingface_chat","hunter_companies_find","hunter_discover","hunter_domain_search","hunter_email_count","hunter_email_finder","hunter_email_verifier","iam_add_user_to_group","iam_attach_role_policy","iam_attach_user_policy","iam_create_access_key","iam_create_role","iam_create_user","iam_delete_access_key","iam_delete_role","iam_delete_user","iam_detach_role_policy","iam_detach_user_policy","iam_get_role","iam_get_user","iam_list_attached_role_policies","iam_list_attached_user_policies","iam_list_groups","iam_list_policies","iam_list_roles","iam_list_users","iam_remove_user_from_group","iam_simulate_principal_policy","icypeas_find_email","icypeas_verify_email","identity_center_check_assignment_deletion_status","identity_center_check_assignment_status","identity_center_create_account_assignment","identity_center_delete_account_assignment","identity_center_describe_account","identity_center_get_group","identity_center_get_user","identity_center_list_account_assignments","identity_center_list_accounts","identity_center_list_groups","identity_center_list_instances","identity_center_list_permission_sets","image_generate","incidentio_actions_create","incidentio_actions_list","incidentio_actions_show","incidentio_actions_update","incidentio_alert_events_create","incidentio_alerts_list","incidentio_alerts_resolve","incidentio_alerts_show","incidentio_catalog_entries_list","incidentio_catalog_types_list","incidentio_custom_fields_create","incidentio_custom_fields_delete","incidentio_custom_fields_list","incidentio_custom_fields_show","incidentio_custom_fields_update","incidentio_escalation_paths_create","incidentio_escalation_paths_delete","incidentio_escalation_paths_list","incidentio_escalation_paths_show","incidentio_escalation_paths_update","incidentio_escalations_cancel","incidentio_escalations_create","incidentio_escalations_list","incidentio_escalations_show","incidentio_follow_ups_create","incidentio_follow_ups_list","incidentio_follow_ups_show","incidentio_follow_ups_update","incidentio_incident_alerts_list","incidentio_incident_memberships_create","incidentio_incident_memberships_revoke","incidentio_incident_participants_list","incidentio_incident_roles_create","incidentio_incident_roles_delete","incidentio_incident_roles_list","incidentio_incident_roles_show","incidentio_incident_roles_update","incidentio_incident_statuses_list","incidentio_incident_timestamps_list","incidentio_incident_timestamps_show","incidentio_incident_types_list","incidentio_incident_updates_list","incidentio_incidents_create","incidentio_incidents_list","incidentio_incidents_show","incidentio_incidents_update","incidentio_on_call_now","incidentio_schedule_entries_list","incidentio_schedule_overrides_create","incidentio_schedule_overrides_list","incidentio_schedules_create","incidentio_schedules_delete","incidentio_schedules_list","incidentio_schedules_show","incidentio_schedules_update","incidentio_severities_list","incidentio_teams_list","incidentio_teams_show","incidentio_users_list","incidentio_users_show","incidentio_workflows_create","incidentio_workflows_delete","incidentio_workflows_list","incidentio_workflows_show","incidentio_workflows_update","infisical_create_secret","infisical_delete_secret","infisical_get_secret","infisical_list_secrets","infisical_update_secret","instagram_delete_comment","instagram_download_media","instagram_get_account_insights","instagram_get_container_status","instagram_get_conversation_messages","instagram_get_media","instagram_get_media_insights","instagram_get_message","instagram_get_profile","instagram_get_publishing_limit","instagram_hide_comment","instagram_list_comments","instagram_list_conversations","instagram_list_media","instagram_list_stories","instagram_private_reply","instagram_publish_carousel","instagram_publish_image","instagram_publish_reel","instagram_publish_story","instagram_publish_video","instagram_reply_to_comment","instagram_send_text_message","instagram_set_comments_enabled","instantly_activate_campaign","instantly_create_campaign","instantly_create_lead","instantly_create_lead_list","instantly_delete_campaign","instantly_delete_leads","instantly_get_lead","instantly_list_campaigns","instantly_list_emails","instantly_list_lead_lists","instantly_list_leads","instantly_patch_campaign","instantly_patch_lead","instantly_pause_campaign","instantly_reply_to_email","instantly_update_lead_interest_status","intercom_assign_conversation_v2","intercom_attach_contact_to_company_v2","intercom_close_conversation_v2","intercom_create_company","intercom_create_company_v2","intercom_create_contact","intercom_create_contact_v2","intercom_create_event_v2","intercom_create_message","intercom_create_message_v2","intercom_create_note_v2","intercom_create_tag_v2","intercom_create_ticket","intercom_create_ticket_v2","intercom_delete_contact","intercom_delete_contact_v2","intercom_detach_contact_from_company_v2","intercom_get_company","intercom_get_company_v2","intercom_get_contact","intercom_get_contact_v2","intercom_get_conversation","intercom_get_conversation_v2","intercom_get_ticket","intercom_get_ticket_v2","intercom_list_admins_v2","intercom_list_companies","intercom_list_companies_v2","intercom_list_contacts","intercom_list_contacts_v2","intercom_list_conversations","intercom_list_conversations_v2","intercom_list_tags_v2","intercom_open_conversation_v2","intercom_reply_conversation","intercom_reply_conversation_v2","intercom_search_contacts","intercom_search_contacts_v2","intercom_search_conversations","intercom_search_conversations_v2","intercom_snooze_conversation_v2","intercom_tag_contact_v2","intercom_tag_conversation_v2","intercom_untag_contact_v2","intercom_update_contact","intercom_update_contact_v2","intercom_update_ticket_v2","jina_read_url","jina_search","jira_add_attachment","jira_add_comment","jira_add_watcher","jira_add_worklog","jira_assign_issue","jira_bulk_read","jira_create_issue_link","jira_delete_attachment","jira_delete_comment","jira_delete_issue","jira_delete_issue_link","jira_delete_worklog","jira_get_attachments","jira_get_comments","jira_get_fields","jira_get_project","jira_get_transitions","jira_get_users","jira_get_worklogs","jira_list_issue_types","jira_list_projects","jira_remove_watcher","jira_retrieve","jira_search_issues","jira_search_users","jira_transition_issue","jira_update","jira_update_comment","jira_update_worklog","jira_write","jotform_add_label_resources","jotform_clone_form","jotform_create_form","jotform_create_label","jotform_create_question","jotform_create_questions","jotform_create_report","jotform_create_submission","jotform_create_submissions","jotform_create_webhook","jotform_delete_form","jotform_delete_label","jotform_delete_question","jotform_delete_report","jotform_delete_submission","jotform_delete_webhook","jotform_get_form","jotform_get_form_properties","jotform_get_history","jotform_get_label","jotform_get_question","jotform_get_report","jotform_get_settings","jotform_get_submission","jotform_get_usage","jotform_get_user","jotform_list_form_files","jotform_list_form_reports","jotform_list_form_submissions","jotform_list_forms","jotform_list_label_resources","jotform_list_labels","jotform_list_questions","jotform_list_reports","jotform_list_submissions","jotform_list_subusers","jotform_list_webhooks","jotform_remove_label_resources","jotform_update_form_properties","jotform_update_label","jotform_update_question","jotform_update_settings","jotform_update_submission","jsm_add_comment","jsm_add_customer","jsm_add_organization","jsm_add_participants","jsm_answer_approval","jsm_attach_form","jsm_copy_forms","jsm_create_object","jsm_create_organization","jsm_create_request","jsm_delete_form","jsm_delete_object","jsm_externalise_form","jsm_get_approvals","jsm_get_comments","jsm_get_customers","jsm_get_form","jsm_get_form_answers","jsm_get_form_structure","jsm_get_form_templates","jsm_get_issue_forms","jsm_get_object","jsm_get_object_schema","jsm_get_object_type_attributes","jsm_get_organizations","jsm_get_participants","jsm_get_queues","jsm_get_request","jsm_get_request_type_fields","jsm_get_request_types","jsm_get_requests","jsm_get_service_desks","jsm_get_sla","jsm_get_transitions","jsm_internalise_form","jsm_list_object_schemas","jsm_list_object_types","jsm_reopen_form","jsm_save_form_answers","jsm_search_objects_aql","jsm_submit_form","jsm_transition_request","jsm_update_object","jupyter_copy_content","jupyter_create_file","jupyter_create_session","jupyter_delete_content","jupyter_delete_session","jupyter_get_content","jupyter_interrupt_kernel","jupyter_list_contents","jupyter_list_kernels","jupyter_list_kernelspecs","jupyter_list_sessions","jupyter_rename_content","jupyter_restart_kernel","jupyter_start_kernel","jupyter_stop_kernel","jupyter_upload_file","kalshi_amend_order","kalshi_amend_order_v2","kalshi_cancel_order","kalshi_cancel_order_v2","kalshi_create_order","kalshi_create_order_v2","kalshi_get_balance","kalshi_get_balance_v2","kalshi_get_candlesticks","kalshi_get_candlesticks_v2","kalshi_get_event","kalshi_get_event_candlesticks","kalshi_get_event_candlesticks_v2","kalshi_get_event_v2","kalshi_get_events","kalshi_get_events_v2","kalshi_get_exchange_announcements","kalshi_get_exchange_announcements_v2","kalshi_get_exchange_schedule","kalshi_get_exchange_schedule_v2","kalshi_get_exchange_status","kalshi_get_exchange_status_v2","kalshi_get_fills","kalshi_get_fills_v2","kalshi_get_market","kalshi_get_market_v2","kalshi_get_markets","kalshi_get_markets_v2","kalshi_get_order","kalshi_get_order_v2","kalshi_get_orderbook","kalshi_get_orderbook_v2","kalshi_get_orders","kalshi_get_orders_v2","kalshi_get_positions","kalshi_get_positions_v2","kalshi_get_series_by_ticker","kalshi_get_series_by_ticker_v2","kalshi_get_series_list","kalshi_get_series_list_v2","kalshi_get_settlements","kalshi_get_settlements_v2","kalshi_get_trades","kalshi_get_trades_v2","ketch_get_consent","ketch_get_subscriptions","ketch_invoke_right","ketch_set_consent","ketch_set_subscriptions","knowledge_create_document","knowledge_delete_chunk","knowledge_delete_document","knowledge_get_connector","knowledge_get_document","knowledge_list_chunks","knowledge_list_connectors","knowledge_list_documents","knowledge_list_tags","knowledge_search","knowledge_trigger_sync","knowledge_update_chunk","knowledge_upload_chunk","knowledge_upsert_document","lambda_add_permission","lambda_create_alias","lambda_create_event_source_mapping","lambda_create_function","lambda_create_function_url_config","lambda_delete_alias","lambda_delete_event_source_mapping","lambda_delete_function","lambda_delete_function_concurrency","lambda_delete_function_event_invoke_config","lambda_delete_function_url_config","lambda_delete_provisioned_concurrency_config","lambda_get_account_settings","lambda_get_alias","lambda_get_event_source_mapping","lambda_get_function","lambda_get_function_concurrency","lambda_get_function_configuration","lambda_get_function_event_invoke_config","lambda_get_function_recursion_config","lambda_get_function_url_config","lambda_get_layer_version","lambda_get_policy","lambda_get_provisioned_concurrency_config","lambda_get_runtime_management_config","lambda_invoke","lambda_list_aliases","lambda_list_event_source_mappings","lambda_list_function_event_invoke_configs","lambda_list_function_url_configs","lambda_list_functions","lambda_list_layer_versions","lambda_list_layers","lambda_list_provisioned_concurrency_configs","lambda_list_tags","lambda_list_versions_by_function","lambda_publish_version","lambda_put_function_concurrency","lambda_put_function_event_invoke_config","lambda_put_function_recursion_config","lambda_put_provisioned_concurrency_config","lambda_put_runtime_management_config","lambda_remove_permission","lambda_tag_resource","lambda_untag_resource","lambda_update_alias","lambda_update_event_source_mapping","lambda_update_function_code","lambda_update_function_configuration","lambda_update_function_url_config","langsmith_create_feedback","langsmith_create_run","langsmith_create_runs_batch","langsmith_get_run","langsmith_update_run","latex_compile","latex_get_package","latex_list_fonts","latex_search_packages","launchdarkly_create_flag","launchdarkly_delete_flag","launchdarkly_get_audit_log","launchdarkly_get_flag","launchdarkly_get_flag_status","launchdarkly_list_environments","launchdarkly_list_flags","launchdarkly_list_members","launchdarkly_list_projects","launchdarkly_list_segments","launchdarkly_toggle_flag","launchdarkly_update_flag","leadmagic_company_search","leadmagic_email_to_profile","leadmagic_find_email","leadmagic_find_mobile","leadmagic_get_credits","leadmagic_profile_search","leadmagic_profile_to_email","leadmagic_role_finder","leadmagic_validate_email","lemlist_get_activities","lemlist_get_lead","lemlist_send_email","linear_add_label_to_issue","linear_add_label_to_project","linear_archive_issue","linear_archive_label","linear_archive_project","linear_create_attachment","linear_create_comment","linear_create_customer","linear_create_customer_request","linear_create_customer_status","linear_create_customer_tier","linear_create_cycle","linear_create_favorite","linear_create_issue","linear_create_issue_relation","linear_create_label","linear_create_project","linear_create_project_label","linear_create_project_milestone","linear_create_project_status","linear_create_project_update","linear_create_workflow_state","linear_delete_attachment","linear_delete_comment","linear_delete_customer","linear_delete_customer_status","linear_delete_customer_tier","linear_delete_issue","linear_delete_issue_relation","linear_delete_project","linear_delete_project_label","linear_delete_project_milestone","linear_delete_project_status","linear_get_active_cycle","linear_get_customer","linear_get_cycle","linear_get_issue","linear_get_project","linear_get_viewer","linear_list_attachments","linear_list_comments","linear_list_customer_requests","linear_list_customer_statuses","linear_list_customer_tiers","linear_list_customers","linear_list_cycles","linear_list_favorites","linear_list_issue_relations","linear_list_labels","linear_list_notifications","linear_list_project_labels","linear_list_project_milestones","linear_list_project_statuses","linear_list_project_updates","linear_list_projects","linear_list_teams","linear_list_users","linear_list_workflow_states","linear_merge_customers","linear_read_issues","linear_remove_label_from_issue","linear_remove_label_from_project","linear_search_issues","linear_unarchive_issue","linear_update_attachment","linear_update_comment","linear_update_customer","linear_update_customer_request","linear_update_customer_status","linear_update_customer_tier","linear_update_issue","linear_update_label","linear_update_notification","linear_update_project","linear_update_project_label","linear_update_project_milestone","linear_update_project_status","linear_update_workflow_state","linkedin_get_profile","linkedin_share_post","linkup_search","linq_add_participant","linq_check_imessage","linq_check_rcs","linq_create_attachment","linq_create_chat","linq_create_contact_card","linq_create_webhook_subscription","linq_delete_attachment","linq_delete_message","linq_delete_webhook_subscription","linq_edit_message","linq_get_attachment","linq_get_chat","linq_get_contact_card","linq_get_message","linq_get_webhook_subscription","linq_leave_chat","linq_list_chats","linq_list_messages","linq_list_phone_numbers","linq_list_thread","linq_list_webhook_events","linq_list_webhook_subscriptions","linq_mark_chat_read","linq_react_to_message","linq_remove_participant","linq_send_message","linq_send_voice_memo","linq_share_contact_card","linq_start_typing","linq_stop_typing","linq_update_chat","linq_update_contact_card","linq_update_webhook_subscription","llm_chat","logfire_get_token_info","logfire_get_trace","logfire_query","logfire_search_records","logrocket_create_release","logrocket_get_audit_logs","logrocket_get_highlights","logrocket_identify_user","logrocket_list_exported_sessions","logrocket_request_highlights","logs_get","logs_get_execution","logs_get_run_details","logs_query","logs_query_runs","loops_check_contact_suppression","loops_create_contact","loops_create_contact_property","loops_delete_contact","loops_find_contact","loops_get_transactional_email","loops_list_contact_properties","loops_list_mailing_lists","loops_list_transactional_emails","loops_remove_contact_suppression","loops_send_event","loops_send_transactional_email","loops_update_contact","luma_add_guests","luma_cancel_event","luma_create_event","luma_get_event","luma_get_guest","luma_get_guests","luma_list_events","luma_lookup_event","luma_send_invites","luma_update_event","luma_update_guest_status","mailchimp_add_member","mailchimp_add_member_tags","mailchimp_add_or_update_member","mailchimp_add_segment_member","mailchimp_add_subscriber_to_automation","mailchimp_archive_member","mailchimp_create_audience","mailchimp_create_batch_operation","mailchimp_create_campaign","mailchimp_create_interest","mailchimp_create_interest_category","mailchimp_create_landing_page","mailchimp_create_merge_field","mailchimp_create_segment","mailchimp_create_template","mailchimp_delete_audience","mailchimp_delete_batch_operation","mailchimp_delete_campaign","mailchimp_delete_interest","mailchimp_delete_interest_category","mailchimp_delete_landing_page","mailchimp_delete_member","mailchimp_delete_merge_field","mailchimp_delete_segment","mailchimp_delete_template","mailchimp_get_audience","mailchimp_get_audiences","mailchimp_get_automation","mailchimp_get_automations","mailchimp_get_batch_operation","mailchimp_get_batch_operations","mailchimp_get_campaign","mailchimp_get_campaign_content","mailchimp_get_campaign_report","mailchimp_get_campaign_reports","mailchimp_get_campaigns","mailchimp_get_interest","mailchimp_get_interest_categories","mailchimp_get_interest_category","mailchimp_get_interests","mailchimp_get_landing_page","mailchimp_get_landing_pages","mailchimp_get_member","mailchimp_get_member_tags","mailchimp_get_members","mailchimp_get_merge_field","mailchimp_get_merge_fields","mailchimp_get_segment","mailchimp_get_segment_members","mailchimp_get_segments","mailchimp_get_template","mailchimp_get_templates","mailchimp_pause_automation","mailchimp_publish_landing_page","mailchimp_remove_member_tags","mailchimp_remove_segment_member","mailchimp_replicate_campaign","mailchimp_schedule_campaign","mailchimp_send_campaign","mailchimp_set_campaign_content","mailchimp_start_automation","mailchimp_unarchive_member","mailchimp_unpublish_landing_page","mailchimp_unschedule_campaign","mailchimp_update_audience","mailchimp_update_campaign","mailchimp_update_interest","mailchimp_update_interest_category","mailchimp_update_landing_page","mailchimp_update_member","mailchimp_update_merge_field","mailchimp_update_segment","mailchimp_update_template","mailgun_add_list_member","mailgun_create_mailing_list","mailgun_get_domain","mailgun_get_mailing_list","mailgun_get_message","mailgun_list_domains","mailgun_list_messages","mailgun_send_message","managed_agent_archive_session","managed_agent_create_session","managed_agent_delete_session","managed_agent_get_session","managed_agent_interrupt_session","managed_agent_list_events","managed_agent_respond_custom_tool","managed_agent_respond_tool_confirmation","managed_agent_run_session","managed_agent_send_message","managed_agent_update_session","mem0_add_memories","mem0_get_memories","mem0_search_memories","memory_add","memory_delete","memory_get","memory_get_all","microsoft_ad_add_directory_role_member","microsoft_ad_add_group_member","microsoft_ad_add_user_app_role_assignment","microsoft_ad_assign_license","microsoft_ad_create_group","microsoft_ad_create_user","microsoft_ad_delete_group","microsoft_ad_delete_user","microsoft_ad_get_conditional_access_policy","microsoft_ad_get_device","microsoft_ad_get_group","microsoft_ad_get_user","microsoft_ad_list_authentication_methods","microsoft_ad_list_conditional_access_policies","microsoft_ad_list_devices","microsoft_ad_list_directory_audits","microsoft_ad_list_directory_role_members","microsoft_ad_list_directory_roles","microsoft_ad_list_group_members","microsoft_ad_list_groups","microsoft_ad_list_service_principal_app_role_assignments","microsoft_ad_list_service_principals","microsoft_ad_list_sign_ins","microsoft_ad_list_subscribed_skus","microsoft_ad_list_user_app_role_assignments","microsoft_ad_list_user_devices","microsoft_ad_list_user_licenses","microsoft_ad_list_users","microsoft_ad_remove_directory_role_member","microsoft_ad_remove_group_member","microsoft_ad_remove_user_app_role_assignment","microsoft_ad_reset_password","microsoft_ad_revoke_sign_in_sessions","microsoft_ad_set_password","microsoft_ad_update_group","microsoft_ad_update_user","microsoft_dataverse_associate","microsoft_dataverse_create_multiple","microsoft_dataverse_create_record","microsoft_dataverse_delete_record","microsoft_dataverse_disassociate","microsoft_dataverse_download_file","microsoft_dataverse_execute_action","microsoft_dataverse_execute_function","microsoft_dataverse_fetchxml_query","microsoft_dataverse_get_entity_metadata","microsoft_dataverse_get_record","microsoft_dataverse_list_records","microsoft_dataverse_search","microsoft_dataverse_update_multiple","microsoft_dataverse_update_record","microsoft_dataverse_upload_file","microsoft_dataverse_upsert_record","microsoft_dataverse_whoami","microsoft_dynamics_365_close_case","microsoft_dynamics_365_close_opportunity","microsoft_dynamics_365_create_record","microsoft_dynamics_365_get_record","microsoft_dynamics_365_list_records","microsoft_dynamics_365_qualify_lead","microsoft_dynamics_365_search_records","microsoft_dynamics_365_update_record","microsoft_excel_clear_range","microsoft_excel_create_table","microsoft_excel_delete_worksheet","microsoft_excel_format_range","microsoft_excel_read","microsoft_excel_read_v2","microsoft_excel_sort_range","microsoft_excel_table_add","microsoft_excel_worksheet_add","microsoft_excel_write","microsoft_excel_write_v2","microsoft_planner_create_bucket","microsoft_planner_create_plan","microsoft_planner_create_task","microsoft_planner_delete_bucket","microsoft_planner_delete_plan","microsoft_planner_delete_task","microsoft_planner_get_plan_details","microsoft_planner_get_task_details","microsoft_planner_list_buckets","microsoft_planner_list_plans","microsoft_planner_read_bucket","microsoft_planner_read_plan","microsoft_planner_read_task","microsoft_planner_update_bucket","microsoft_planner_update_plan","microsoft_planner_update_plan_details","microsoft_planner_update_task","microsoft_planner_update_task_details","microsoft_teams_delete_channel_message","microsoft_teams_delete_chat_message","microsoft_teams_get_message","microsoft_teams_list_channel_members","microsoft_teams_list_channels","microsoft_teams_list_chat_members","microsoft_teams_list_chats","microsoft_teams_list_team_members","microsoft_teams_list_teams","microsoft_teams_read_channel","microsoft_teams_read_chat","microsoft_teams_reply_to_message","microsoft_teams_set_reaction","microsoft_teams_unset_reaction","microsoft_teams_update_channel_message","microsoft_teams_update_chat_message","microsoft_teams_write_channel","microsoft_teams_write_chat","microsoft_word_append","microsoft_word_create","microsoft_word_create_from_template","microsoft_word_export_pdf","microsoft_word_list","microsoft_word_read","microsoft_word_replace_text","microsoft_word_update","millionverifier_get_credits","millionverifier_verify_email","mintlify_create_agent_job","mintlify_create_assistant_message","mintlify_detect_ai_prose","mintlify_get_agent_job","mintlify_get_assistant_caller_stats","mintlify_get_assistant_conversations","mintlify_get_feedback","mintlify_get_feedback_by_page","mintlify_get_page_content","mintlify_get_searches","mintlify_get_update_status","mintlify_get_views","mintlify_get_visitors","mintlify_search","mintlify_send_agent_message","mintlify_trigger_automation","mintlify_trigger_preview","mintlify_trigger_update","mistral_parser","mistral_parser_v2","mistral_parser_v3","modal_call_function","modal_chat_completion","modal_list_models","monday_archive_item","monday_change_column_value","monday_create_board","monday_create_column","monday_create_group","monday_create_item","monday_create_subitem","monday_create_update","monday_delete_item","monday_duplicate_item","monday_get_board","monday_get_groups","monday_get_item","monday_get_items","monday_list_boards","monday_move_item_to_group","monday_search_items","monday_update_item","mongodb_delete","mongodb_execute","mongodb_insert","mongodb_introspect","mongodb_query","mongodb_update","mssql_delete","mssql_execute","mssql_insert","mssql_introspect","mssql_query","mssql_update","mysql_delete","mysql_execute","mysql_insert","mysql_introspect","mysql_query","mysql_update","neo4j_create","neo4j_delete","neo4j_execute","neo4j_introspect","neo4j_merge","neo4j_query","neo4j_update","netsuite_attach_record","netsuite_batch_create_records","netsuite_batch_delete_records","netsuite_batch_get_records","netsuite_batch_update_records","netsuite_batch_upsert_records","netsuite_create_record","netsuite_delete_record","netsuite_detach_record","netsuite_execute_action","netsuite_execute_dataset","netsuite_execute_suiteql","netsuite_get_async_result","netsuite_get_async_status","netsuite_get_governance_limits","netsuite_get_record","netsuite_get_record_form","netsuite_get_record_metadata","netsuite_get_select_options","netsuite_get_server_time","netsuite_get_subresource","netsuite_list_datasets","netsuite_list_record_types","netsuite_list_records","netsuite_transform_record","netsuite_update_record","netsuite_upsert_record","neverbounce_get_credits","neverbounce_verify_email","new_relic_create_deployment_event","new_relic_get_entity","new_relic_nrql_query","new_relic_search_entities","notion_add_database_row","notion_add_database_row_v2","notion_append_blocks","notion_append_blocks_v2","notion_create_comment","notion_create_comment_v2","notion_create_database","notion_create_database_v2","notion_create_page","notion_create_page_v2","notion_delete_block","notion_delete_block_v2","notion_list_comments","notion_list_comments_v2","notion_list_users","notion_list_users_v2","notion_query_database","notion_query_database_v2","notion_read","notion_read_database","notion_read_database_v2","notion_read_v2","notion_retrieve_block","notion_retrieve_block_children","notion_retrieve_block_children_v2","notion_retrieve_block_v2","notion_retrieve_user","notion_retrieve_user_v2","notion_search","notion_search_v2","notion_update_block","notion_update_block_v2","notion_update_page","notion_update_page_v2","notion_write","notion_write_v2","obsidian_append_active","obsidian_append_note","obsidian_append_periodic_note","obsidian_create_note","obsidian_delete_note","obsidian_execute_command","obsidian_get_active","obsidian_get_note","obsidian_get_periodic_note","obsidian_list_commands","obsidian_list_files","obsidian_open_file","obsidian_patch_active","obsidian_patch_note","obsidian_search","okta_activate_group_rule","okta_activate_user","okta_add_user_to_group","okta_assign_group_to_app","okta_assign_user_role","okta_assign_user_to_app","okta_clear_user_sessions","okta_create_group","okta_create_group_rule","okta_create_user","okta_deactivate_group_rule","okta_deactivate_user","okta_delete_group","okta_delete_group_rule","okta_delete_user","okta_enroll_factor","okta_get_app","okta_get_factor","okta_get_group","okta_get_group_rule","okta_get_logs","okta_get_session","okta_get_user","okta_list_app_groups","okta_list_app_users","okta_list_apps","okta_list_factors","okta_list_group_members","okta_list_group_rules","okta_list_groups","okta_list_user_roles","okta_list_users","okta_remove_group_from_app","okta_remove_user_from_app","okta_remove_user_from_group","okta_remove_user_role","okta_reset_all_factors","okta_reset_factor","okta_reset_password","okta_revoke_session","okta_suspend_user","okta_unsuspend_user","okta_update_group","okta_update_user","onedrive_copy","onedrive_create_folder","onedrive_create_share_link","onedrive_delete","onedrive_download","onedrive_get_drive_info","onedrive_get_item","onedrive_list","onedrive_move","onedrive_search","onedrive_upload","onepassword_create_item","onepassword_delete_item","onepassword_get_item","onepassword_get_item_file","onepassword_get_vault","onepassword_list_items","onepassword_list_vaults","onepassword_replace_item","onepassword_resolve_secret","onepassword_update_item","openai_embeddings","openai_image","outlook_calendar_create_event","outlook_calendar_delete_event","outlook_calendar_get_event","outlook_calendar_list_events","outlook_calendar_respond","outlook_calendar_update_event","outlook_copy","outlook_create_folder","outlook_delete","outlook_draft","outlook_forward","outlook_get_attachment","outlook_list_attachments","outlook_list_folders","outlook_mark_read","outlook_mark_unread","outlook_move","outlook_read","outlook_reply","outlook_reply_all","outlook_search","outlook_send","outlook_update_message","pagerduty_add_note","pagerduty_create_incident","pagerduty_get_incident","pagerduty_get_service","pagerduty_list_escalation_policies","pagerduty_list_incident_alerts","pagerduty_list_incidents","pagerduty_list_oncalls","pagerduty_list_schedules","pagerduty_list_services","pagerduty_list_users","pagerduty_merge_incidents","pagerduty_send_event","pagerduty_snooze_incident","pagerduty_update_incident","parallel_deep_research","parallel_extract","parallel_search","pdl_autocomplete","pdl_bulk_company_enrich","pdl_bulk_person_enrich","pdl_clean_company","pdl_clean_location","pdl_clean_school","pdl_company_enrich","pdl_company_search","pdl_person_enrich","pdl_person_identify","pdl_person_search","perplexity_chat","perplexity_search","persona_approve_inquiry","persona_create_account","persona_create_inquiry","persona_create_report","persona_decline_inquiry","persona_expire_inquiry","persona_generate_inquiry_link","persona_get_account","persona_get_case","persona_get_document","persona_get_inquiry","persona_get_report","persona_get_verification","persona_import_accounts","persona_list_accounts","persona_list_cases","persona_list_inquiries","persona_list_inquiry_templates","persona_list_reports","persona_mark_inquiry_for_review","persona_print_inquiry_pdf","persona_redact_account","persona_redact_inquiry","persona_resume_inquiry","persona_update_account","persona_update_inquiry","pinecone_delete_vectors","pinecone_describe_index","pinecone_describe_index_stats","pinecone_fetch","pinecone_generate_embeddings","pinecone_list_indexes","pinecone_list_vector_ids","pinecone_search_text","pinecone_search_vector","pinecone_update_vector","pinecone_upsert_text","pipedrive_create_activity","pipedrive_create_deal","pipedrive_create_lead","pipedrive_create_project","pipedrive_delete_lead","pipedrive_get_activities","pipedrive_get_all_deals","pipedrive_get_deal","pipedrive_get_files","pipedrive_get_leads","pipedrive_get_mail_messages","pipedrive_get_mail_thread","pipedrive_get_pipeline_deals","pipedrive_get_pipelines","pipedrive_get_projects","pipedrive_update_activity","pipedrive_update_deal","pipedrive_update_lead","pitchbook_company_active_investors","pitchbook_company_bio","pitchbook_company_deal_service_providers","pitchbook_company_deals","pitchbook_company_financials","pitchbook_company_general_service_providers","pitchbook_company_industries","pitchbook_company_investors","pitchbook_company_most_recent_debt_financing","pitchbook_company_most_recent_financials","pitchbook_company_most_recent_financing","pitchbook_company_search","pitchbook_company_similar_companies","pitchbook_company_social_analytics","pitchbook_company_updates","pitchbook_company_vc_exit_predictions","pitchbook_contracts_history","pitchbook_cost_of_calls","pitchbook_credit_history","pitchbook_credit_news","pitchbook_credit_news_bulk","pitchbook_credit_news_most_recent","pitchbook_credit_news_search","pitchbook_deal_bio","pitchbook_deal_cap_table_history","pitchbook_deal_debt_lenders","pitchbook_deal_detailed","pitchbook_deal_investors","pitchbook_deal_multiples","pitchbook_deal_search","pitchbook_deal_service_providers","pitchbook_deal_stock_info","pitchbook_deal_tranche_info","pitchbook_deal_updates","pitchbook_deal_valuation","pitchbook_entity_affiliates","pitchbook_entity_locations","pitchbook_entity_news","pitchbook_entity_people","pitchbook_entity_updates","pitchbook_fund_active_investments","pitchbook_fund_benchmark","pitchbook_fund_bio","pitchbook_fund_cash_flows","pitchbook_fund_commitments","pitchbook_fund_investment_preferences","pitchbook_fund_investments","pitchbook_fund_performance","pitchbook_fund_search","pitchbook_fund_team","pitchbook_fund_updates","pitchbook_investor_active_investments","pitchbook_investor_bio","pitchbook_investor_board_seats","pitchbook_investor_deal_service_providers","pitchbook_investor_funds","pitchbook_investor_general_service_providers","pitchbook_investor_investments","pitchbook_investor_last_closed_fund","pitchbook_investor_preferences","pitchbook_investor_search","pitchbook_investor_updates","pitchbook_limited_partner_actual_allocations","pitchbook_limited_partner_bio","pitchbook_limited_partner_commitment_aggregates","pitchbook_limited_partner_commitment_preferences","pitchbook_limited_partner_commitments_detailed","pitchbook_limited_partner_search","pitchbook_limited_partner_service_providers","pitchbook_limited_partner_target_allocations","pitchbook_limited_partner_updates","pitchbook_lookup_table_structure","pitchbook_lookup_tables","pitchbook_patent_detailed","pitchbook_patent_search","pitchbook_people_search","pitchbook_person_bio","pitchbook_person_contact","pitchbook_person_education_work","pitchbook_sandbox_entities","pitchbook_search","pitchbook_service_provider_bio","pitchbook_service_provider_search","pitchbook_service_provider_updates","pitchbook_serviced_companies","pitchbook_serviced_deals","pitchbook_serviced_funds","pitchbook_serviced_investors","pitchbook_serviced_limited_partners","pitchbook_shared_search","pitchbook_usage_report","polymarket_get_activity","polymarket_get_event","polymarket_get_events","polymarket_get_holders","polymarket_get_last_trade_price","polymarket_get_leaderboard","polymarket_get_market","polymarket_get_markets","polymarket_get_midpoint","polymarket_get_orderbook","polymarket_get_positions","polymarket_get_price","polymarket_get_price_history","polymarket_get_series","polymarket_get_series_by_id","polymarket_get_spread","polymarket_get_tags","polymarket_get_tick_size","polymarket_get_trades","polymarket_search","postgresql_delete","postgresql_execute","postgresql_insert","postgresql_introspect","postgresql_query","postgresql_update","posthog_batch_events","posthog_capture_event","posthog_create_annotation","posthog_create_cohort","posthog_create_dashboard","posthog_create_experiment","posthog_create_feature_flag","posthog_create_insight","posthog_create_survey","posthog_delete_feature_flag","posthog_delete_person","posthog_delete_survey","posthog_evaluate_flags","posthog_get_cohort","posthog_get_dashboard","posthog_get_event_definition","posthog_get_experiment","posthog_get_feature_flag","posthog_get_insight","posthog_get_organization","posthog_get_person","posthog_get_project","posthog_get_property_definition","posthog_get_session_recording","posthog_get_survey","posthog_list_actions","posthog_list_annotations","posthog_list_cohorts","posthog_list_dashboards","posthog_list_event_definitions","posthog_list_experiments","posthog_list_feature_flags","posthog_list_insights","posthog_list_organizations","posthog_list_persons","posthog_list_projects","posthog_list_property_definitions","posthog_list_recording_playlists","posthog_list_session_recordings","posthog_list_surveys","posthog_query","posthog_update_cohort","posthog_update_event_definition","posthog_update_experiment","posthog_update_feature_flag","posthog_update_insight","posthog_update_property_definition","posthog_update_survey","profound_bot_logs","profound_bots_report","profound_category_assets","profound_category_personas","profound_category_prompts","profound_category_tags","profound_category_topics","profound_citation_prompts","profound_citations_report","profound_list_assets","profound_list_categories","profound_list_domains","profound_list_models","profound_list_optimizations","profound_list_personas","profound_list_regions","profound_optimization_analysis","profound_prompt_answers","profound_prompt_volume","profound_query_fanouts","profound_raw_logs","profound_referrals_report","profound_sentiment_report","profound_visibility_report","prospeo_account_information","prospeo_bulk_enrich_company","prospeo_bulk_enrich_person","prospeo_enrich_company","prospeo_enrich_person","prospeo_search_company","prospeo_search_person","prospeo_search_suggestions","pulse_parser","pulse_parser_v2","qdrant_fetch_points","qdrant_search_vector","qdrant_upsert_points","quartr_get_audio","quartr_get_company","quartr_get_event","quartr_get_event_summary","quartr_get_report","quartr_get_slide_deck","quartr_get_transcript","quartr_list_audio","quartr_list_companies","quartr_list_document_types","quartr_list_documents","quartr_list_event_types","quartr_list_events","quartr_list_live_events","quartr_list_reports","quartr_list_slide_decks","quartr_list_transcripts","quiver_image_to_svg","quiver_list_models","quiver_text_to_svg","rabbitmq_create_binding","rabbitmq_create_exchange","rabbitmq_create_policy","rabbitmq_create_queue","rabbitmq_delete_binding","rabbitmq_delete_exchange","rabbitmq_delete_policy","rabbitmq_delete_queue","rabbitmq_get_exchange","rabbitmq_get_messages","rabbitmq_get_overview","rabbitmq_get_queue","rabbitmq_health_check","rabbitmq_list_bindings","rabbitmq_list_channels","rabbitmq_list_connections","rabbitmq_list_consumers","rabbitmq_list_exchange_bindings","rabbitmq_list_exchanges","rabbitmq_list_nodes","rabbitmq_list_policies","rabbitmq_list_queues","rabbitmq_list_vhosts","rabbitmq_publish_message","rabbitmq_purge_queue","railway_create_environment","railway_create_project","railway_create_service","railway_delete_environment","railway_delete_project","railway_delete_service","railway_delete_variable","railway_deploy_service","railway_get_deployment","railway_get_deployment_logs","railway_get_project","railway_list_deployments","railway_list_project_members","railway_list_projects","railway_list_variables","railway_restart_deployment","railway_rollback_deployment","railway_transfer_project","railway_update_project","railway_upsert_variable","rb2b_credit_check","rb2b_email_to_activity","rb2b_hem_to_best_linkedin","rb2b_hem_to_business_profile","rb2b_hem_to_linkedin","rb2b_hem_to_maid","rb2b_ip_to_company","rb2b_ip_to_hem","rb2b_ip_to_maid","rb2b_linkedin_slug_search","rb2b_linkedin_to_best_personal_email","rb2b_linkedin_to_business_profile","rb2b_linkedin_to_hashed_emails","rb2b_linkedin_to_mobile_phone","rb2b_linkedin_to_personal_email","rds_delete","rds_execute","rds_insert","rds_introspect","rds_query","rds_update","reddit_delete","reddit_edit","reddit_get_comments","reddit_get_controversial","reddit_get_info","reddit_get_me","reddit_get_messages","reddit_get_posts","reddit_get_saved","reddit_get_subreddit_info","reddit_get_subreddit_rules","reddit_get_user","reddit_get_user_comments","reddit_get_user_posts","reddit_hide","reddit_hot_posts","reddit_list_my_subreddits","reddit_lock","reddit_mark_all_read","reddit_mark_read","reddit_marknsfw","reddit_mod_approve","reddit_mod_distinguish","reddit_mod_remove","reddit_mod_sticky","reddit_reply","reddit_report","reddit_save","reddit_search","reddit_search_subreddits","reddit_send_message","reddit_submit_post","reddit_subscribe","reddit_unhide","reddit_unlock","reddit_unmarknsfw","reddit_unsave","reddit_vote","redis_command","redis_delete","redis_exists","redis_expire","redis_get","redis_hdel","redis_hget","redis_hgetall","redis_hset","redis_incr","redis_incrby","redis_keys","redis_llen","redis_lpop","redis_lpush","redis_lrange","redis_persist","redis_rpop","redis_rpush","redis_set","redis_setnx","redis_ttl","reducto_parser","reducto_parser_v2","resend_cancel_email","resend_create_audience","resend_create_broadcast","resend_create_contact","resend_delete_audience","resend_delete_contact","resend_get_audience","resend_get_broadcast","resend_get_contact","resend_get_email","resend_list_audiences","resend_list_contacts","resend_list_domains","resend_send","resend_send_broadcast","resend_update_contact","revenuecat_create_purchase","revenuecat_defer_google_subscription","revenuecat_delete_customer","revenuecat_get_customer","revenuecat_grant_entitlement","revenuecat_list_offerings","revenuecat_refund_google_subscription","revenuecat_revoke_entitlement","revenuecat_revoke_google_subscription","revenuecat_update_subscriber_attributes","rippling_bulk_create_custom_object_records","rippling_bulk_delete_custom_object_records","rippling_bulk_update_custom_object_records","rippling_create_business_partner","rippling_create_business_partner_group","rippling_create_custom_app","rippling_create_custom_object","rippling_create_custom_object_field","rippling_create_custom_object_record","rippling_create_custom_page","rippling_create_custom_setting","rippling_create_department","rippling_create_draft_hires","rippling_create_object_category","rippling_create_title","rippling_create_work_location","rippling_delete_business_partner","rippling_delete_business_partner_group","rippling_delete_custom_app","rippling_delete_custom_object","rippling_delete_custom_object_field","rippling_delete_custom_object_record","rippling_delete_custom_page","rippling_delete_custom_setting","rippling_delete_object_category","rippling_delete_title","rippling_delete_work_location","rippling_get_business_partner","rippling_get_business_partner_group","rippling_get_current_user","rippling_get_custom_app","rippling_get_custom_object","rippling_get_custom_object_field","rippling_get_custom_object_record","rippling_get_custom_object_record_by_external_id","rippling_get_custom_page","rippling_get_custom_setting","rippling_get_department","rippling_get_employment_type","rippling_get_job_function","rippling_get_object_category","rippling_get_report_run","rippling_get_supergroup","rippling_get_team","rippling_get_title","rippling_get_user","rippling_get_work_location","rippling_get_worker","rippling_list_business_partner_groups","rippling_list_business_partners","rippling_list_companies","rippling_list_custom_apps","rippling_list_custom_fields","rippling_list_custom_object_fields","rippling_list_custom_object_records","rippling_list_custom_objects","rippling_list_custom_pages","rippling_list_custom_settings","rippling_list_departments","rippling_list_employment_types","rippling_list_entitlements","rippling_list_job_functions","rippling_list_object_categories","rippling_list_supergroup_exclusion_members","rippling_list_supergroup_inclusion_members","rippling_list_supergroup_members","rippling_list_supergroups","rippling_list_teams","rippling_list_titles","rippling_list_users","rippling_list_work_locations","rippling_list_workers","rippling_query_custom_object_records","rippling_trigger_report_run","rippling_update_custom_app","rippling_update_custom_object","rippling_update_custom_object_field","rippling_update_custom_object_record","rippling_update_custom_page","rippling_update_custom_setting","rippling_update_department","rippling_update_object_category","rippling_update_supergroup_exclusion_members","rippling_update_supergroup_inclusion_members","rippling_update_title","rippling_update_work_location","rocketlane_add_field_option","rocketlane_add_project_members","rocketlane_add_task_assignees","rocketlane_add_task_dependencies","rocketlane_add_task_followers","rocketlane_archive_project","rocketlane_assign_placeholders","rocketlane_create_field","rocketlane_create_phase","rocketlane_create_project","rocketlane_create_space","rocketlane_create_space_document","rocketlane_create_task","rocketlane_create_time_entry","rocketlane_create_time_off","rocketlane_delete_field","rocketlane_delete_phase","rocketlane_delete_project","rocketlane_delete_space","rocketlane_delete_space_document","rocketlane_delete_task","rocketlane_delete_time_entry","rocketlane_delete_time_off","rocketlane_get_field","rocketlane_get_invoice","rocketlane_get_invoice_line_items","rocketlane_get_invoice_payments","rocketlane_get_phase","rocketlane_get_project","rocketlane_get_space","rocketlane_get_space_document","rocketlane_get_task","rocketlane_get_time_entry","rocketlane_get_time_off","rocketlane_get_user","rocketlane_import_template","rocketlane_list_fields","rocketlane_list_invoices","rocketlane_list_phases","rocketlane_list_placeholders","rocketlane_list_projects","rocketlane_list_resource_allocations","rocketlane_list_space_documents","rocketlane_list_spaces","rocketlane_list_tasks","rocketlane_list_time_entries","rocketlane_list_time_entry_categories","rocketlane_list_time_offs","rocketlane_list_users","rocketlane_move_task_to_phase","rocketlane_remove_project_members","rocketlane_remove_task_assignees","rocketlane_remove_task_dependencies","rocketlane_remove_task_followers","rocketlane_search_time_entries","rocketlane_unassign_placeholders","rocketlane_update_field","rocketlane_update_field_option","rocketlane_update_phase","rocketlane_update_project","rocketlane_update_space","rocketlane_update_space_document","rocketlane_update_task","rocketlane_update_time_entry","rootly_acknowledge_alert","rootly_add_incident_event","rootly_add_subscribers","rootly_assign_incident_role","rootly_create_action_item","rootly_create_alert","rootly_create_incident","rootly_create_status_page_event","rootly_delete_action_item","rootly_delete_incident","rootly_escalate_alert","rootly_get_alert","rootly_get_incident","rootly_list_action_items","rootly_list_alerts","rootly_list_causes","rootly_list_environments","rootly_list_escalation_policies","rootly_list_functionalities","rootly_list_incident_events","rootly_list_incident_roles","rootly_list_incident_types","rootly_list_incidents","rootly_list_on_calls","rootly_list_playbooks","rootly_list_retrospectives","rootly_list_schedules","rootly_list_services","rootly_list_severities","rootly_list_teams","rootly_list_users","rootly_mitigate_incident","rootly_remove_subscribers","rootly_resolve_alert","rootly_resolve_incident","rootly_run_workflow","rootly_snooze_alert","rootly_unassign_incident_role","rootly_update_action_item","rootly_update_alert","rootly_update_incident","s3_copy_object","s3_create_bucket","s3_delete_bucket","s3_delete_object","s3_delete_objects","s3_get_object","s3_head_object","s3_list_buckets","s3_list_objects","s3_presigned_url","s3_put_object","sailpoint_approve_access_request","sailpoint_cancel_access_request","sailpoint_decide_certification_review_items","sailpoint_get_access_profile","sailpoint_get_access_profile_entitlements","sailpoint_get_access_request_config","sailpoint_get_access_request_status","sailpoint_get_account","sailpoint_get_account_activity","sailpoint_get_account_entitlements","sailpoint_get_account_selections","sailpoint_get_campaign","sailpoint_get_certification","sailpoint_get_entitlement","sailpoint_get_entitlement_request_config","sailpoint_get_identity","sailpoint_get_role","sailpoint_get_role_entitlements","sailpoint_get_source","sailpoint_get_task_status","sailpoint_list_access_profiles","sailpoint_list_account_activities","sailpoint_list_accounts","sailpoint_list_campaigns","sailpoint_list_certification_review_items","sailpoint_list_certifications","sailpoint_list_entitlements","sailpoint_list_identities","sailpoint_list_identity_entitlements","sailpoint_list_pending_access_request_approvals","sailpoint_list_roles","sailpoint_list_sources","sailpoint_load_accounts","sailpoint_load_entitlements","sailpoint_reject_access_request","sailpoint_request_access","sailpoint_search","sailpoint_search_aggregate","sailpoint_search_count","sailpoint_sign_off_certification","salesforce_create_account","salesforce_create_case","salesforce_create_contact","salesforce_create_custom_field","salesforce_create_custom_object","salesforce_create_lead","salesforce_create_opportunity","salesforce_create_task","salesforce_delete_account","salesforce_delete_case","salesforce_delete_contact","salesforce_delete_custom_field","salesforce_delete_lead","salesforce_delete_opportunity","salesforce_delete_task","salesforce_describe_object","salesforce_get_accounts","salesforce_get_cases","salesforce_get_contacts","salesforce_get_dashboard","salesforce_get_leads","salesforce_get_opportunities","salesforce_get_report","salesforce_get_tasks","salesforce_list_dashboards","salesforce_list_objects","salesforce_list_report_types","salesforce_list_reports","salesforce_query","salesforce_query_more","salesforce_refresh_dashboard","salesforce_run_report","salesforce_tooling_query","salesforce_update_account","salesforce_update_case","salesforce_update_contact","salesforce_update_custom_field","salesforce_update_lead","salesforce_update_opportunity","salesforce_update_task","sap_concur_approve_expense_report","sap_concur_associate_attendees","sap_concur_create_cash_advance","sap_concur_create_expected_expense","sap_concur_create_expense_report","sap_concur_create_list_item","sap_concur_create_purchase_request","sap_concur_create_quick_expense","sap_concur_create_quick_expense_with_image","sap_concur_create_report_comment","sap_concur_create_travel_request","sap_concur_create_user","sap_concur_delete_expected_expense","sap_concur_delete_expense","sap_concur_delete_expense_report","sap_concur_delete_list_item","sap_concur_delete_travel_request","sap_concur_delete_user","sap_concur_get_allocation","sap_concur_get_budget","sap_concur_get_cash_advance","sap_concur_get_expected_expense","sap_concur_get_expense","sap_concur_get_expense_report","sap_concur_get_itemizations","sap_concur_get_itinerary","sap_concur_get_list","sap_concur_get_list_item","sap_concur_get_purchase_request","sap_concur_get_receipt","sap_concur_get_receipt_status","sap_concur_get_request_cash_advance","sap_concur_get_travel_profile","sap_concur_get_travel_request","sap_concur_get_user","sap_concur_issue_cash_advance","sap_concur_list_allocations","sap_concur_list_attendee_associations","sap_concur_list_budget_categories","sap_concur_list_budgets","sap_concur_list_exceptions","sap_concur_list_expected_expenses","sap_concur_list_expense_reports","sap_concur_list_expenses","sap_concur_list_itineraries","sap_concur_list_list_items","sap_concur_list_lists","sap_concur_list_receipts","sap_concur_list_report_comments","sap_concur_list_reports_to_approve","sap_concur_list_travel_profiles_summary","sap_concur_list_travel_request_comments","sap_concur_list_travel_requests","sap_concur_list_users","sap_concur_move_travel_request","sap_concur_recall_expense_report","sap_concur_remove_all_attendees","sap_concur_search_locations","sap_concur_search_users","sap_concur_send_back_expense_report","sap_concur_submit_expense_report","sap_concur_update_allocation","sap_concur_update_expected_expense","sap_concur_update_expense","sap_concur_update_expense_report","sap_concur_update_list_item","sap_concur_update_travel_request","sap_concur_update_user","sap_concur_upload_exchange_rates","sap_concur_upload_receipt_image","sap_s4hana_create_business_partner","sap_s4hana_create_purchase_order","sap_s4hana_create_purchase_requisition","sap_s4hana_create_sales_order","sap_s4hana_delete_sales_order","sap_s4hana_get_billing_document","sap_s4hana_get_business_partner","sap_s4hana_get_customer","sap_s4hana_get_inbound_delivery","sap_s4hana_get_material_document","sap_s4hana_get_outbound_delivery","sap_s4hana_get_product","sap_s4hana_get_purchase_order","sap_s4hana_get_purchase_requisition","sap_s4hana_get_sales_order","sap_s4hana_get_supplier","sap_s4hana_get_supplier_invoice","sap_s4hana_list_billing_documents","sap_s4hana_list_business_partners","sap_s4hana_list_customers","sap_s4hana_list_inbound_deliveries","sap_s4hana_list_material_documents","sap_s4hana_list_material_stock","sap_s4hana_list_outbound_deliveries","sap_s4hana_list_products","sap_s4hana_list_purchase_orders","sap_s4hana_list_purchase_requisitions","sap_s4hana_list_sales_orders","sap_s4hana_list_supplier_invoices","sap_s4hana_list_suppliers","sap_s4hana_odata_query","sap_s4hana_update_business_partner","sap_s4hana_update_customer","sap_s4hana_update_product","sap_s4hana_update_purchase_order","sap_s4hana_update_purchase_requisition","sap_s4hana_update_sales_order","sap_s4hana_update_supplier","search_tool","secrets_manager_create_secret","secrets_manager_delete_secret","secrets_manager_describe_secret","secrets_manager_get_secret","secrets_manager_list_secrets","secrets_manager_restore_secret","secrets_manager_rotate_secret","secrets_manager_tag_resource","secrets_manager_untag_resource","secrets_manager_update_secret","semrush_backlinks","semrush_backlinks_anchors","semrush_backlinks_competitors","semrush_backlinks_geo_distribution","semrush_backlinks_indexed_pages","semrush_backlinks_overview","semrush_backlinks_tld_distribution","semrush_batch_keyword_overview","semrush_broad_match_keywords","semrush_domain_ad_copies","semrush_domain_ad_history","semrush_domain_organic_competitors","semrush_domain_organic_keywords","semrush_domain_overview","semrush_domain_overview_all","semrush_domain_overview_history","semrush_domain_paid_competitors","semrush_domain_paid_keywords","semrush_domain_pla_copies","semrush_domain_pla_keywords","semrush_domain_vs_domain","semrush_keyword_ad_history","semrush_keyword_difficulty","semrush_keyword_overview","semrush_keyword_overview_all","semrush_keyword_questions","semrush_organic_results","semrush_paid_results","semrush_referring_domains","semrush_referring_ips","semrush_related_keywords","semrush_subdomain_ad_copies","semrush_subdomain_organic_keywords","semrush_subdomain_overview","semrush_subdomain_overview_all","semrush_subdomain_overview_history","semrush_subdomain_paid_keywords","semrush_top_domains","semrush_url_organic_keywords","semrush_url_overview","semrush_url_overview_all","semrush_url_overview_history","semrush_url_paid_keywords","semrush_winners_and_losers","sendblue_evaluate_service","sendblue_get_message","sendblue_send_group_message","sendblue_send_message","sendblue_send_typing_indicator","sendgrid_add_contact","sendgrid_add_contacts_to_list","sendgrid_create_list","sendgrid_create_template","sendgrid_create_template_version","sendgrid_delete_contacts","sendgrid_delete_list","sendgrid_delete_template","sendgrid_get_contact","sendgrid_get_list","sendgrid_get_template","sendgrid_list_all_lists","sendgrid_list_templates","sendgrid_remove_contacts_from_list","sendgrid_search_contacts","sendgrid_send_mail","sentry_events_get","sentry_events_list","sentry_issues_get","sentry_issues_list","sentry_issues_update","sentry_projects_create","sentry_projects_get","sentry_projects_list","sentry_projects_update","sentry_releases_create","sentry_releases_deploy","sentry_releases_list","sentry_teams_list","serper_search","servicenow_add_incident_comment","servicenow_aggregate","servicenow_close_incident","servicenow_create_change_request","servicenow_create_incident","servicenow_create_record","servicenow_delete_record","servicenow_download_attachment","servicenow_find_user","servicenow_get_change_next_states","servicenow_get_change_request","servicenow_get_ci","servicenow_get_incident","servicenow_get_knowledge_article","servicenow_get_requested_item","servicenow_list_approvals","servicenow_list_attachments","servicenow_list_catalog_items","servicenow_list_change_requests","servicenow_list_change_tasks","servicenow_list_ci_relationships","servicenow_list_group_members","servicenow_list_incidents","servicenow_list_requested_items","servicenow_order_catalog_item","servicenow_read_record","servicenow_resolve_incident","servicenow_search_cis","servicenow_search_knowledge","servicenow_update_approval","servicenow_update_change_request","servicenow_update_change_state","servicenow_update_incident","servicenow_update_record","servicenow_upload_attachment","ses_create_configuration_set","ses_create_email_identity","ses_create_template","ses_delete_email_identity","ses_delete_suppressed_destination","ses_delete_template","ses_get_account","ses_get_email_identity","ses_get_suppressed_destination","ses_get_template","ses_list_identities","ses_list_suppressed_destinations","ses_list_templates","ses_put_suppressed_destination","ses_send_bulk_email","ses_send_custom_verification_email","ses_send_email","ses_send_templated_email","ses_update_template","sftp_delete","sftp_download","sftp_list","sftp_mkdir","sftp_upload","sharepoint_add_list_items","sharepoint_create_list","sharepoint_create_page","sharepoint_delete_file","sharepoint_delete_list_item","sharepoint_delete_page","sharepoint_download_file","sharepoint_get_drive_item","sharepoint_get_list","sharepoint_get_list_item","sharepoint_list_sites","sharepoint_publish_page","sharepoint_read_page","sharepoint_update_list","sharepoint_update_page","sharepoint_upload_file","shopify_adjust_inventory","shopify_cancel_order","shopify_create_customer","shopify_create_fulfillment","shopify_create_product","shopify_delete_customer","shopify_delete_product","shopify_get_collection","shopify_get_customer","shopify_get_inventory_level","shopify_get_order","shopify_get_product","shopify_list_collections","shopify_list_customers","shopify_list_inventory_items","shopify_list_locations","shopify_list_orders","shopify_list_products","shopify_update_customer","shopify_update_order","shopify_update_product","similarweb_bounce_rate","similarweb_page_views","similarweb_pages_per_visit","similarweb_traffic_visits","similarweb_visit_duration","similarweb_website_overview","sixtyfour_enrich_company","sixtyfour_enrich_lead","sixtyfour_find_email","sixtyfour_find_phone","slack_add_reaction","slack_archive_conversation","slack_canvas","slack_create_channel_canvas","slack_create_conversation","slack_delete_canvas","slack_delete_message","slack_delete_scheduled_message","slack_download","slack_edit_canvas","slack_ephemeral_message","slack_get_canvas","slack_get_channel_history","slack_get_channel_info","slack_get_message","slack_get_permalink","slack_get_thread","slack_get_thread_replies","slack_get_user","slack_get_user_presence","slack_invite_to_conversation","slack_list_canvases","slack_list_channels","slack_list_members","slack_list_scheduled_messages","slack_list_users","slack_lookup_canvas_sections","slack_message","slack_message_reader","slack_open_view","slack_publish_view","slack_push_view","slack_remove_reaction","slack_rename_agent_session_v2","slack_rename_conversation","slack_schedule_message","slack_set_agent_session_status_v2","slack_set_conversation_purpose","slack_set_conversation_topic","slack_set_status","slack_set_suggested_prompts","slack_set_suggested_prompts_v2","slack_set_title","slack_update_message","slack_update_view","smartlead_add_email_accounts_to_campaign","smartlead_add_leads_to_campaign","smartlead_create_campaign","smartlead_create_lead_list","smartlead_delete_campaign","smartlead_delete_campaign_webhook","smartlead_delete_lead_from_campaign","smartlead_delete_lead_list","smartlead_duplicate_campaign","smartlead_export_campaign_leads","smartlead_get_campaign","smartlead_get_campaign_analytics","smartlead_get_campaign_analytics_by_date","smartlead_get_campaign_lead_statistics","smartlead_get_campaign_mailbox_statistics","smartlead_get_campaign_sequences","smartlead_get_campaign_statistics","smartlead_get_campaign_top_level_analytics_by_date","smartlead_get_campaign_webhook_summary","smartlead_get_lead_by_email","smartlead_get_lead_by_id","smartlead_get_lead_list","smartlead_get_lead_message_history","smartlead_list_campaign_email_accounts","smartlead_list_campaign_leads","smartlead_list_campaign_webhooks","smartlead_list_campaigns","smartlead_list_clients","smartlead_list_email_accounts","smartlead_list_inbox_replies","smartlead_list_lead_activities","smartlead_list_lead_categories","smartlead_list_lead_lists","smartlead_mark_lead_complete","smartlead_pause_lead","smartlead_remove_email_accounts_from_campaign","smartlead_resume_lead","smartlead_save_campaign_sequences","smartlead_unsubscribe_lead_from_campaign","smartlead_unsubscribe_lead_globally","smartlead_update_campaign_schedule","smartlead_update_campaign_settings","smartlead_update_campaign_status","smartlead_update_lead","smartlead_update_lead_category","smartlead_update_lead_list","smartlead_upsert_campaign_webhook","sms_send","smtp_send_mail","snowflake_alter_warehouse","snowflake_call_procedure","snowflake_cancel_statement","snowflake_cancel_task_run","snowflake_delete_rows","snowflake_execute_sql","snowflake_get_statement","snowflake_get_task","snowflake_get_task_run","snowflake_get_task_run_output","snowflake_get_warehouse","snowflake_insert_rows","snowflake_introspect_schema","snowflake_list_copy_history","snowflake_list_databases","snowflake_list_query_history","snowflake_list_schemas","snowflake_list_tables","snowflake_list_task_runs","snowflake_list_tasks","snowflake_list_warehouses","snowflake_load_data","snowflake_resume_task","snowflake_resume_warehouse","snowflake_run_task","snowflake_suspend_task","snowflake_suspend_warehouse","snowflake_unload_data","snowflake_update_rows","snowflake_upsert_rows","splunk_cancel_search_job","splunk_create_search_job","splunk_dispatch_saved_search","splunk_get_fired_alerts","splunk_get_saved_search","splunk_get_search_job","splunk_get_search_results","splunk_list_apps","splunk_list_fired_alerts","splunk_list_indexes","splunk_list_saved_searches","splunk_run_search","sportmonks_core_get_cities","sportmonks_core_get_city","sportmonks_core_get_continent","sportmonks_core_get_continents","sportmonks_core_get_countries","sportmonks_core_get_country","sportmonks_core_get_entity_filters","sportmonks_core_get_my_usage","sportmonks_core_get_region","sportmonks_core_get_regions","sportmonks_core_get_timezones","sportmonks_core_get_type","sportmonks_core_get_type_by_entity","sportmonks_core_get_types","sportmonks_core_search_cities","sportmonks_core_search_countries","sportmonks_core_search_regions","sportmonks_football_expected_by_player","sportmonks_football_expected_by_team","sportmonks_football_get_all_commentaries","sportmonks_football_get_all_fixtures","sportmonks_football_get_all_players","sportmonks_football_get_all_rivals","sportmonks_football_get_all_teams","sportmonks_football_get_all_transfer_rumours","sportmonks_football_get_all_transfers","sportmonks_football_get_brackets_by_season","sportmonks_football_get_coach","sportmonks_football_get_coaches","sportmonks_football_get_coaches_by_country","sportmonks_football_get_commentaries_by_fixture","sportmonks_football_get_current_leagues_by_team","sportmonks_football_get_expected_lineups_by_player","sportmonks_football_get_expected_lineups_by_team","sportmonks_football_get_extended_team_squad","sportmonks_football_get_fixture","sportmonks_football_get_fixtures_by_date","sportmonks_football_get_fixtures_by_date_range","sportmonks_football_get_fixtures_by_date_range_for_team","sportmonks_football_get_fixtures_by_ids","sportmonks_football_get_grouped_standings_by_round","sportmonks_football_get_head_to_head","sportmonks_football_get_inplay_livescores","sportmonks_football_get_latest_coaches","sportmonks_football_get_latest_fixtures","sportmonks_football_get_latest_livescores","sportmonks_football_get_latest_players","sportmonks_football_get_latest_totw","sportmonks_football_get_latest_transfers","sportmonks_football_get_league","sportmonks_football_get_leagues","sportmonks_football_get_leagues_by_country","sportmonks_football_get_leagues_by_date","sportmonks_football_get_leagues_by_team","sportmonks_football_get_live_leagues","sportmonks_football_get_live_probabilities","sportmonks_football_get_live_probabilities_by_fixture","sportmonks_football_get_live_standings_by_league","sportmonks_football_get_livescores","sportmonks_football_get_match_facts","sportmonks_football_get_match_facts_by_date_range","sportmonks_football_get_match_facts_by_fixture","sportmonks_football_get_match_facts_by_league","sportmonks_football_get_past_fixtures_by_tv_station","sportmonks_football_get_player","sportmonks_football_get_players_by_country","sportmonks_football_get_postmatch_news","sportmonks_football_get_postmatch_news_by_season","sportmonks_football_get_predictability_by_league","sportmonks_football_get_prematch_news","sportmonks_football_get_prematch_news_by_season","sportmonks_football_get_prematch_news_upcoming","sportmonks_football_get_probabilities","sportmonks_football_get_probabilities_by_fixture","sportmonks_football_get_referee","sportmonks_football_get_referees","sportmonks_football_get_referees_by_country","sportmonks_football_get_referees_by_season","sportmonks_football_get_rivals_by_team","sportmonks_football_get_round","sportmonks_football_get_round_statistics","sportmonks_football_get_rounds","sportmonks_football_get_rounds_by_season","sportmonks_football_get_schedules_by_season","sportmonks_football_get_schedules_by_season_and_team","sportmonks_football_get_schedules_by_team","sportmonks_football_get_season","sportmonks_football_get_seasons","sportmonks_football_get_seasons_by_team","sportmonks_football_get_stage","sportmonks_football_get_stage_statistics","sportmonks_football_get_stages","sportmonks_football_get_stages_by_season","sportmonks_football_get_standing_corrections_by_season","sportmonks_football_get_standings","sportmonks_football_get_standings_by_round","sportmonks_football_get_standings_by_season","sportmonks_football_get_state","sportmonks_football_get_states","sportmonks_football_get_team","sportmonks_football_get_team_rankings","sportmonks_football_get_team_rankings_by_date","sportmonks_football_get_team_rankings_by_team","sportmonks_football_get_team_squad","sportmonks_football_get_team_squad_by_season","sportmonks_football_get_teams_by_country","sportmonks_football_get_teams_by_season","sportmonks_football_get_topscorers_by_season","sportmonks_football_get_topscorers_by_stage","sportmonks_football_get_totw","sportmonks_football_get_totw_by_round","sportmonks_football_get_transfer","sportmonks_football_get_transfer_rumour","sportmonks_football_get_transfer_rumours_between_dates","sportmonks_football_get_transfer_rumours_by_player","sportmonks_football_get_transfer_rumours_by_team","sportmonks_football_get_transfers_between_dates","sportmonks_football_get_transfers_by_player","sportmonks_football_get_transfers_by_team","sportmonks_football_get_tv_station","sportmonks_football_get_tv_stations","sportmonks_football_get_tv_stations_by_fixture","sportmonks_football_get_upcoming_fixtures_by_market","sportmonks_football_get_upcoming_fixtures_by_tv_station","sportmonks_football_get_value_bets","sportmonks_football_get_value_bets_by_fixture","sportmonks_football_get_venue","sportmonks_football_get_venues","sportmonks_football_get_venues_by_season","sportmonks_football_search_coaches","sportmonks_football_search_fixtures","sportmonks_football_search_leagues","sportmonks_football_search_players","sportmonks_football_search_referees","sportmonks_football_search_rounds","sportmonks_football_search_seasons","sportmonks_football_search_stages","sportmonks_football_search_teams","sportmonks_football_search_venues","sportmonks_motorsport_get_all_fixtures","sportmonks_motorsport_get_current_leagues_by_team","sportmonks_motorsport_get_driver","sportmonks_motorsport_get_driver_standings","sportmonks_motorsport_get_driver_standings_by_season","sportmonks_motorsport_get_drivers","sportmonks_motorsport_get_drivers_by_country","sportmonks_motorsport_get_drivers_by_season","sportmonks_motorsport_get_fixture","sportmonks_motorsport_get_fixtures_by_date","sportmonks_motorsport_get_fixtures_by_date_range","sportmonks_motorsport_get_fixtures_by_ids","sportmonks_motorsport_get_laps_by_fixture","sportmonks_motorsport_get_laps_by_fixture_and_driver","sportmonks_motorsport_get_laps_by_fixture_and_lap","sportmonks_motorsport_get_latest_laps_by_fixture","sportmonks_motorsport_get_latest_pitstops_by_fixture","sportmonks_motorsport_get_latest_stints_by_fixture","sportmonks_motorsport_get_latest_updated_drivers","sportmonks_motorsport_get_latest_updated_fixtures","sportmonks_motorsport_get_league","sportmonks_motorsport_get_leagues","sportmonks_motorsport_get_leagues_by_country","sportmonks_motorsport_get_leagues_by_date","sportmonks_motorsport_get_leagues_by_live","sportmonks_motorsport_get_leagues_by_team","sportmonks_motorsport_get_livescores","sportmonks_motorsport_get_pitstops_by_fixture","sportmonks_motorsport_get_pitstops_by_fixture_and_driver","sportmonks_motorsport_get_pitstops_by_fixture_and_lap","sportmonks_motorsport_get_race_results_by_season_and_driver","sportmonks_motorsport_get_race_results_by_season_and_team","sportmonks_motorsport_get_schedules_by_season","sportmonks_motorsport_get_season","sportmonks_motorsport_get_seasons","sportmonks_motorsport_get_stage","sportmonks_motorsport_get_stages","sportmonks_motorsport_get_stages_by_season","sportmonks_motorsport_get_state","sportmonks_motorsport_get_states","sportmonks_motorsport_get_stints_by_fixture","sportmonks_motorsport_get_stints_by_fixture_and_driver","sportmonks_motorsport_get_stints_by_fixture_and_stint","sportmonks_motorsport_get_team","sportmonks_motorsport_get_team_standings","sportmonks_motorsport_get_team_standings_by_season","sportmonks_motorsport_get_teams","sportmonks_motorsport_get_teams_by_country","sportmonks_motorsport_get_teams_by_season","sportmonks_motorsport_get_venue","sportmonks_motorsport_get_venues","sportmonks_motorsport_get_venues_by_season","sportmonks_motorsport_search_drivers","sportmonks_motorsport_search_leagues","sportmonks_motorsport_search_stages","sportmonks_motorsport_search_teams","sportmonks_motorsport_search_venues","sportmonks_odds_get_all_historical_odds","sportmonks_odds_get_all_inplay_odds","sportmonks_odds_get_all_pre_match_odds","sportmonks_odds_get_all_premium_odds","sportmonks_odds_get_bookmaker","sportmonks_odds_get_bookmaker_event_ids_by_fixture","sportmonks_odds_get_bookmakers","sportmonks_odds_get_bookmakers_by_fixture","sportmonks_odds_get_inplay_odds_by_fixture","sportmonks_odds_get_inplay_odds_by_fixture_and_bookmaker","sportmonks_odds_get_inplay_odds_by_fixture_and_market","sportmonks_odds_get_last_updated_inplay_odds","sportmonks_odds_get_last_updated_pre_match_odds","sportmonks_odds_get_market","sportmonks_odds_get_markets","sportmonks_odds_get_pre_match_odds_by_fixture","sportmonks_odds_get_pre_match_odds_by_fixture_and_bookmaker","sportmonks_odds_get_pre_match_odds_by_fixture_and_market","sportmonks_odds_get_premium_odds_by_fixture","sportmonks_odds_get_premium_odds_by_fixture_and_bookmaker","sportmonks_odds_get_premium_odds_by_fixture_and_market","sportmonks_odds_get_updated_historical_odds_between","sportmonks_odds_get_updated_premium_odds_between","sportmonks_odds_search_bookmakers","sportmonks_odds_search_markets","spotify_add_playlist_cover","spotify_add_to_queue","spotify_add_tracks_to_playlist","spotify_check_following","spotify_check_playlist_followers","spotify_check_saved_albums","spotify_check_saved_audiobooks","spotify_check_saved_episodes","spotify_check_saved_shows","spotify_check_saved_tracks","spotify_create_playlist","spotify_follow_artists","spotify_follow_playlist","spotify_get_album","spotify_get_album_tracks","spotify_get_albums","spotify_get_artist","spotify_get_artist_albums","spotify_get_artist_top_tracks","spotify_get_artists","spotify_get_audiobook","spotify_get_audiobook_chapters","spotify_get_audiobooks","spotify_get_categories","spotify_get_current_user","spotify_get_currently_playing","spotify_get_devices","spotify_get_episode","spotify_get_episodes","spotify_get_followed_artists","spotify_get_markets","spotify_get_new_releases","spotify_get_playback_state","spotify_get_playlist","spotify_get_playlist_cover","spotify_get_playlist_tracks","spotify_get_queue","spotify_get_recently_played","spotify_get_saved_albums","spotify_get_saved_audiobooks","spotify_get_saved_episodes","spotify_get_saved_shows","spotify_get_saved_tracks","spotify_get_show","spotify_get_show_episodes","spotify_get_shows","spotify_get_top_artists","spotify_get_top_tracks","spotify_get_track","spotify_get_tracks","spotify_get_user_playlists","spotify_get_user_profile","spotify_pause","spotify_play","spotify_remove_saved_albums","spotify_remove_saved_audiobooks","spotify_remove_saved_episodes","spotify_remove_saved_shows","spotify_remove_saved_tracks","spotify_remove_tracks_from_playlist","spotify_reorder_playlist_items","spotify_replace_playlist_items","spotify_save_albums","spotify_save_audiobooks","spotify_save_episodes","spotify_save_shows","spotify_save_tracks","spotify_search","spotify_seek","spotify_set_repeat","spotify_set_shuffle","spotify_set_volume","spotify_skip_next","spotify_skip_previous","spotify_transfer_playback","spotify_unfollow_artists","spotify_unfollow_playlist","spotify_update_playlist","sqs_send","square_batch_retrieve_inventory_counts","square_cancel_invoice","square_cancel_payment","square_complete_payment","square_create_catalog_image","square_create_customer","square_create_invoice","square_create_order","square_create_payment","square_delete_catalog_object","square_delete_customer","square_delete_invoice","square_get_catalog_object","square_get_customer","square_get_invoice","square_get_location","square_get_order","square_get_payment","square_get_refund","square_list_catalog","square_list_customers","square_list_invoices","square_list_locations","square_list_payments","square_list_refunds","square_pay_order","square_publish_invoice","square_refund_payment","square_search_catalog_objects","square_search_customers","square_search_invoices","square_search_orders","square_update_customer","square_upsert_catalog_object","ssh_check_command_exists","ssh_check_file_exists","ssh_create_directory","ssh_delete_file","ssh_download_file","ssh_execute_command","ssh_execute_script","ssh_get_system_info","ssh_list_directory","ssh_move_rename","ssh_read_file_content","ssh_upload_file","ssh_write_file_content","stagehand_agent","stagehand_extract","stripe_cancel_payment_intent","stripe_cancel_subscription","stripe_capture_charge","stripe_capture_payment_intent","stripe_confirm_payment_intent","stripe_create_charge","stripe_create_customer","stripe_create_invoice","stripe_create_payment_intent","stripe_create_price","stripe_create_product","stripe_create_subscription","stripe_delete_customer","stripe_delete_invoice","stripe_delete_product","stripe_finalize_invoice","stripe_list_charges","stripe_list_customers","stripe_list_events","stripe_list_invoices","stripe_list_payment_intents","stripe_list_prices","stripe_list_products","stripe_list_subscriptions","stripe_pay_invoice","stripe_resume_subscription","stripe_retrieve_charge","stripe_retrieve_customer","stripe_retrieve_event","stripe_retrieve_invoice","stripe_retrieve_payment_intent","stripe_retrieve_price","stripe_retrieve_product","stripe_retrieve_subscription","stripe_search_charges","stripe_search_customers","stripe_search_invoices","stripe_search_payment_intents","stripe_search_prices","stripe_search_products","stripe_search_subscriptions","stripe_send_invoice","stripe_update_charge","stripe_update_customer","stripe_update_invoice","stripe_update_payment_intent","stripe_update_price","stripe_update_product","stripe_update_subscription","stripe_void_invoice","sts_assume_role","sts_assume_role_with_saml","sts_assume_role_with_web_identity","sts_get_access_key_info","sts_get_caller_identity","sts_get_session_token","stt_assemblyai","stt_assemblyai_v2","stt_deepgram","stt_deepgram_v2","stt_elevenlabs","stt_elevenlabs_v2","stt_gemini","stt_gemini_v2","stt_whisper","stt_whisper_v2","supabase_count","supabase_delete","supabase_get_row","supabase_insert","supabase_introspect","supabase_invoke_function","supabase_query","supabase_rpc","supabase_storage_copy","supabase_storage_create_bucket","supabase_storage_create_signed_upload_url","supabase_storage_create_signed_url","supabase_storage_delete","supabase_storage_delete_bucket","supabase_storage_download","supabase_storage_empty_bucket","supabase_storage_get_public_url","supabase_storage_list","supabase_storage_list_buckets","supabase_storage_move","supabase_storage_update_bucket","supabase_storage_upload","supabase_text_search","supabase_update","supabase_upsert","supabase_vector_search","table_batch_insert_rows","table_create","table_delete_row","table_delete_rows_by_filter","table_get_row","table_get_schema","table_insert_row","table_list","table_query_rows","table_query_rows_v2","table_update_row","table_update_rows_by_filter","table_upsert_row","tailscale_authorize_device","tailscale_create_auth_key","tailscale_delete_auth_key","tailscale_delete_device","tailscale_delete_user","tailscale_expire_device_key","tailscale_get_acl","tailscale_get_auth_key","tailscale_get_device","tailscale_get_device_routes","tailscale_get_dns_preferences","tailscale_get_dns_searchpaths","tailscale_list_auth_keys","tailscale_list_devices","tailscale_list_dns_nameservers","tailscale_list_users","tailscale_set_acl","tailscale_set_device_routes","tailscale_set_device_tags","tailscale_set_dns_nameservers","tailscale_set_dns_preferences","tailscale_set_dns_searchpaths","tailscale_suspend_user","tailscale_update_device_key","tavily_crawl","tavily_extract","tavily_map","tavily_search","telegram_copy_message","telegram_delete_message","telegram_edit_message_text","telegram_forward_message","telegram_get_chat","telegram_get_chat_member","telegram_message","telegram_pin_message","telegram_send_animation","telegram_send_audio","telegram_send_chat_action","telegram_send_contact","telegram_send_document","telegram_send_location","telegram_send_photo","telegram_send_poll","telegram_send_video","telegram_set_message_reaction","telegram_unpin_message","temporal_cancel_workflow","temporal_count_workflows","temporal_create_schedule","temporal_delete_schedule","temporal_describe_schedule","temporal_describe_task_queue","temporal_describe_workflow","temporal_get_workflow_history","temporal_list_schedules","temporal_list_workflows","temporal_pause_schedule","temporal_query_workflow","temporal_reset_workflow","temporal_signal_with_start","temporal_signal_workflow","temporal_start_workflow","temporal_terminate_workflow","temporal_trigger_schedule","temporal_unpause_schedule","temporal_update_workflow","textract_analyze_expense","textract_analyze_id","textract_parser","textract_parser_v2","thinking_tool","thrive_add_audience_managers","thrive_add_audience_members","thrive_add_user_tags","thrive_create_assignment","thrive_create_audience","thrive_create_completion","thrive_create_user","thrive_delete_assignment","thrive_delete_audience","thrive_delete_user","thrive_get_activity","thrive_get_assignment","thrive_get_audience","thrive_get_completion","thrive_get_content","thrive_get_cpd_category","thrive_get_cpd_entry","thrive_get_cpd_requirement","thrive_get_enrolment","thrive_get_skill_levels","thrive_get_tag","thrive_get_user_by_id","thrive_get_user_by_ref","thrive_list_assignments","thrive_list_audience_managers","thrive_list_audience_members","thrive_list_audiences","thrive_list_completions","thrive_list_enrolments","thrive_list_tags","thrive_query_activities","thrive_query_content","thrive_query_cpd_categories","thrive_query_cpd_entries","thrive_query_cpd_requirements","thrive_query_cpd_user_summaries","thrive_remove_audience_manager","thrive_remove_audience_member","thrive_remove_user_tags","thrive_replace_audience_managers","thrive_replace_audience_members","thrive_search_users","thrive_suspend_user","thrive_update_assignment","thrive_update_audience","thrive_update_user","thrive_update_user_skills","tiktok_get_post_status","tiktok_get_user","tiktok_list_videos","tiktok_query_videos","tiktok_upload_video_draft","tinybird_append_datasource","tinybird_delete_datasource_rows","tinybird_events","tinybird_get_job","tinybird_query","tinybird_query_pipe","tinybird_truncate_datasource","tinyfish_cancel_run","tinyfish_fetch","tinyfish_get_run","tinyfish_list_runs","tinyfish_list_vault_items","tinyfish_run","tinyfish_run_async","tinyfish_search","trello_add_checklist","trello_add_checklist_item","trello_add_comment","trello_add_label","trello_add_member","trello_create_board","trello_create_card","trello_create_list","trello_delete_card","trello_get_actions","trello_get_board","trello_get_card","trello_list_cards","trello_list_lists","trello_list_members","trello_remove_label","trello_remove_member","trello_search","trello_update_card","trello_update_checklist_item","trello_update_list","trigger_dev_activate_schedule","trigger_dev_add_run_tags","trigger_dev_batch_trigger_task","trigger_dev_cancel_run","trigger_dev_complete_waitpoint_token","trigger_dev_create_env_var","trigger_dev_create_schedule","trigger_dev_create_waitpoint_token","trigger_dev_deactivate_schedule","trigger_dev_delete_env_var","trigger_dev_delete_schedule","trigger_dev_execute_query","trigger_dev_get_batch","trigger_dev_get_batch_results","trigger_dev_get_deployment","trigger_dev_get_env_var","trigger_dev_get_latest_deployment","trigger_dev_get_query_schema","trigger_dev_get_queue","trigger_dev_get_run","trigger_dev_get_run_events","trigger_dev_get_run_result","trigger_dev_get_run_trace","trigger_dev_get_schedule","trigger_dev_get_waitpoint_token","trigger_dev_import_env_vars","trigger_dev_list_deployments","trigger_dev_list_env_vars","trigger_dev_list_queues","trigger_dev_list_runs","trigger_dev_list_schedules","trigger_dev_list_timezones","trigger_dev_list_waitpoint_tokens","trigger_dev_override_queue_concurrency","trigger_dev_pause_queue","trigger_dev_promote_deployment","trigger_dev_replay_run","trigger_dev_reschedule_run","trigger_dev_reset_queue_concurrency","trigger_dev_resume_queue","trigger_dev_trigger_task","trigger_dev_update_env_var","trigger_dev_update_run_metadata","trigger_dev_update_schedule","tts_azure","tts_cartesia","tts_deepgram","tts_elevenlabs","tts_google","tts_openai","tts_playht","twilio_send_sms","twilio_voice_get_recording","twilio_voice_list_calls","twilio_voice_make_call","typeform_create_form","typeform_delete_form","typeform_files","typeform_get_form","typeform_insights","typeform_list_forms","typeform_responses","typeform_update_form","upstash_redis_command","upstash_redis_delete","upstash_redis_exists","upstash_redis_expire","upstash_redis_get","upstash_redis_hget","upstash_redis_hgetall","upstash_redis_hset","upstash_redis_incr","upstash_redis_incrby","upstash_redis_keys","upstash_redis_lpush","upstash_redis_lrange","upstash_redis_set","upstash_redis_setnx","upstash_redis_ttl","uptimerobot_create_alert_contact","uptimerobot_create_maintenance_window","uptimerobot_create_monitor","uptimerobot_create_psp","uptimerobot_delete_alert_contact","uptimerobot_delete_maintenance_window","uptimerobot_delete_monitor","uptimerobot_delete_psp","uptimerobot_get_account","uptimerobot_get_alert_contact","uptimerobot_get_incident","uptimerobot_get_maintenance_window","uptimerobot_get_monitor","uptimerobot_get_psp","uptimerobot_list_alert_contacts","uptimerobot_list_incidents","uptimerobot_list_maintenance_windows","uptimerobot_list_monitors","uptimerobot_list_psps","uptimerobot_pause_monitor","uptimerobot_start_monitor","uptimerobot_update_maintenance_window","uptimerobot_update_monitor","uptimerobot_update_psp","vanta_download_document_file","vanta_get_control","vanta_get_document","vanta_get_framework","vanta_get_person","vanta_get_policy","vanta_get_risk_scenario","vanta_get_test","vanta_get_vendor","vanta_get_vulnerable_asset","vanta_list_control_documents","vanta_list_control_tests","vanta_list_controls","vanta_list_document_uploads","vanta_list_documents","vanta_list_framework_controls","vanta_list_frameworks","vanta_list_monitored_computers","vanta_list_people","vanta_list_policies","vanta_list_risk_scenarios","vanta_list_test_entities","vanta_list_tests","vanta_list_vendors","vanta_list_vulnerabilities","vanta_list_vulnerability_remediations","vanta_list_vulnerable_assets","vanta_submit_document","vanta_upload_document_file","vercel_add_domain","vercel_add_project_domain","vercel_cancel_deployment","vercel_create_alias","vercel_create_check","vercel_create_deployment","vercel_create_dns_record","vercel_create_edge_config","vercel_create_env_var","vercel_create_project","vercel_create_webhook","vercel_delete_alias","vercel_delete_deployment","vercel_delete_dns_record","vercel_delete_domain","vercel_delete_edge_config","vercel_delete_env_var","vercel_delete_project","vercel_delete_webhook","vercel_get_alias","vercel_get_check","vercel_get_deployment","vercel_get_deployment_events","vercel_get_domain","vercel_get_domain_config","vercel_get_edge_config","vercel_get_edge_config_items","vercel_get_env_vars","vercel_get_project","vercel_get_team","vercel_get_user","vercel_get_webhook","vercel_list_aliases","vercel_list_checks","vercel_list_deployment_files","vercel_list_deployments","vercel_list_dns_records","vercel_list_domains","vercel_list_edge_configs","vercel_list_project_domains","vercel_list_projects","vercel_list_team_members","vercel_list_teams","vercel_list_webhooks","vercel_pause_project","vercel_promote_deployment","vercel_remove_project_domain","vercel_rerequest_check","vercel_unpause_project","vercel_update_check","vercel_update_dns_record","vercel_update_edge_config_items","vercel_update_env_var","vercel_update_project","vercel_update_project_domain","vercel_verify_project_domain","video_falai","video_luma","video_minimax","video_runway","video_veo","vision_tool","vision_tool_v2","wealthbox_read_contact","wealthbox_read_note","wealthbox_read_task","wealthbox_write_contact","wealthbox_write_note","wealthbox_write_task","webflow_create_item","webflow_delete_item","webflow_get_item","webflow_list_items","webflow_update_item","webhook_request","whatsapp_get_media","whatsapp_mark_read","whatsapp_send_interactive","whatsapp_send_media","whatsapp_send_message","whatsapp_send_reaction","whatsapp_send_template","whatsapp_upload_media","wikipedia_content","wikipedia_random","wikipedia_search","wikipedia_summary","windchill_check_in_document","windchill_check_in_documents","windchill_check_out_document","windchill_check_out_documents","windchill_create_document","windchill_create_documents","windchill_delete_document","windchill_delete_documents","windchill_download_attachment","windchill_download_primary_content","windchill_get_document","windchill_get_document_structure","windchill_get_primary_content","windchill_get_valid_state_transitions","windchill_list_attachments","windchill_list_documents","windchill_revise_document","windchill_revise_documents","windchill_set_lifecycle_state","windchill_undo_check_out_document","windchill_undo_check_out_documents","windchill_update_common_properties","windchill_update_document","windchill_update_document_security_labels","windchill_update_documents","windchill_upload_attachments","windchill_upload_primary_content","wiza_company_enrichment","wiza_get_credits","wiza_individual_reveal","wiza_prospect_search","wordpress_create_category","wordpress_create_comment","wordpress_create_page","wordpress_create_post","wordpress_create_tag","wordpress_delete_category","wordpress_delete_comment","wordpress_delete_media","wordpress_delete_page","wordpress_delete_post","wordpress_delete_tag","wordpress_get_category","wordpress_get_current_user","wordpress_get_media","wordpress_get_page","wordpress_get_post","wordpress_get_tag","wordpress_get_user","wordpress_list_categories","wordpress_list_comments","wordpress_list_media","wordpress_list_pages","wordpress_list_posts","wordpress_list_tags","wordpress_list_users","wordpress_search_content","wordpress_update_category","wordpress_update_comment","wordpress_update_page","wordpress_update_post","wordpress_update_tag","wordpress_upload_media","workday_assign_onboarding","workday_change_job","workday_create_prehire","workday_get_compensation","workday_get_organizations","workday_get_worker","workday_hire_employee","workday_list_workers","workday_terminate_worker","workday_update_worker","workflow_executor","x_create_bookmark","x_create_tweet","x_delete_bookmark","x_delete_tweet","x_get_blocking","x_get_bookmarks","x_get_followers","x_get_following","x_get_liked_tweets","x_get_liking_users","x_get_me","x_get_personalized_trends","x_get_quote_tweets","x_get_retweeted_by","x_get_trends_by_woeid","x_get_tweets_by_ids","x_get_usage","x_get_user_mentions","x_get_user_timeline","x_get_user_tweets","x_hide_reply","x_manage_block","x_manage_follow","x_manage_like","x_manage_mute","x_manage_retweet","x_read","x_search","x_search_tweets","x_search_users","x_user","x_write","youtube_channel_info","youtube_channel_playlists","youtube_channel_videos","youtube_comments","youtube_playlist_items","youtube_search","youtube_trending","youtube_video_categories","youtube_video_details","zendesk_autocomplete_organizations","zendesk_create_organization","zendesk_create_organizations_bulk","zendesk_create_ticket","zendesk_create_tickets_bulk","zendesk_create_user","zendesk_create_users_bulk","zendesk_delete_organization","zendesk_delete_ticket","zendesk_delete_user","zendesk_get_current_user","zendesk_get_organization","zendesk_get_organizations","zendesk_get_ticket","zendesk_get_tickets","zendesk_get_user","zendesk_get_users","zendesk_merge_tickets","zendesk_search","zendesk_search_count","zendesk_search_users","zendesk_update_organization","zendesk_update_ticket","zendesk_update_tickets_bulk","zendesk_update_user","zendesk_update_users_bulk","zep_add_messages","zep_add_user","zep_create_thread","zep_delete_thread","zep_get_context","zep_get_messages","zep_get_threads","zep_get_user","zep_get_user_threads","zerobounce_get_credits","zerobounce_verify_email","zoho_desk_add_comment","zoho_desk_get_attachment","zoho_desk_get_contact","zoho_desk_get_thread","zoho_desk_get_ticket","zoho_desk_list_comments","zoho_desk_list_organizations","zoho_desk_list_threads","zoho_desk_list_tickets","zoho_desk_update_ticket","zoom_create_meeting","zoom_delete_meeting","zoom_delete_recording","zoom_get_meeting","zoom_get_meeting_invitation","zoom_get_meeting_recordings","zoom_list_meetings","zoom_list_past_participants","zoom_list_recordings","zoom_update_meeting","zoominfo_enrich_companies","zoominfo_enrich_contacts","zoominfo_search_companies","zoominfo_search_contacts","zoominfo_search_intent","zoominfo_search_news"]' + '["a2a_cancel_task","a2a_get_agent_card","a2a_get_task","a2a_send_message","affinity_batch_update_entity_fields","affinity_batch_update_list_entry_fields","affinity_create_list","affinity_create_list_field_dropdown_option","affinity_create_merge","affinity_create_note","affinity_create_reminder","affinity_delete_list_field_dropdown_option","affinity_delete_note","affinity_get_company","affinity_get_current_user","affinity_get_entity_field_value","affinity_get_list","affinity_get_list_entry","affinity_get_list_entry_field","affinity_get_list_field_dropdown_option","affinity_get_merge","affinity_get_merge_task","affinity_get_note","affinity_get_opportunity","affinity_get_person","affinity_get_saved_view","affinity_get_transcript","affinity_get_user","affinity_list_calls","affinity_list_chat_messages","affinity_list_companies","affinity_list_coworker_connections","affinity_list_emails","affinity_list_entity_field_values","affinity_list_entity_list_entries","affinity_list_entity_lists","affinity_list_entity_notes","affinity_list_entity_relationships","affinity_list_field_dropdown_options","affinity_list_field_metadata","affinity_list_field_value_changes","affinity_list_investor_executive_connections","affinity_list_list_entries","affinity_list_list_entry_field_value_changes","affinity_list_list_entry_fields","affinity_list_list_field_dropdown_options","affinity_list_list_fields","affinity_list_lists","affinity_list_meetings","affinity_list_merge_tasks","affinity_list_merges","affinity_list_note_attached_companies","affinity_list_note_attached_opportunities","affinity_list_note_attached_persons","affinity_list_note_replies","affinity_list_notes","affinity_list_opportunities","affinity_list_persons","affinity_list_reminders","affinity_list_saved_view_entries","affinity_list_saved_views","affinity_list_transcript_fragments","affinity_list_transcripts","affinity_list_users","affinity_search_companies","affinity_search_files","affinity_search_list_entries","affinity_search_notes","affinity_search_persons","affinity_semantic_search","affinity_update_entity_field_value","affinity_update_list_entry_field","affinity_update_list_field_dropdown_option","affinity_update_note","agentmail_create_draft","agentmail_create_inbox","agentmail_delete_draft","agentmail_delete_inbox","agentmail_delete_thread","agentmail_forward_message","agentmail_get_draft","agentmail_get_inbox","agentmail_get_message","agentmail_get_thread","agentmail_list_drafts","agentmail_list_inboxes","agentmail_list_messages","agentmail_list_threads","agentmail_reply_message","agentmail_send_draft","agentmail_send_message","agentmail_update_draft","agentmail_update_inbox","agentmail_update_message","agentmail_update_thread","agentphone_create_call","agentphone_create_contact","agentphone_create_number","agentphone_delete_contact","agentphone_get_call","agentphone_get_call_transcript","agentphone_get_contact","agentphone_get_conversation","agentphone_get_conversation_messages","agentphone_get_number_messages","agentphone_get_usage","agentphone_get_usage_daily","agentphone_get_usage_monthly","agentphone_list_calls","agentphone_list_contacts","agentphone_list_conversations","agentphone_list_numbers","agentphone_react_to_message","agentphone_release_number","agentphone_send_message","agentphone_update_contact","agentphone_update_conversation","agiloft_async_status","agiloft_attach_file","agiloft_attachment_info","agiloft_create_record","agiloft_delete_record","agiloft_get_choice_line_id","agiloft_list_tables","agiloft_lock_record","agiloft_nlp_search","agiloft_read_record","agiloft_remove_attachment","agiloft_retrieve_attachment","agiloft_run_action_button","agiloft_saved_search","agiloft_search_records","agiloft_select_records","agiloft_update_record","agiloft_upsert_record","ahrefs_anchors","ahrefs_backlinks","ahrefs_backlinks_stats","ahrefs_batch_analysis","ahrefs_broken_backlinks","ahrefs_domain_rating","ahrefs_domain_rating_history","ahrefs_keyword_overview","ahrefs_keywords_history","ahrefs_metrics","ahrefs_metrics_history","ahrefs_organic_competitors","ahrefs_organic_keywords","ahrefs_paid_pages","ahrefs_rank_tracker_competitors_overview","ahrefs_rank_tracker_competitors_stats","ahrefs_rank_tracker_overview","ahrefs_rank_tracker_serp_overview","ahrefs_refdomains_history","ahrefs_referring_domains","ahrefs_related_terms","ahrefs_site_audit_page_explorer","ahrefs_top_pages","airtable_create_records","airtable_delete_records","airtable_get_base_schema","airtable_get_record","airtable_list_bases","airtable_list_records","airtable_list_tables","airtable_update_multiple_records","airtable_update_record","airtable_upsert_records","airweave_search","algolia_add_record","algolia_batch_operations","algolia_browse_records","algolia_clear_records","algolia_copy_move_index","algolia_delete_by_filter","algolia_delete_index","algolia_delete_record","algolia_get_record","algolia_get_records","algolia_get_settings","algolia_get_task_status","algolia_list_indices","algolia_partial_update_record","algolia_search","algolia_update_settings","amplitude_event_segmentation","amplitude_funnels","amplitude_get_active_users","amplitude_get_revenue","amplitude_group_identify","amplitude_identify_user","amplitude_list_events","amplitude_realtime_active_users","amplitude_retention","amplitude_send_event","amplitude_user_activity","amplitude_user_profile","amplitude_user_search","apify_get_dataset_items","apify_get_run","apify_run_actor_async","apify_run_actor_sync","apify_run_task","apollo_account_bulk_create","apollo_account_bulk_update","apollo_account_create","apollo_account_search","apollo_account_update","apollo_contact_bulk_create","apollo_contact_bulk_update","apollo_contact_create","apollo_contact_search","apollo_contact_update","apollo_email_accounts","apollo_opportunity_create","apollo_opportunity_get","apollo_opportunity_search","apollo_opportunity_update","apollo_organization_bulk_enrich","apollo_organization_enrich","apollo_organization_search","apollo_people_bulk_enrich","apollo_people_enrich","apollo_people_search","apollo_sequence_add_contacts","apollo_sequence_search","apollo_task_create","apollo_task_search","appconfig_create_application","appconfig_create_configuration_profile","appconfig_create_environment","appconfig_create_hosted_configuration_version","appconfig_delete_application","appconfig_delete_configuration_profile","appconfig_delete_environment","appconfig_delete_hosted_configuration_version","appconfig_get_application","appconfig_get_configuration","appconfig_get_configuration_profile","appconfig_get_deployment","appconfig_get_environment","appconfig_get_hosted_configuration_version","appconfig_list_applications","appconfig_list_configuration_profiles","appconfig_list_deployment_strategies","appconfig_list_deployments","appconfig_list_environments","appconfig_list_hosted_configuration_versions","appconfig_start_deployment","appconfig_stop_deployment","appconfig_update_application","appconfig_update_configuration_profile","appconfig_update_environment","arxiv_get_author_papers","arxiv_get_paper","arxiv_search","asana_add_comment","asana_add_followers","asana_create_project","asana_create_section","asana_create_subtask","asana_create_task","asana_delete_task","asana_get_project","asana_get_projects","asana_get_task","asana_list_sections","asana_list_workspaces","asana_search_tasks","asana_update_task","ashby_add_candidate_tag","ashby_anonymize_candidate","ashby_change_application_source","ashby_change_application_stage","ashby_create_application","ashby_create_candidate","ashby_create_note","ashby_delete_application","ashby_get_application","ashby_get_candidate","ashby_get_job","ashby_get_job_posting","ashby_get_offer","ashby_get_opening","ashby_list_application_feedback","ashby_list_application_history","ashby_list_applications","ashby_list_archive_reasons","ashby_list_candidate_tags","ashby_list_candidates","ashby_list_custom_fields","ashby_list_departments","ashby_list_interview_plans","ashby_list_interview_stages","ashby_list_interviews","ashby_list_job_postings","ashby_list_jobs","ashby_list_locations","ashby_list_notes","ashby_list_offers","ashby_list_openings","ashby_list_sources","ashby_list_users","ashby_remove_candidate_tag","ashby_search_candidates","ashby_search_jobs","ashby_search_openings","ashby_search_users","ashby_set_custom_field_value","ashby_set_custom_field_values","ashby_transfer_application","ashby_update_candidate","ashby_upload_candidate_file","ashby_upload_resume","athena_batch_get_query_execution","athena_create_named_query","athena_delete_named_query","athena_get_named_query","athena_get_query_execution","athena_get_query_results","athena_list_databases","athena_list_named_queries","athena_list_query_executions","athena_list_table_metadata","athena_start_query","athena_stop_query","attio_assert_record","attio_create_attribute","attio_create_comment","attio_create_list","attio_create_list_entry","attio_create_note","attio_create_object","attio_create_record","attio_create_task","attio_create_webhook","attio_delete_comment","attio_delete_list_entry","attio_delete_note","attio_delete_record","attio_delete_task","attio_delete_webhook","attio_get_attribute","attio_get_comment","attio_get_list","attio_get_list_entry","attio_get_member","attio_get_note","attio_get_object","attio_get_record","attio_get_task","attio_get_thread","attio_get_webhook","attio_list_attributes","attio_list_lists","attio_list_members","attio_list_notes","attio_list_objects","attio_list_records","attio_list_tasks","attio_list_threads","attio_list_webhooks","attio_query_list_entries","attio_search_records","attio_update_attribute","attio_update_list","attio_update_list_entry","attio_update_object","attio_update_record","attio_update_task","attio_update_webhook","azure_data_explorer_create_table","azure_data_explorer_drop_table","azure_data_explorer_ingest_from_query","azure_data_explorer_ingest_inline","azure_data_explorer_list_databases","azure_data_explorer_list_functions","azure_data_explorer_list_tables","azure_data_explorer_management","azure_data_explorer_query","azure_data_explorer_show_database_schema","azure_data_explorer_show_ingestion_failures","azure_data_explorer_show_operations","azure_data_explorer_show_table_details","azure_data_explorer_show_table_schema","azure_devops_add_comment","azure_devops_create_work_item","azure_devops_get_build_log","azure_devops_get_build_timeline","azure_devops_get_comments","azure_devops_get_pipeline","azure_devops_get_pipeline_run","azure_devops_get_work_item","azure_devops_get_work_items_batch","azure_devops_get_work_items_between_builds","azure_devops_list_build_logs","azure_devops_list_builds","azure_devops_list_pipeline_runs","azure_devops_list_pipelines","azure_devops_query_work_items","azure_devops_update_work_item","bitbucket_approve_pull_request","bitbucket_create_branch","bitbucket_create_pull_request","bitbucket_create_pull_request_comment","bitbucket_decline_pull_request","bitbucket_delete_branch","bitbucket_get_commit","bitbucket_get_file","bitbucket_get_file_metadata","bitbucket_get_pipeline","bitbucket_get_pipeline_step_log","bitbucket_get_pull_request","bitbucket_get_pull_request_diff","bitbucket_get_pull_request_diffstat","bitbucket_get_pull_request_merge_task_status","bitbucket_get_repository","bitbucket_list_branches","bitbucket_list_commits","bitbucket_list_directory","bitbucket_list_pipeline_steps","bitbucket_list_pipelines","bitbucket_list_pull_request_comments","bitbucket_list_pull_request_commit_statuses","bitbucket_list_pull_requests","bitbucket_list_repositories","bitbucket_list_workspaces","bitbucket_merge_pull_request","bitbucket_request_pull_request_changes","bitbucket_stop_pipeline","bitbucket_trigger_pipeline","box_copy_file","box_create_folder","box_delete_file","box_delete_folder","box_download_file","box_get_file_info","box_list_folder_items","box_search","box_sign_cancel_request","box_sign_create_request","box_sign_get_request","box_sign_list_requests","box_sign_resend_request","box_update_file","box_upload_file","brandfetch_get_brand","brandfetch_search","brex_archive_budget","brex_create_budget","brex_create_spend_limit","brex_create_transfer","brex_create_vendor","brex_get_budget","brex_get_cash_account","brex_get_company","brex_get_current_user","brex_get_expense","brex_get_spend_limit","brex_get_transfer","brex_get_user","brex_get_vendor","brex_list_budgets","brex_list_card_accounts","brex_list_card_statements","brex_list_card_transactions","brex_list_cards","brex_list_cash_accounts","brex_list_cash_statements","brex_list_cash_transactions","brex_list_departments","brex_list_expenses","brex_list_locations","brex_list_spend_limits","brex_list_titles","brex_list_transfers","brex_list_users","brex_list_vendors","brex_match_receipt","brex_update_expense","brex_update_vendor","brex_upload_receipt","brightdata_cancel_snapshot","brightdata_discover","brightdata_download_snapshot","brightdata_scrape_dataset","brightdata_scrape_url","brightdata_serp_search","brightdata_snapshot_status","brightdata_sync_scrape","browser_use_run_task","buffer_create_idea","buffer_create_post","buffer_delete_post","buffer_edit_post","buffer_get_account","buffer_get_channels","buffer_get_idea_groups","buffer_get_ideas","buffer_get_post","buffer_get_posts","calcom_cancel_booking","calcom_confirm_booking","calcom_create_booking","calcom_create_event_type","calcom_create_schedule","calcom_decline_booking","calcom_delete_event_type","calcom_delete_schedule","calcom_get_booking","calcom_get_default_schedule","calcom_get_event_type","calcom_get_schedule","calcom_get_slots","calcom_list_bookings","calcom_list_event_types","calcom_list_schedules","calcom_reschedule_booking","calcom_update_event_type","calcom_update_schedule","calendly_cancel_event","calendly_create_event_invitee","calendly_create_invitee_no_show","calendly_create_scheduling_link","calendly_create_webhook","calendly_delete_invitee_no_show","calendly_delete_webhook","calendly_get_current_user","calendly_get_event_invitee","calendly_get_event_type","calendly_get_scheduled_event","calendly_get_user","calendly_list_event_invitees","calendly_list_event_type_available_times","calendly_list_event_types","calendly_list_organization_memberships","calendly_list_routing_form_submissions","calendly_list_routing_forms","calendly_list_scheduled_events","calendly_list_user_availability_schedules","calendly_list_user_busy_times","calendly_list_webhooks","cbinsights_chat","cbinsights_get_commercial_maturity_history","cbinsights_get_exit_probability_history","cbinsights_get_mosaic_history","cbinsights_get_org_business_relationships","cbinsights_get_org_funding_window","cbinsights_get_org_fundings","cbinsights_get_org_investments","cbinsights_get_org_management_and_board","cbinsights_get_org_outlook","cbinsights_get_org_portfolio_exits","cbinsights_get_org_revenue","cbinsights_get_scouting_report","cbinsights_get_strategy_map","cbinsights_list_business_relationships","cbinsights_list_funding_window","cbinsights_list_fundings","cbinsights_list_investments","cbinsights_list_management_and_board","cbinsights_list_outlook","cbinsights_list_portfolio_exits","cbinsights_list_revenue","cbinsights_lookup_organizations","cbinsights_rag","cbinsights_search_firmographics","circleback_add_tag_to_meetings","circleback_create_tag","circleback_delete_action_item","circleback_delete_meeting","circleback_delete_tag","circleback_get_company","circleback_get_meeting","circleback_get_person","circleback_get_transcript","circleback_list_action_items","circleback_list_calendar_events","circleback_list_companies","circleback_list_meetings","circleback_list_people","circleback_list_tags","circleback_remove_tag_from_meetings","circleback_search_meetings","circleback_update_action_item","circleback_update_meeting","circleback_update_tag","clay_populate","clerk_add_organization_member","clerk_ban_user","clerk_create_actor_token","clerk_create_allowlist_identifier","clerk_create_blocklist_identifier","clerk_create_organization","clerk_create_organization_invitation","clerk_create_user","clerk_delete_allowlist_identifier","clerk_delete_blocklist_identifier","clerk_delete_organization","clerk_delete_user","clerk_get_jwt_template","clerk_get_organization","clerk_get_session","clerk_get_user","clerk_get_user_oauth_token","clerk_list_allowlist_identifiers","clerk_list_blocklist_identifiers","clerk_list_jwt_templates","clerk_list_organization_invitations","clerk_list_organization_memberships","clerk_list_organizations","clerk_list_sessions","clerk_list_users","clerk_lock_user","clerk_remove_organization_member","clerk_revoke_actor_token","clerk_revoke_session","clerk_unban_user","clerk_unlock_user","clerk_update_organization","clerk_update_organization_membership","clerk_update_user","clickhouse_count_rows","clickhouse_create_database","clickhouse_create_table","clickhouse_delete","clickhouse_describe_table","clickhouse_drop_database","clickhouse_drop_partition","clickhouse_drop_table","clickhouse_execute","clickhouse_insert","clickhouse_insert_rows","clickhouse_introspect","clickhouse_kill_query","clickhouse_list_clusters","clickhouse_list_databases","clickhouse_list_mutations","clickhouse_list_partitions","clickhouse_list_running_queries","clickhouse_list_tables","clickhouse_optimize_table","clickhouse_query","clickhouse_rename_table","clickhouse_show_create_table","clickhouse_table_stats","clickhouse_truncate_table","clickhouse_update","clickup_add_tag_to_task","clickup_create_checklist","clickup_create_checklist_item","clickup_create_comment","clickup_create_folder","clickup_create_list","clickup_create_task","clickup_create_time_entry","clickup_delete_checklist","clickup_delete_checklist_item","clickup_delete_comment","clickup_delete_task","clickup_delete_time_entry","clickup_get_comments","clickup_get_custom_fields","clickup_get_folders","clickup_get_list_members","clickup_get_lists","clickup_get_running_timer","clickup_get_space_tags","clickup_get_spaces","clickup_get_task","clickup_get_task_members","clickup_get_tasks","clickup_get_time_entries","clickup_get_workspaces","clickup_remove_custom_field_value","clickup_remove_tag_from_task","clickup_search_tasks","clickup_set_custom_field_value","clickup_start_timer","clickup_stop_timer","clickup_update_checklist","clickup_update_checklist_item","clickup_update_comment","clickup_update_task","clickup_update_time_entry","clickup_upload_attachment","cloudflare_create_access_application","cloudflare_create_access_policy","cloudflare_create_access_service_token","cloudflare_create_dns_record","cloudflare_create_r2_bucket","cloudflare_create_rate_limit_rule","cloudflare_create_ruleset","cloudflare_create_ruleset_rule","cloudflare_create_zone","cloudflare_delete_access_application","cloudflare_delete_access_policy","cloudflare_delete_dns_record","cloudflare_delete_r2_bucket","cloudflare_delete_ruleset_rule","cloudflare_delete_zone","cloudflare_dns_analytics","cloudflare_get_access_application","cloudflare_get_r2_bucket","cloudflare_get_ruleset","cloudflare_get_ruleset_entrypoint","cloudflare_get_tunnel","cloudflare_get_tunnel_configuration","cloudflare_get_worker_script_settings","cloudflare_get_zone","cloudflare_get_zone_settings","cloudflare_list_access_applications","cloudflare_list_access_groups","cloudflare_list_access_identity_providers","cloudflare_list_access_policies","cloudflare_list_access_service_tokens","cloudflare_list_certificates","cloudflare_list_dns_records","cloudflare_list_managed_ruleset_overrides","cloudflare_list_r2_buckets","cloudflare_list_rate_limit_rules","cloudflare_list_rulesets","cloudflare_list_tunnels","cloudflare_list_worker_routes","cloudflare_list_worker_scripts","cloudflare_list_zones","cloudflare_purge_cache","cloudflare_revoke_access_service_token","cloudflare_update_access_application","cloudflare_update_access_policy","cloudflare_update_dns_record","cloudflare_update_rate_limit_rule","cloudflare_update_ruleset_rule","cloudflare_update_zone_setting","cloudformation_cancel_update_stack","cloudformation_create_change_set","cloudformation_create_stack","cloudformation_delete_stack","cloudformation_describe_change_set","cloudformation_describe_stack_drift_detection_status","cloudformation_describe_stack_events","cloudformation_describe_stacks","cloudformation_detect_stack_drift","cloudformation_execute_change_set","cloudformation_get_template","cloudformation_get_template_summary","cloudformation_list_stack_resources","cloudformation_update_stack","cloudformation_validate_template","cloudwatch_describe_alarm_history","cloudwatch_describe_alarms","cloudwatch_describe_log_groups","cloudwatch_describe_log_streams","cloudwatch_filter_log_events","cloudwatch_get_log_events","cloudwatch_get_metric_statistics","cloudwatch_list_metrics","cloudwatch_mute_alarm","cloudwatch_put_log_group_retention","cloudwatch_put_metric_data","cloudwatch_query_logs","cloudwatch_unmute_alarm","codepipeline_disable_stage_transition","codepipeline_enable_stage_transition","codepipeline_get_pipeline","codepipeline_get_pipeline_execution","codepipeline_get_pipeline_state","codepipeline_list_action_executions","codepipeline_list_pipeline_executions","codepipeline_list_pipelines","codepipeline_put_approval_result","codepipeline_retry_stage_execution","codepipeline_start_execution","codepipeline_stop_execution","confluence_add_label","confluence_create_blogpost","confluence_create_comment","confluence_create_page","confluence_create_page_property","confluence_create_space","confluence_create_space_property","confluence_delete_attachment","confluence_delete_blogpost","confluence_delete_comment","confluence_delete_label","confluence_delete_page","confluence_delete_page_property","confluence_delete_space","confluence_delete_space_property","confluence_get_blogpost","confluence_get_page_ancestors","confluence_get_page_children","confluence_get_page_descendants","confluence_get_page_version","confluence_get_pages_by_label","confluence_get_space","confluence_get_task","confluence_get_user","confluence_list_attachments","confluence_list_blogposts","confluence_list_blogposts_in_space","confluence_list_comments","confluence_list_labels","confluence_list_page_properties","confluence_list_page_versions","confluence_list_pages_in_space","confluence_list_space_labels","confluence_list_space_permissions","confluence_list_space_properties","confluence_list_spaces","confluence_list_tasks","confluence_retrieve","confluence_search","confluence_search_in_space","confluence_update","confluence_update_blogpost","confluence_update_comment","confluence_update_space","confluence_update_task","confluence_upload_attachment","context_dev_classify_naics","context_dev_classify_sic","context_dev_crawl","context_dev_extract","context_dev_extract_product","context_dev_extract_products","context_dev_get_brand","context_dev_get_brand_by_email","context_dev_get_brand_by_name","context_dev_get_brand_by_ticker","context_dev_identify_transaction","context_dev_map","context_dev_scrape_fonts","context_dev_scrape_html","context_dev_scrape_images","context_dev_scrape_markdown","context_dev_scrape_styleguide","context_dev_screenshot","context_dev_search","convex_action","convex_document_deltas","convex_list_documents","convex_list_tables","convex_mutation","convex_query","convex_run_function","crowdstrike_create_indicators","crowdstrike_delete_indicators","crowdstrike_delete_rtr_session","crowdstrike_execute_rtr_command","crowdstrike_get_alert_details","crowdstrike_get_case_details","crowdstrike_get_host_group_details","crowdstrike_get_indicator_details","crowdstrike_get_rtr_command_status","crowdstrike_get_sensor_aggregates","crowdstrike_get_sensor_details","crowdstrike_get_vulnerability_details","crowdstrike_init_rtr_session","crowdstrike_perform_host_action","crowdstrike_perform_host_group_action","crowdstrike_query_alerts","crowdstrike_query_cases","crowdstrike_query_host_groups","crowdstrike_query_indicators","crowdstrike_query_sensors","crowdstrike_query_vulnerabilities","crowdstrike_update_alerts","crowdstrike_update_indicators","crunchbase_autocomplete","crunchbase_get_acquisition","crunchbase_get_entity","crunchbase_get_entity_card","crunchbase_get_fields_metadata","crunchbase_get_funding_round","crunchbase_get_organization","crunchbase_get_person","crunchbase_list_deleted_entities","crunchbase_search_acquisitions","crunchbase_search_entities","crunchbase_search_funding_rounds","crunchbase_search_organizations","crunchbase_search_people","cursor_add_followup","cursor_add_followup_v2","cursor_delete_agent","cursor_delete_agent_v2","cursor_download_artifact","cursor_download_artifact_v2","cursor_get_agent","cursor_get_agent_v2","cursor_get_api_key_info","cursor_get_api_key_info_v2","cursor_get_conversation","cursor_get_conversation_v2","cursor_launch_agent","cursor_launch_agent_v2","cursor_list_agents","cursor_list_agents_v2","cursor_list_artifacts","cursor_list_artifacts_v2","cursor_list_models","cursor_list_models_v2","cursor_list_repositories","cursor_list_repositories_v2","cursor_stop_agent","cursor_stop_agent_v2","dagster_delete_run","dagster_get_asset","dagster_get_run","dagster_get_run_logs","dagster_launch_run","dagster_list_assets","dagster_list_jobs","dagster_list_runs","dagster_list_schedules","dagster_list_sensors","dagster_materialize_assets","dagster_reexecute_run","dagster_report_asset_materialization","dagster_start_schedule","dagster_start_sensor","dagster_stop_schedule","dagster_stop_sensor","dagster_terminate_run","dagster_wipe_asset","databricks_cancel_run","databricks_execute_sql","databricks_get_cluster","databricks_get_job","databricks_get_run","databricks_get_run_output","databricks_get_statement","databricks_list_clusters","databricks_list_jobs","databricks_list_runs","databricks_list_warehouses","databricks_run_job","datadog_add_incident_todo","datadog_cancel_downtime","datadog_create_dashboard","datadog_create_downtime","datadog_create_event","datadog_create_incident","datadog_create_monitor","datadog_create_slo","datadog_delete_dashboard","datadog_delete_slo","datadog_get_browser_synthetics_results","datadog_get_dashboard","datadog_get_incident","datadog_get_monitor","datadog_get_security_signal","datadog_get_slo","datadog_get_slo_history","datadog_get_synthetics_results","datadog_get_synthetics_test","datadog_list_dashboards","datadog_list_downtimes","datadog_list_incidents","datadog_list_monitors","datadog_list_security_rules","datadog_list_security_signals","datadog_list_services","datadog_list_slos","datadog_list_synthetics_tests","datadog_mute_monitor","datadog_query_logs","datadog_query_timeseries","datadog_search_spans","datadog_send_logs","datadog_submit_metrics","datadog_trigger_synthetics_tests","datadog_unmute_monitor","datadog_update_incident","datadog_update_security_signal_assignee","datadog_update_security_signal_state","datadog_update_slo","datadog_update_synthetics_status","datagma_enrich_company","datagma_enrich_person","datagma_find_email","datagma_find_phone","datagma_get_credits","daytona_create_sandbox","daytona_delete_sandbox","daytona_download_file","daytona_execute_command","daytona_get_sandbox","daytona_git_clone","daytona_list_files","daytona_list_sandboxes","daytona_run_code","daytona_start_sandbox","daytona_stop_sandbox","daytona_upload_file","deployed_block_executor","deployments_deploy","deployments_get_version","deployments_list_versions","deployments_promote","deployments_undeploy","devin_append_session_tags","devin_archive_session","devin_create_session","devin_get_session","devin_get_session_tags","devin_list_session_attachments","devin_list_session_messages","devin_list_sessions","devin_replace_session_tags","devin_send_message","devin_terminate_session","discord_add_reaction","discord_archive_thread","discord_assign_role","discord_ban_member","discord_bulk_delete_messages","discord_create_channel","discord_create_invite","discord_create_role","discord_create_thread","discord_create_webhook","discord_delete_channel","discord_delete_invite","discord_delete_message","discord_delete_role","discord_delete_webhook","discord_edit_message","discord_execute_webhook","discord_get_channel","discord_get_invite","discord_get_member","discord_get_messages","discord_get_pinned_messages","discord_get_server","discord_get_user","discord_get_webhook","discord_join_thread","discord_kick_member","discord_leave_thread","discord_list_channels","discord_list_roles","discord_pin_message","discord_remove_reaction","discord_remove_role","discord_send_message","discord_unban_member","discord_unpin_message","discord_update_channel","discord_update_member","discord_update_role","docusign_create_from_template","docusign_download_document","docusign_get_envelope","docusign_list_envelopes","docusign_list_recipients","docusign_list_templates","docusign_send_envelope","docusign_void_envelope","downdetector_get_company","downdetector_get_company_attribution","downdetector_get_company_baseline","downdetector_get_company_events","downdetector_get_company_incidents","downdetector_get_company_indicators","downdetector_get_company_last_15","downdetector_get_company_status","downdetector_get_provider","downdetector_get_reports","downdetector_get_site_companies","downdetector_list_categories","downdetector_list_incidents","downdetector_list_sites","downdetector_search_companies","dropbox_copy","dropbox_create_folder","dropbox_create_shared_link","dropbox_delete","dropbox_download","dropbox_get_metadata","dropbox_list_folder","dropbox_list_revisions","dropbox_list_shared_links","dropbox_move","dropbox_restore","dropbox_search","dropbox_upload","dropcontact_enrich_contact","dspy_chain_of_thought","dspy_predict","dspy_react","dub_bulk_create_links","dub_bulk_delete_links","dub_bulk_update_links","dub_create_link","dub_create_tag","dub_delete_link","dub_get_analytics","dub_get_events","dub_get_link","dub_get_links_count","dub_get_qr_code","dub_list_domains","dub_list_folders","dub_list_links","dub_list_tags","dub_update_link","dub_upsert_link","duckduckgo_search","dynamodb_delete","dynamodb_get","dynamodb_introspect","dynamodb_put","dynamodb_query","dynamodb_scan","dynamodb_update","dynatrace_add_problem_comment","dynatrace_add_tags","dynatrace_close_problem","dynatrace_create_settings_object","dynatrace_create_slo","dynatrace_delete_problem_comment","dynatrace_delete_settings_object","dynatrace_delete_slo","dynatrace_delete_tag","dynatrace_execute_synthetic_monitors","dynatrace_get_attack","dynatrace_get_audit_logs","dynatrace_get_entity","dynatrace_get_event","dynatrace_get_metric","dynatrace_get_problem","dynatrace_get_problem_comment","dynatrace_get_security_problem","dynatrace_get_settings_object","dynatrace_get_slo","dynatrace_get_synthetic_batch","dynatrace_ingest_event","dynatrace_ingest_logs","dynatrace_ingest_metrics","dynatrace_list_attacks","dynatrace_list_entities","dynatrace_list_entity_types","dynatrace_list_events","dynatrace_list_metrics","dynatrace_list_problem_comments","dynatrace_list_problems","dynatrace_list_remediation_items","dynatrace_list_security_problems","dynatrace_list_settings_objects","dynatrace_list_settings_schemas","dynatrace_list_slos","dynatrace_list_synthetic_monitors","dynatrace_list_tags","dynatrace_mute_security_problem","dynatrace_mute_security_problems","dynatrace_query_metrics","dynatrace_search_logs","dynatrace_unmute_security_problem","dynatrace_unmute_security_problems","dynatrace_update_problem_comment","dynatrace_update_settings_object","dynatrace_update_slo","elasticsearch_bulk","elasticsearch_cluster_health","elasticsearch_cluster_stats","elasticsearch_count","elasticsearch_create_index","elasticsearch_delete_document","elasticsearch_delete_index","elasticsearch_get_document","elasticsearch_get_index","elasticsearch_index_document","elasticsearch_list_indices","elasticsearch_search","elasticsearch_update_document","elevenlabs_audio_isolation","elevenlabs_edit_voice_settings","elevenlabs_get_user","elevenlabs_get_voice","elevenlabs_get_voice_settings","elevenlabs_list_models","elevenlabs_list_voices","elevenlabs_sound_effects","elevenlabs_speech_to_speech","elevenlabs_tts","emailbison_attach_leads_to_campaign","emailbison_attach_tags_to_leads","emailbison_create_campaign","emailbison_create_lead","emailbison_create_tag","emailbison_get_lead","emailbison_list_campaigns","emailbison_list_leads","emailbison_list_replies","emailbison_list_tags","emailbison_update_campaign","emailbison_update_campaign_status","emailbison_update_lead","embeddings_cohere","embeddings_gemini","embeddings_mistral","embeddings_openai","embeddings_openrouter","enrich_check_credits","enrich_company_funding","enrich_company_lookup","enrich_company_revenue","enrich_disposable_email_check","enrich_email_to_ip","enrich_email_to_person_lite","enrich_email_to_phone","enrich_email_to_profile","enrich_find_email","enrich_get_post_details","enrich_ip_to_company","enrich_linkedin_profile","enrich_linkedin_to_personal_email","enrich_linkedin_to_work_email","enrich_phone_finder","enrich_reverse_hash_lookup","enrich_sales_pointer_people","enrich_search_company","enrich_search_company_activities","enrich_search_company_employees","enrich_search_jobs","enrich_search_logo","enrich_search_people","enrich_search_people_activities","enrich_search_post_comments","enrich_search_post_comments_by_url","enrich_search_post_reactions","enrich_search_post_reactions_by_url","enrich_search_posts","enrich_search_similar_companies","enrich_verify_email","enrichment_run","enrow_find_email","enrow_verify_email","exa_agent","exa_answer","exa_find_similar_links","exa_get_contents","exa_search","extend_parser","extend_parser_v2","fathom_get_summary","fathom_get_transcript","fathom_list_meeting_types","fathom_list_meetings","fathom_list_team_members","fathom_list_teams","file_append","file_compress","file_create_folder","file_decompress","file_delete_folder","file_edit","file_fetch","file_get","file_get_content","file_list","file_manage_sharing","file_move","file_parser","file_parser_v2","file_parser_v3","file_read","file_restore_folder","file_search","file_update_folder","file_write","findymail_find_email_from_linkedin","findymail_find_email_from_name","findymail_find_emails_by_domain","findymail_find_employees","findymail_find_phone","findymail_get_company","findymail_get_credits","findymail_lookup_technologies","findymail_reverse_email_lookup","findymail_search_technologies","findymail_verify_email","firecrawl_agent","firecrawl_batch_scrape","firecrawl_batch_scrape_status","firecrawl_cancel_crawl","firecrawl_crawl","firecrawl_crawl_status","firecrawl_credit_usage","firecrawl_extract","firecrawl_extract_status","firecrawl_map","firecrawl_parse","firecrawl_scrape","firecrawl_search","fireflies_add_to_live_meeting","fireflies_create_bite","fireflies_delete_transcript","fireflies_get_transcript","fireflies_get_user","fireflies_list_bites","fireflies_list_contacts","fireflies_list_transcripts","fireflies_list_users","fireflies_upload_audio","flint_create_task","flint_generate_pages","flint_get_task","function_execute","gamma_check_status","gamma_generate","gamma_generate_from_template","gamma_list_folders","gamma_list_themes","github_add_assignees","github_add_assignees_v2","github_add_labels","github_add_labels_v2","github_cancel_workflow_run","github_cancel_workflow_run_v2","github_check_star","github_check_star_v2","github_close_issue","github_close_issue_v2","github_close_pr","github_close_pr_v2","github_comment","github_comment_v2","github_compare_commits","github_compare_commits_v2","github_create_branch","github_create_branch_v2","github_create_comment_reaction","github_create_comment_reaction_v2","github_create_file","github_create_file_v2","github_create_gist","github_create_gist_v2","github_create_issue","github_create_issue_reaction","github_create_issue_reaction_v2","github_create_issue_v2","github_create_milestone","github_create_milestone_v2","github_create_pr","github_create_pr_review","github_create_pr_review_v2","github_create_pr_v2","github_create_project","github_create_project_v2","github_create_release","github_create_release_v2","github_delete_branch","github_delete_branch_v2","github_delete_comment","github_delete_comment_reaction","github_delete_comment_reaction_v2","github_delete_comment_v2","github_delete_file","github_delete_file_v2","github_delete_gist","github_delete_gist_v2","github_delete_issue_reaction","github_delete_issue_reaction_v2","github_delete_milestone","github_delete_milestone_v2","github_delete_project","github_delete_project_v2","github_delete_release","github_delete_release_v2","github_fork_gist","github_fork_gist_v2","github_fork_repo","github_fork_repo_v2","github_get_branch","github_get_branch_protection","github_get_branch_protection_v2","github_get_branch_v2","github_get_commit","github_get_commit_v2","github_get_file_content","github_get_file_content_v2","github_get_gist","github_get_gist_v2","github_get_issue","github_get_issue_v2","github_get_latest_release","github_get_latest_release_v2","github_get_milestone","github_get_milestone_v2","github_get_pr_files","github_get_pr_files_v2","github_get_project","github_get_project_v2","github_get_readme","github_get_readme_v2","github_get_release","github_get_release_v2","github_get_tree","github_get_tree_v2","github_get_workflow","github_get_workflow_run","github_get_workflow_run_v2","github_get_workflow_v2","github_issue_comment","github_issue_comment_v2","github_job_logs","github_latest_commit","github_latest_commit_v2","github_list_branches","github_list_branches_v2","github_list_commits","github_list_commits_v2","github_list_forks","github_list_forks_v2","github_list_gists","github_list_gists_v2","github_list_issue_comments","github_list_issue_comments_v2","github_list_issues","github_list_issues_v2","github_list_milestones","github_list_milestones_v2","github_list_pr_comments","github_list_pr_comments_v2","github_list_projects","github_list_projects_v2","github_list_prs","github_list_prs_v2","github_list_releases","github_list_releases_v2","github_list_review_threads","github_list_stargazers","github_list_stargazers_v2","github_list_tags","github_list_tags_v2","github_list_workflow_runs","github_list_workflow_runs_v2","github_list_workflows","github_list_workflows_v2","github_merge_pr","github_merge_pr_v2","github_pr","github_pr_v2","github_remove_label","github_remove_label_v2","github_reply_review_thread","github_repo_info","github_repo_info_v2","github_request_reviewers","github_request_reviewers_v2","github_rerun_workflow","github_rerun_workflow_v2","github_resolve_review_thread","github_search_code","github_search_code_v2","github_search_commits","github_search_commits_v2","github_search_issues","github_search_issues_v2","github_search_repos","github_search_repos_v2","github_search_users","github_search_users_v2","github_star_gist","github_star_gist_v2","github_star_repo","github_star_repo_v2","github_status_check_rollup","github_trigger_workflow","github_trigger_workflow_v2","github_unstar_gist","github_unstar_gist_v2","github_unstar_repo","github_unstar_repo_v2","github_update_branch_protection","github_update_branch_protection_v2","github_update_comment","github_update_comment_v2","github_update_file","github_update_file_v2","github_update_gist","github_update_gist_v2","github_update_issue","github_update_issue_v2","github_update_milestone","github_update_milestone_v2","github_update_pr","github_update_pr_v2","github_update_project","github_update_project_v2","github_update_release","github_update_release_v2","gitlab_activate_user","gitlab_add_member","gitlab_add_saml_group_link","gitlab_approve_access_request","gitlab_approve_merge_request","gitlab_approve_user","gitlab_ban_user","gitlab_block_user","gitlab_cancel_pipeline","gitlab_compare_branches","gitlab_create_branch","gitlab_create_file","gitlab_create_issue","gitlab_create_issue_note","gitlab_create_merge_request","gitlab_create_merge_request_note","gitlab_create_pipeline","gitlab_create_release","gitlab_create_user","gitlab_deactivate_user","gitlab_delete_branch","gitlab_delete_issue","gitlab_delete_saml_group_link","gitlab_delete_user","gitlab_delete_user_identity","gitlab_deny_access_request","gitlab_get_file","gitlab_get_group","gitlab_get_issue","gitlab_get_job_log","gitlab_get_merge_request","gitlab_get_merge_request_changes","gitlab_get_pipeline","gitlab_get_project","gitlab_invite_member","gitlab_list_access_requests","gitlab_list_branches","gitlab_list_commits","gitlab_list_groups","gitlab_list_invitations","gitlab_list_issues","gitlab_list_members","gitlab_list_merge_requests","gitlab_list_pipeline_jobs","gitlab_list_pipelines","gitlab_list_projects","gitlab_list_releases","gitlab_list_repository_tree","gitlab_list_saml_group_links","gitlab_list_user_memberships","gitlab_merge_merge_request","gitlab_play_job","gitlab_reject_user","gitlab_remove_member","gitlab_retry_pipeline","gitlab_revoke_invitation","gitlab_search_users","gitlab_unban_user","gitlab_unblock_user","gitlab_update_file","gitlab_update_invitation","gitlab_update_issue","gitlab_update_member","gitlab_update_merge_request","gitlab_update_user","gmail_add_label","gmail_add_label_v2","gmail_archive","gmail_archive_v2","gmail_create_label_v2","gmail_delete","gmail_delete_draft_v2","gmail_delete_label_v2","gmail_delete_v2","gmail_draft","gmail_draft_v2","gmail_edit_draft_v2","gmail_get_draft_v2","gmail_get_thread_v2","gmail_list_drafts_v2","gmail_list_labels_v2","gmail_list_threads_v2","gmail_mark_read","gmail_mark_read_v2","gmail_mark_unread","gmail_mark_unread_v2","gmail_move","gmail_move_v2","gmail_read","gmail_read_v2","gmail_remove_label","gmail_remove_label_v2","gmail_search","gmail_search_v2","gmail_send","gmail_send_v2","gmail_trash_thread_v2","gmail_unarchive","gmail_unarchive_v2","gmail_untrash_thread_v2","gmail_update_label_v2","gong_aggregate_activity","gong_aggregate_by_period","gong_answered_scorecards","gong_ask_anything","gong_assign_flow_prospects","gong_create_call","gong_day_by_day_activity","gong_get_brief","gong_get_call","gong_get_call_transcript","gong_get_coaching","gong_get_extensive_calls","gong_get_folder_content","gong_get_logs","gong_get_prospect_flows","gong_get_user","gong_interaction_stats","gong_list_calls","gong_list_flows","gong_list_library_folders","gong_list_scorecards","gong_list_trackers","gong_list_users","gong_list_workspaces","gong_lookup_email","gong_lookup_phone","gong_purge_email_address","gong_purge_phone_number","gong_unassign_flow_prospects","google_ads_ad_performance","google_ads_campaign_performance","google_ads_list_ad_groups","google_ads_list_campaigns","google_ads_list_customers","google_ads_search","google_appsheet_add_rows","google_appsheet_delete_rows","google_appsheet_edit_rows","google_appsheet_find_rows","google_bigquery_create_dataset","google_bigquery_create_table","google_bigquery_delete_dataset","google_bigquery_delete_table","google_bigquery_get_query_results","google_bigquery_get_table","google_bigquery_insert_rows","google_bigquery_list_datasets","google_bigquery_list_table_data","google_bigquery_list_tables","google_bigquery_query","google_books_volume_details","google_books_volume_search","google_calendar_create","google_calendar_create_calendar","google_calendar_create_calendar_v2","google_calendar_create_v2","google_calendar_delete","google_calendar_delete_calendar","google_calendar_delete_calendar_v2","google_calendar_delete_v2","google_calendar_freebusy","google_calendar_freebusy_v2","google_calendar_get","google_calendar_get_v2","google_calendar_instances","google_calendar_instances_v2","google_calendar_invite","google_calendar_invite_v2","google_calendar_list","google_calendar_list_acl","google_calendar_list_acl_v2","google_calendar_list_calendars","google_calendar_list_calendars_v2","google_calendar_list_v2","google_calendar_move","google_calendar_move_v2","google_calendar_quick_add","google_calendar_quick_add_v2","google_calendar_share_calendar","google_calendar_share_calendar_v2","google_calendar_unshare_calendar","google_calendar_unshare_calendar_v2","google_calendar_update","google_calendar_update_acl","google_calendar_update_acl_v2","google_calendar_update_calendar","google_calendar_update_calendar_v2","google_calendar_update_v2","google_contacts_create","google_contacts_delete","google_contacts_get","google_contacts_list","google_contacts_search","google_contacts_update","google_docs_create","google_docs_create_named_range","google_docs_create_paragraph_bullets","google_docs_delete_content_range","google_docs_delete_named_range","google_docs_delete_paragraph_bullets","google_docs_insert_image","google_docs_insert_page_break","google_docs_insert_table","google_docs_insert_text","google_docs_read","google_docs_replace_text","google_docs_update_paragraph_style","google_docs_update_text_style","google_docs_write","google_drive_copy","google_drive_create_comment","google_drive_create_folder","google_drive_delete","google_drive_delete_comment","google_drive_download","google_drive_export","google_drive_get_about","google_drive_get_content","google_drive_get_file","google_drive_get_revision","google_drive_list","google_drive_list_comments","google_drive_list_permissions","google_drive_list_revisions","google_drive_move","google_drive_search","google_drive_share","google_drive_trash","google_drive_unshare","google_drive_untrash","google_drive_update","google_drive_upload","google_forms_batch_update","google_forms_create_form","google_forms_create_watch","google_forms_delete_watch","google_forms_get_form","google_forms_get_responses","google_forms_list_watches","google_forms_renew_watch","google_forms_set_publish_settings","google_groups_add_alias","google_groups_add_member","google_groups_create_group","google_groups_delete_group","google_groups_get_group","google_groups_get_member","google_groups_get_settings","google_groups_has_member","google_groups_list_aliases","google_groups_list_groups","google_groups_list_members","google_groups_remove_alias","google_groups_remove_member","google_groups_update_group","google_groups_update_member","google_groups_update_settings","google_maps_air_quality","google_maps_directions","google_maps_distance_matrix","google_maps_elevation","google_maps_geocode","google_maps_geolocate","google_maps_place_details","google_maps_places_nearby","google_maps_places_search","google_maps_pollen","google_maps_reverse_geocode","google_maps_snap_to_roads","google_maps_solar","google_maps_speed_limits","google_maps_timezone","google_maps_validate_address","google_meet_create_space","google_meet_end_conference","google_meet_get_conference_record","google_meet_get_space","google_meet_list_conference_records","google_meet_list_participants","google_pagespeed_analyze","google_search","google_sheets_append","google_sheets_append_v2","google_sheets_batch_clear_v2","google_sheets_batch_get_v2","google_sheets_batch_update_v2","google_sheets_clear_v2","google_sheets_copy_sheet_v2","google_sheets_create_spreadsheet_v2","google_sheets_delete_rows_v2","google_sheets_delete_sheet_v2","google_sheets_delete_spreadsheet_v2","google_sheets_get_spreadsheet_v2","google_sheets_read","google_sheets_read_v2","google_sheets_update","google_sheets_update_v2","google_sheets_write","google_sheets_write_v2","google_slides_add_image","google_slides_add_slide","google_slides_batch_update","google_slides_copy_presentation","google_slides_create","google_slides_create_line","google_slides_create_paragraph_bullets","google_slides_create_shape","google_slides_create_sheets_chart","google_slides_create_table","google_slides_create_video","google_slides_delete_object","google_slides_delete_paragraph_bullets","google_slides_delete_table_column","google_slides_delete_table_row","google_slides_delete_text","google_slides_duplicate_object","google_slides_export_presentation","google_slides_get_page","google_slides_get_thumbnail","google_slides_group_objects","google_slides_insert_table_columns","google_slides_insert_table_rows","google_slides_insert_text","google_slides_merge_table_cells","google_slides_read","google_slides_refresh_sheets_chart","google_slides_replace_all_shapes_with_image","google_slides_replace_all_shapes_with_sheets_chart","google_slides_replace_all_text","google_slides_replace_image","google_slides_reroute_line","google_slides_ungroup_objects","google_slides_unmerge_table_cells","google_slides_update_image_properties","google_slides_update_line_category","google_slides_update_line_properties","google_slides_update_page_element_alt_text","google_slides_update_page_element_transform","google_slides_update_page_elements_z_order","google_slides_update_page_properties","google_slides_update_paragraph_style","google_slides_update_shape_properties","google_slides_update_slide_properties","google_slides_update_slides_position","google_slides_update_table_border_properties","google_slides_update_table_cell_properties","google_slides_update_table_column_properties","google_slides_update_table_row_properties","google_slides_update_text_style","google_slides_update_video_properties","google_slides_write","google_tasks_create","google_tasks_delete","google_tasks_get","google_tasks_list","google_tasks_list_task_lists","google_tasks_update","google_translate_detect","google_translate_text","google_vault_add_held_accounts","google_vault_add_matters_permissions","google_vault_close_matters","google_vault_create_matters","google_vault_create_matters_export","google_vault_create_matters_holds","google_vault_create_saved_query","google_vault_delete_matters","google_vault_delete_matters_export","google_vault_delete_matters_holds","google_vault_delete_saved_query","google_vault_download_export_file","google_vault_list_matters","google_vault_list_matters_export","google_vault_list_matters_holds","google_vault_list_saved_queries","google_vault_remove_held_accounts","google_vault_remove_matters_permissions","google_vault_reopen_matters","google_vault_undelete_matters","google_vault_update_matters","google_vault_update_matters_holds","grafana_check_data_source_health","grafana_create_alert_rule","grafana_create_annotation","grafana_create_contact_point","grafana_create_dashboard","grafana_create_folder","grafana_delete_alert_rule","grafana_delete_annotation","grafana_delete_contact_point","grafana_delete_dashboard","grafana_delete_folder","grafana_get_alert_rule","grafana_get_alert_rule_group","grafana_get_dashboard","grafana_get_data_source","grafana_get_folder","grafana_get_health","grafana_list_alert_rules","grafana_list_annotations","grafana_list_contact_points","grafana_list_dashboards","grafana_list_data_sources","grafana_list_folders","grafana_move_folder","grafana_query_data_source","grafana_update_alert_rule","grafana_update_annotation","grafana_update_contact_point","grafana_update_dashboard","grafana_update_folder","grain_create_hook","grain_create_hook_v2","grain_delete_hook","grain_delete_hook_v2","grain_get_recording","grain_get_transcript","grain_list_hooks","grain_list_hooks_v2","grain_list_meeting_types","grain_list_recordings","grain_list_teams","grain_list_views","granola_create_webhook_endpoint","granola_delete_webhook_endpoint","granola_get_note","granola_get_transcript","granola_list_audit_events","granola_list_folders","granola_list_notes","granola_list_webhook_endpoints","granola_update_webhook_endpoint","greenhouse_get_application","greenhouse_get_candidate","greenhouse_get_job","greenhouse_get_user","greenhouse_list_applications","greenhouse_list_candidates","greenhouse_list_departments","greenhouse_list_job_stages","greenhouse_list_jobs","greenhouse_list_offices","greenhouse_list_users","greptile_index_repo","greptile_query","greptile_search","greptile_status","guardrails_validate","harmonic_batch_get_people","harmonic_clear_people_saved_search_net_new_results","harmonic_enrich_person","harmonic_get_company_employees","harmonic_get_email_enrichment_job","harmonic_get_email_enrichment_usage","harmonic_get_enrichment_status","harmonic_get_people_saved_search_net_new_results","harmonic_get_people_saved_search_results","harmonic_get_person","harmonic_list_people_saved_searches","harmonic_search_people_scout","harmonic_submit_email_enrichment_job","hex_cancel_run","hex_create_collection","hex_create_group","hex_deactivate_user","hex_delete_group","hex_get_collection","hex_get_data_connection","hex_get_group","hex_get_project","hex_get_project_runs","hex_get_queried_tables","hex_get_run_status","hex_list_collections","hex_list_data_connections","hex_list_groups","hex_list_projects","hex_list_users","hex_run_project","hex_update_collection","hex_update_group","hex_update_project","http_request","hubspot_add_list_memberships","hubspot_create_appointment","hubspot_create_association","hubspot_create_company","hubspot_create_contact","hubspot_create_deal","hubspot_create_email","hubspot_create_line_item","hubspot_create_list","hubspot_create_note","hubspot_create_ticket","hubspot_delete_association","hubspot_delete_company","hubspot_delete_contact","hubspot_delete_deal","hubspot_delete_line_item","hubspot_delete_ticket","hubspot_get_appointment","hubspot_get_association_labels","hubspot_get_cart","hubspot_get_company","hubspot_get_contact","hubspot_get_deal","hubspot_get_email","hubspot_get_line_item","hubspot_get_list","hubspot_get_list_memberships","hubspot_get_marketing_event","hubspot_get_note","hubspot_get_properties","hubspot_get_quote","hubspot_get_ticket","hubspot_get_users","hubspot_list_appointments","hubspot_list_associations","hubspot_list_carts","hubspot_list_companies","hubspot_list_contacts","hubspot_list_deals","hubspot_list_emails","hubspot_list_line_items","hubspot_list_lists","hubspot_list_marketing_events","hubspot_list_notes","hubspot_list_owners","hubspot_list_quotes","hubspot_list_tickets","hubspot_remove_list_memberships","hubspot_search_companies","hubspot_search_contacts","hubspot_search_deals","hubspot_search_emails","hubspot_search_line_items","hubspot_search_notes","hubspot_search_quotes","hubspot_search_tickets","hubspot_update_appointment","hubspot_update_company","hubspot_update_contact","hubspot_update_deal","hubspot_update_line_item","hubspot_update_ticket","huggingface_chat","hunter_companies_find","hunter_discover","hunter_domain_search","hunter_email_count","hunter_email_finder","hunter_email_verifier","iam_add_user_to_group","iam_attach_role_policy","iam_attach_user_policy","iam_create_access_key","iam_create_role","iam_create_user","iam_delete_access_key","iam_delete_role","iam_delete_user","iam_detach_role_policy","iam_detach_user_policy","iam_get_role","iam_get_user","iam_list_attached_role_policies","iam_list_attached_user_policies","iam_list_groups","iam_list_policies","iam_list_roles","iam_list_users","iam_remove_user_from_group","iam_simulate_principal_policy","icypeas_find_email","icypeas_verify_email","identity_center_check_assignment_deletion_status","identity_center_check_assignment_status","identity_center_create_account_assignment","identity_center_delete_account_assignment","identity_center_describe_account","identity_center_get_group","identity_center_get_user","identity_center_list_account_assignments","identity_center_list_accounts","identity_center_list_groups","identity_center_list_instances","identity_center_list_permission_sets","image_generate","incidentio_actions_create","incidentio_actions_list","incidentio_actions_show","incidentio_actions_update","incidentio_alert_events_create","incidentio_alerts_list","incidentio_alerts_resolve","incidentio_alerts_show","incidentio_catalog_entries_list","incidentio_catalog_types_list","incidentio_custom_fields_create","incidentio_custom_fields_delete","incidentio_custom_fields_list","incidentio_custom_fields_show","incidentio_custom_fields_update","incidentio_escalation_paths_create","incidentio_escalation_paths_delete","incidentio_escalation_paths_list","incidentio_escalation_paths_show","incidentio_escalation_paths_update","incidentio_escalations_cancel","incidentio_escalations_create","incidentio_escalations_list","incidentio_escalations_show","incidentio_follow_ups_create","incidentio_follow_ups_list","incidentio_follow_ups_show","incidentio_follow_ups_update","incidentio_incident_alerts_list","incidentio_incident_memberships_create","incidentio_incident_memberships_revoke","incidentio_incident_participants_list","incidentio_incident_roles_create","incidentio_incident_roles_delete","incidentio_incident_roles_list","incidentio_incident_roles_show","incidentio_incident_roles_update","incidentio_incident_statuses_list","incidentio_incident_timestamps_list","incidentio_incident_timestamps_show","incidentio_incident_types_list","incidentio_incident_updates_list","incidentio_incidents_create","incidentio_incidents_list","incidentio_incidents_show","incidentio_incidents_update","incidentio_on_call_now","incidentio_schedule_entries_list","incidentio_schedule_overrides_create","incidentio_schedule_overrides_list","incidentio_schedules_create","incidentio_schedules_delete","incidentio_schedules_list","incidentio_schedules_show","incidentio_schedules_update","incidentio_severities_list","incidentio_teams_list","incidentio_teams_show","incidentio_users_list","incidentio_users_show","incidentio_workflows_create","incidentio_workflows_delete","incidentio_workflows_list","incidentio_workflows_show","incidentio_workflows_update","infisical_create_secret","infisical_delete_secret","infisical_get_secret","infisical_list_secrets","infisical_update_secret","instagram_delete_comment","instagram_download_media","instagram_get_account_insights","instagram_get_container_status","instagram_get_conversation_messages","instagram_get_media","instagram_get_media_insights","instagram_get_message","instagram_get_profile","instagram_get_publishing_limit","instagram_hide_comment","instagram_list_comments","instagram_list_conversations","instagram_list_media","instagram_list_stories","instagram_private_reply","instagram_publish_carousel","instagram_publish_image","instagram_publish_reel","instagram_publish_story","instagram_publish_video","instagram_reply_to_comment","instagram_send_text_message","instagram_set_comments_enabled","instantly_activate_campaign","instantly_create_campaign","instantly_create_lead","instantly_create_lead_list","instantly_delete_campaign","instantly_delete_leads","instantly_get_lead","instantly_list_campaigns","instantly_list_emails","instantly_list_lead_lists","instantly_list_leads","instantly_patch_campaign","instantly_patch_lead","instantly_pause_campaign","instantly_reply_to_email","instantly_update_lead_interest_status","intercom_assign_conversation_v2","intercom_attach_contact_to_company_v2","intercom_close_conversation_v2","intercom_create_company","intercom_create_company_v2","intercom_create_contact","intercom_create_contact_v2","intercom_create_event_v2","intercom_create_message","intercom_create_message_v2","intercom_create_note_v2","intercom_create_tag_v2","intercom_create_ticket","intercom_create_ticket_v2","intercom_delete_contact","intercom_delete_contact_v2","intercom_detach_contact_from_company_v2","intercom_get_company","intercom_get_company_v2","intercom_get_contact","intercom_get_contact_v2","intercom_get_conversation","intercom_get_conversation_v2","intercom_get_ticket","intercom_get_ticket_v2","intercom_list_admins_v2","intercom_list_companies","intercom_list_companies_v2","intercom_list_contacts","intercom_list_contacts_v2","intercom_list_conversations","intercom_list_conversations_v2","intercom_list_tags_v2","intercom_open_conversation_v2","intercom_reply_conversation","intercom_reply_conversation_v2","intercom_search_contacts","intercom_search_contacts_v2","intercom_search_conversations","intercom_search_conversations_v2","intercom_snooze_conversation_v2","intercom_tag_contact_v2","intercom_tag_conversation_v2","intercom_untag_contact_v2","intercom_update_contact","intercom_update_contact_v2","intercom_update_ticket_v2","jina_read_url","jina_search","jira_add_attachment","jira_add_comment","jira_add_watcher","jira_add_worklog","jira_assign_issue","jira_bulk_read","jira_create_issue_link","jira_delete_attachment","jira_delete_comment","jira_delete_issue","jira_delete_issue_link","jira_delete_worklog","jira_get_attachments","jira_get_comments","jira_get_fields","jira_get_project","jira_get_transitions","jira_get_users","jira_get_worklogs","jira_list_issue_types","jira_list_projects","jira_remove_watcher","jira_retrieve","jira_search_issues","jira_search_users","jira_transition_issue","jira_update","jira_update_comment","jira_update_worklog","jira_write","jotform_add_label_resources","jotform_clone_form","jotform_create_form","jotform_create_label","jotform_create_question","jotform_create_questions","jotform_create_report","jotform_create_submission","jotform_create_submissions","jotform_create_webhook","jotform_delete_form","jotform_delete_label","jotform_delete_question","jotform_delete_report","jotform_delete_submission","jotform_delete_webhook","jotform_get_form","jotform_get_form_properties","jotform_get_history","jotform_get_label","jotform_get_question","jotform_get_report","jotform_get_settings","jotform_get_submission","jotform_get_usage","jotform_get_user","jotform_list_form_files","jotform_list_form_reports","jotform_list_form_submissions","jotform_list_forms","jotform_list_label_resources","jotform_list_labels","jotform_list_questions","jotform_list_reports","jotform_list_submissions","jotform_list_subusers","jotform_list_webhooks","jotform_remove_label_resources","jotform_update_form_properties","jotform_update_label","jotform_update_question","jotform_update_settings","jotform_update_submission","jsm_add_comment","jsm_add_customer","jsm_add_organization","jsm_add_participants","jsm_answer_approval","jsm_attach_form","jsm_copy_forms","jsm_create_object","jsm_create_organization","jsm_create_request","jsm_delete_form","jsm_delete_object","jsm_externalise_form","jsm_get_approvals","jsm_get_comments","jsm_get_customers","jsm_get_form","jsm_get_form_answers","jsm_get_form_structure","jsm_get_form_templates","jsm_get_issue_forms","jsm_get_object","jsm_get_object_schema","jsm_get_object_type_attributes","jsm_get_organizations","jsm_get_participants","jsm_get_queues","jsm_get_request","jsm_get_request_type_fields","jsm_get_request_types","jsm_get_requests","jsm_get_service_desks","jsm_get_sla","jsm_get_transitions","jsm_internalise_form","jsm_list_object_schemas","jsm_list_object_types","jsm_reopen_form","jsm_save_form_answers","jsm_search_objects_aql","jsm_submit_form","jsm_transition_request","jsm_update_object","jupyter_copy_content","jupyter_create_file","jupyter_create_session","jupyter_delete_content","jupyter_delete_session","jupyter_get_content","jupyter_interrupt_kernel","jupyter_list_contents","jupyter_list_kernels","jupyter_list_kernelspecs","jupyter_list_sessions","jupyter_rename_content","jupyter_restart_kernel","jupyter_start_kernel","jupyter_stop_kernel","jupyter_upload_file","kalshi_amend_order","kalshi_amend_order_v2","kalshi_cancel_order","kalshi_cancel_order_v2","kalshi_create_order","kalshi_create_order_v2","kalshi_get_balance","kalshi_get_balance_v2","kalshi_get_candlesticks","kalshi_get_candlesticks_v2","kalshi_get_event","kalshi_get_event_candlesticks","kalshi_get_event_candlesticks_v2","kalshi_get_event_v2","kalshi_get_events","kalshi_get_events_v2","kalshi_get_exchange_announcements","kalshi_get_exchange_announcements_v2","kalshi_get_exchange_schedule","kalshi_get_exchange_schedule_v2","kalshi_get_exchange_status","kalshi_get_exchange_status_v2","kalshi_get_fills","kalshi_get_fills_v2","kalshi_get_market","kalshi_get_market_v2","kalshi_get_markets","kalshi_get_markets_v2","kalshi_get_order","kalshi_get_order_v2","kalshi_get_orderbook","kalshi_get_orderbook_v2","kalshi_get_orders","kalshi_get_orders_v2","kalshi_get_positions","kalshi_get_positions_v2","kalshi_get_series_by_ticker","kalshi_get_series_by_ticker_v2","kalshi_get_series_list","kalshi_get_series_list_v2","kalshi_get_settlements","kalshi_get_settlements_v2","kalshi_get_trades","kalshi_get_trades_v2","ketch_get_consent","ketch_get_subscriptions","ketch_invoke_right","ketch_set_consent","ketch_set_subscriptions","knowledge_create_document","knowledge_delete_chunk","knowledge_delete_document","knowledge_get_connector","knowledge_get_document","knowledge_list_chunks","knowledge_list_connectors","knowledge_list_documents","knowledge_list_tags","knowledge_search","knowledge_trigger_sync","knowledge_update_chunk","knowledge_upload_chunk","knowledge_upsert_document","lambda_add_permission","lambda_create_alias","lambda_create_event_source_mapping","lambda_create_function","lambda_create_function_url_config","lambda_delete_alias","lambda_delete_event_source_mapping","lambda_delete_function","lambda_delete_function_concurrency","lambda_delete_function_event_invoke_config","lambda_delete_function_url_config","lambda_delete_provisioned_concurrency_config","lambda_get_account_settings","lambda_get_alias","lambda_get_event_source_mapping","lambda_get_function","lambda_get_function_concurrency","lambda_get_function_configuration","lambda_get_function_event_invoke_config","lambda_get_function_recursion_config","lambda_get_function_url_config","lambda_get_layer_version","lambda_get_policy","lambda_get_provisioned_concurrency_config","lambda_get_runtime_management_config","lambda_invoke","lambda_list_aliases","lambda_list_event_source_mappings","lambda_list_function_event_invoke_configs","lambda_list_function_url_configs","lambda_list_functions","lambda_list_layer_versions","lambda_list_layers","lambda_list_provisioned_concurrency_configs","lambda_list_tags","lambda_list_versions_by_function","lambda_publish_version","lambda_put_function_concurrency","lambda_put_function_event_invoke_config","lambda_put_function_recursion_config","lambda_put_provisioned_concurrency_config","lambda_put_runtime_management_config","lambda_remove_permission","lambda_tag_resource","lambda_untag_resource","lambda_update_alias","lambda_update_event_source_mapping","lambda_update_function_code","lambda_update_function_configuration","lambda_update_function_url_config","langsmith_create_feedback","langsmith_create_run","langsmith_create_runs_batch","langsmith_get_run","langsmith_update_run","latex_compile","latex_get_package","latex_list_fonts","latex_search_packages","launchdarkly_create_flag","launchdarkly_delete_flag","launchdarkly_get_audit_log","launchdarkly_get_flag","launchdarkly_get_flag_status","launchdarkly_list_environments","launchdarkly_list_flags","launchdarkly_list_members","launchdarkly_list_projects","launchdarkly_list_segments","launchdarkly_toggle_flag","launchdarkly_update_flag","leadmagic_company_search","leadmagic_email_to_profile","leadmagic_find_email","leadmagic_find_mobile","leadmagic_get_credits","leadmagic_profile_search","leadmagic_profile_to_email","leadmagic_role_finder","leadmagic_validate_email","lemlist_get_activities","lemlist_get_lead","lemlist_send_email","linear_add_label_to_issue","linear_add_label_to_project","linear_archive_issue","linear_archive_label","linear_archive_project","linear_create_attachment","linear_create_comment","linear_create_customer","linear_create_customer_request","linear_create_customer_status","linear_create_customer_tier","linear_create_cycle","linear_create_favorite","linear_create_issue","linear_create_issue_relation","linear_create_label","linear_create_project","linear_create_project_label","linear_create_project_milestone","linear_create_project_status","linear_create_project_update","linear_create_workflow_state","linear_delete_attachment","linear_delete_comment","linear_delete_customer","linear_delete_customer_status","linear_delete_customer_tier","linear_delete_issue","linear_delete_issue_relation","linear_delete_project","linear_delete_project_label","linear_delete_project_milestone","linear_delete_project_status","linear_get_active_cycle","linear_get_customer","linear_get_cycle","linear_get_issue","linear_get_project","linear_get_viewer","linear_list_attachments","linear_list_comments","linear_list_customer_requests","linear_list_customer_statuses","linear_list_customer_tiers","linear_list_customers","linear_list_cycles","linear_list_favorites","linear_list_issue_relations","linear_list_labels","linear_list_notifications","linear_list_project_labels","linear_list_project_milestones","linear_list_project_statuses","linear_list_project_updates","linear_list_projects","linear_list_teams","linear_list_users","linear_list_workflow_states","linear_merge_customers","linear_read_issues","linear_remove_label_from_issue","linear_remove_label_from_project","linear_search_issues","linear_unarchive_issue","linear_update_attachment","linear_update_comment","linear_update_customer","linear_update_customer_request","linear_update_customer_status","linear_update_customer_tier","linear_update_issue","linear_update_label","linear_update_notification","linear_update_project","linear_update_project_label","linear_update_project_milestone","linear_update_project_status","linear_update_workflow_state","linkedin_get_profile","linkedin_share_post","linkup_search","linq_add_participant","linq_check_imessage","linq_check_rcs","linq_create_attachment","linq_create_chat","linq_create_contact_card","linq_create_webhook_subscription","linq_delete_attachment","linq_delete_message","linq_delete_webhook_subscription","linq_edit_message","linq_get_attachment","linq_get_chat","linq_get_contact_card","linq_get_message","linq_get_webhook_subscription","linq_leave_chat","linq_list_chats","linq_list_messages","linq_list_phone_numbers","linq_list_thread","linq_list_webhook_events","linq_list_webhook_subscriptions","linq_mark_chat_read","linq_react_to_message","linq_remove_participant","linq_send_message","linq_send_voice_memo","linq_share_contact_card","linq_start_typing","linq_stop_typing","linq_update_chat","linq_update_contact_card","linq_update_webhook_subscription","llm_chat","logfire_get_token_info","logfire_get_trace","logfire_query","logfire_search_records","logrocket_create_release","logrocket_get_audit_logs","logrocket_get_highlights","logrocket_identify_user","logrocket_list_exported_sessions","logrocket_request_highlights","logs_get","logs_get_execution","logs_get_run_details","logs_query","logs_query_runs","loops_check_contact_suppression","loops_create_contact","loops_create_contact_property","loops_delete_contact","loops_find_contact","loops_get_transactional_email","loops_list_contact_properties","loops_list_mailing_lists","loops_list_transactional_emails","loops_remove_contact_suppression","loops_send_event","loops_send_transactional_email","loops_update_contact","luma_add_guests","luma_cancel_event","luma_create_event","luma_get_event","luma_get_guest","luma_get_guests","luma_list_events","luma_lookup_event","luma_send_invites","luma_update_event","luma_update_guest_status","mailchimp_add_member","mailchimp_add_member_tags","mailchimp_add_or_update_member","mailchimp_add_segment_member","mailchimp_add_subscriber_to_automation","mailchimp_archive_member","mailchimp_create_audience","mailchimp_create_batch_operation","mailchimp_create_campaign","mailchimp_create_interest","mailchimp_create_interest_category","mailchimp_create_landing_page","mailchimp_create_merge_field","mailchimp_create_segment","mailchimp_create_template","mailchimp_delete_audience","mailchimp_delete_batch_operation","mailchimp_delete_campaign","mailchimp_delete_interest","mailchimp_delete_interest_category","mailchimp_delete_landing_page","mailchimp_delete_member","mailchimp_delete_merge_field","mailchimp_delete_segment","mailchimp_delete_template","mailchimp_get_audience","mailchimp_get_audiences","mailchimp_get_automation","mailchimp_get_automations","mailchimp_get_batch_operation","mailchimp_get_batch_operations","mailchimp_get_campaign","mailchimp_get_campaign_content","mailchimp_get_campaign_report","mailchimp_get_campaign_reports","mailchimp_get_campaigns","mailchimp_get_interest","mailchimp_get_interest_categories","mailchimp_get_interest_category","mailchimp_get_interests","mailchimp_get_landing_page","mailchimp_get_landing_pages","mailchimp_get_member","mailchimp_get_member_tags","mailchimp_get_members","mailchimp_get_merge_field","mailchimp_get_merge_fields","mailchimp_get_segment","mailchimp_get_segment_members","mailchimp_get_segments","mailchimp_get_template","mailchimp_get_templates","mailchimp_pause_automation","mailchimp_publish_landing_page","mailchimp_remove_member_tags","mailchimp_remove_segment_member","mailchimp_replicate_campaign","mailchimp_schedule_campaign","mailchimp_send_campaign","mailchimp_set_campaign_content","mailchimp_start_automation","mailchimp_unarchive_member","mailchimp_unpublish_landing_page","mailchimp_unschedule_campaign","mailchimp_update_audience","mailchimp_update_campaign","mailchimp_update_interest","mailchimp_update_interest_category","mailchimp_update_landing_page","mailchimp_update_member","mailchimp_update_merge_field","mailchimp_update_segment","mailchimp_update_template","mailgun_add_list_member","mailgun_create_mailing_list","mailgun_get_domain","mailgun_get_mailing_list","mailgun_get_message","mailgun_list_domains","mailgun_list_messages","mailgun_send_message","managed_agent_archive_session","managed_agent_create_session","managed_agent_delete_session","managed_agent_get_session","managed_agent_interrupt_session","managed_agent_list_events","managed_agent_respond_custom_tool","managed_agent_respond_tool_confirmation","managed_agent_run_session","managed_agent_send_message","managed_agent_update_session","mem0_add_memories","mem0_get_memories","mem0_search_memories","memory_add","memory_delete","memory_get","memory_get_all","microsoft_ad_add_directory_role_member","microsoft_ad_add_group_member","microsoft_ad_add_user_app_role_assignment","microsoft_ad_assign_license","microsoft_ad_create_group","microsoft_ad_create_user","microsoft_ad_delete_group","microsoft_ad_delete_user","microsoft_ad_get_conditional_access_policy","microsoft_ad_get_device","microsoft_ad_get_group","microsoft_ad_get_user","microsoft_ad_list_authentication_methods","microsoft_ad_list_conditional_access_policies","microsoft_ad_list_devices","microsoft_ad_list_directory_audits","microsoft_ad_list_directory_role_members","microsoft_ad_list_directory_roles","microsoft_ad_list_group_members","microsoft_ad_list_groups","microsoft_ad_list_service_principal_app_role_assignments","microsoft_ad_list_service_principals","microsoft_ad_list_sign_ins","microsoft_ad_list_subscribed_skus","microsoft_ad_list_user_app_role_assignments","microsoft_ad_list_user_devices","microsoft_ad_list_user_licenses","microsoft_ad_list_users","microsoft_ad_remove_directory_role_member","microsoft_ad_remove_group_member","microsoft_ad_remove_user_app_role_assignment","microsoft_ad_reset_password","microsoft_ad_revoke_sign_in_sessions","microsoft_ad_set_password","microsoft_ad_update_group","microsoft_ad_update_user","microsoft_dataverse_associate","microsoft_dataverse_create_multiple","microsoft_dataverse_create_record","microsoft_dataverse_delete_record","microsoft_dataverse_disassociate","microsoft_dataverse_download_file","microsoft_dataverse_execute_action","microsoft_dataverse_execute_function","microsoft_dataverse_fetchxml_query","microsoft_dataverse_get_entity_metadata","microsoft_dataverse_get_record","microsoft_dataverse_list_records","microsoft_dataverse_search","microsoft_dataverse_update_multiple","microsoft_dataverse_update_record","microsoft_dataverse_upload_file","microsoft_dataverse_upsert_record","microsoft_dataverse_whoami","microsoft_dynamics_365_close_case","microsoft_dynamics_365_close_opportunity","microsoft_dynamics_365_create_record","microsoft_dynamics_365_get_record","microsoft_dynamics_365_list_records","microsoft_dynamics_365_qualify_lead","microsoft_dynamics_365_search_records","microsoft_dynamics_365_update_record","microsoft_excel_clear_range","microsoft_excel_create_table","microsoft_excel_delete_worksheet","microsoft_excel_format_range","microsoft_excel_read","microsoft_excel_read_v2","microsoft_excel_sort_range","microsoft_excel_table_add","microsoft_excel_worksheet_add","microsoft_excel_write","microsoft_excel_write_v2","microsoft_planner_create_bucket","microsoft_planner_create_plan","microsoft_planner_create_task","microsoft_planner_delete_bucket","microsoft_planner_delete_plan","microsoft_planner_delete_task","microsoft_planner_get_plan_details","microsoft_planner_get_task_details","microsoft_planner_list_buckets","microsoft_planner_list_plans","microsoft_planner_read_bucket","microsoft_planner_read_plan","microsoft_planner_read_task","microsoft_planner_update_bucket","microsoft_planner_update_plan","microsoft_planner_update_plan_details","microsoft_planner_update_task","microsoft_planner_update_task_details","microsoft_teams_delete_channel_message","microsoft_teams_delete_chat_message","microsoft_teams_get_message","microsoft_teams_list_channel_members","microsoft_teams_list_channels","microsoft_teams_list_chat_members","microsoft_teams_list_chats","microsoft_teams_list_team_members","microsoft_teams_list_teams","microsoft_teams_read_channel","microsoft_teams_read_chat","microsoft_teams_reply_to_message","microsoft_teams_set_reaction","microsoft_teams_unset_reaction","microsoft_teams_update_channel_message","microsoft_teams_update_chat_message","microsoft_teams_write_channel","microsoft_teams_write_chat","microsoft_word_append","microsoft_word_create","microsoft_word_create_from_template","microsoft_word_export_pdf","microsoft_word_list","microsoft_word_read","microsoft_word_replace_text","microsoft_word_update","millionverifier_get_credits","millionverifier_verify_email","mintlify_create_agent_job","mintlify_create_assistant_message","mintlify_detect_ai_prose","mintlify_get_agent_job","mintlify_get_assistant_caller_stats","mintlify_get_assistant_conversations","mintlify_get_feedback","mintlify_get_feedback_by_page","mintlify_get_page_content","mintlify_get_searches","mintlify_get_update_status","mintlify_get_views","mintlify_get_visitors","mintlify_search","mintlify_send_agent_message","mintlify_trigger_automation","mintlify_trigger_preview","mintlify_trigger_update","mistral_parser","mistral_parser_v2","mistral_parser_v3","modal_call_function","modal_chat_completion","modal_list_models","monday_archive_item","monday_change_column_value","monday_create_board","monday_create_column","monday_create_group","monday_create_item","monday_create_subitem","monday_create_update","monday_delete_item","monday_duplicate_item","monday_get_board","monday_get_groups","monday_get_item","monday_get_items","monday_list_boards","monday_move_item_to_group","monday_search_items","monday_update_item","mongodb_delete","mongodb_execute","mongodb_insert","mongodb_introspect","mongodb_query","mongodb_update","mssql_delete","mssql_execute","mssql_insert","mssql_introspect","mssql_query","mssql_update","mysql_delete","mysql_execute","mysql_insert","mysql_introspect","mysql_query","mysql_update","neo4j_create","neo4j_delete","neo4j_execute","neo4j_introspect","neo4j_merge","neo4j_query","neo4j_update","netsuite_attach_record","netsuite_batch_create_records","netsuite_batch_delete_records","netsuite_batch_get_records","netsuite_batch_update_records","netsuite_batch_upsert_records","netsuite_create_record","netsuite_delete_record","netsuite_detach_record","netsuite_execute_action","netsuite_execute_dataset","netsuite_execute_suiteql","netsuite_get_async_result","netsuite_get_async_status","netsuite_get_governance_limits","netsuite_get_record","netsuite_get_record_form","netsuite_get_record_metadata","netsuite_get_select_options","netsuite_get_server_time","netsuite_get_subresource","netsuite_list_datasets","netsuite_list_record_types","netsuite_list_records","netsuite_transform_record","netsuite_update_record","netsuite_upsert_record","neverbounce_get_credits","neverbounce_verify_email","new_relic_create_deployment_event","new_relic_get_entity","new_relic_nrql_query","new_relic_search_entities","notion_add_database_row","notion_add_database_row_v2","notion_append_blocks","notion_append_blocks_v2","notion_create_comment","notion_create_comment_v2","notion_create_database","notion_create_database_v2","notion_create_page","notion_create_page_v2","notion_delete_block","notion_delete_block_v2","notion_list_comments","notion_list_comments_v2","notion_list_users","notion_list_users_v2","notion_query_database","notion_query_database_v2","notion_read","notion_read_database","notion_read_database_v2","notion_read_v2","notion_retrieve_block","notion_retrieve_block_children","notion_retrieve_block_children_v2","notion_retrieve_block_v2","notion_retrieve_user","notion_retrieve_user_v2","notion_search","notion_search_v2","notion_update_block","notion_update_block_v2","notion_update_page","notion_update_page_v2","notion_write","notion_write_v2","obsidian_append_active","obsidian_append_note","obsidian_append_periodic_note","obsidian_create_note","obsidian_delete_note","obsidian_execute_command","obsidian_get_active","obsidian_get_note","obsidian_get_periodic_note","obsidian_list_commands","obsidian_list_files","obsidian_open_file","obsidian_patch_active","obsidian_patch_note","obsidian_search","okta_activate_group_rule","okta_activate_user","okta_add_user_to_group","okta_assign_group_to_app","okta_assign_user_role","okta_assign_user_to_app","okta_clear_user_sessions","okta_create_group","okta_create_group_rule","okta_create_user","okta_deactivate_group_rule","okta_deactivate_user","okta_delete_group","okta_delete_group_rule","okta_delete_user","okta_enroll_factor","okta_get_app","okta_get_factor","okta_get_group","okta_get_group_rule","okta_get_logs","okta_get_session","okta_get_user","okta_list_app_groups","okta_list_app_users","okta_list_apps","okta_list_factors","okta_list_group_members","okta_list_group_rules","okta_list_groups","okta_list_user_roles","okta_list_users","okta_remove_group_from_app","okta_remove_user_from_app","okta_remove_user_from_group","okta_remove_user_role","okta_reset_all_factors","okta_reset_factor","okta_reset_password","okta_revoke_session","okta_suspend_user","okta_unsuspend_user","okta_update_group","okta_update_user","onedrive_copy","onedrive_create_folder","onedrive_create_share_link","onedrive_delete","onedrive_download","onedrive_get_drive_info","onedrive_get_item","onedrive_list","onedrive_move","onedrive_search","onedrive_upload","onepassword_create_item","onepassword_delete_item","onepassword_get_item","onepassword_get_item_file","onepassword_get_vault","onepassword_list_items","onepassword_list_vaults","onepassword_replace_item","onepassword_resolve_secret","onepassword_update_item","openai_embeddings","openai_image","oracle_fusion_financials_apply_receivables_receipt","oracle_fusion_financials_approve_receivables_credit_memo","oracle_fusion_financials_approve_receivables_invoice","oracle_fusion_financials_create_expense_distribution","oracle_fusion_financials_create_expense_itemization","oracle_fusion_financials_create_expense_line","oracle_fusion_financials_create_expense_report","oracle_fusion_financials_create_receivables_credit_memo","oracle_fusion_financials_create_receivables_credit_memo_distribution","oracle_fusion_financials_create_receivables_credit_memo_line","oracle_fusion_financials_create_receivables_invoice","oracle_fusion_financials_create_receivables_invoice_distribution","oracle_fusion_financials_create_receivables_invoice_line","oracle_fusion_financials_create_receivables_receipt","oracle_fusion_financials_delete_gl_journal_batch","oracle_fusion_financials_delete_receivables_invoice","oracle_fusion_financials_delete_receivables_receipt","oracle_fusion_financials_get_expense_distribution","oracle_fusion_financials_get_expense_itemization","oracle_fusion_financials_get_expense_line","oracle_fusion_financials_get_expense_line_error","oracle_fusion_financials_get_expense_report","oracle_fusion_financials_get_expense_report_payment","oracle_fusion_financials_get_expense_report_processing_detail","oracle_fusion_financials_get_gl_journal_action_log","oracle_fusion_financials_get_gl_journal_batch","oracle_fusion_financials_get_gl_journal_error","oracle_fusion_financials_get_gl_journal_header","oracle_fusion_financials_get_gl_journal_line","oracle_fusion_financials_get_gl_ledger","oracle_fusion_financials_get_payables_applied_prepayment","oracle_fusion_financials_get_payables_available_prepayment","oracle_fusion_financials_get_payables_invoice","oracle_fusion_financials_get_payables_invoice_distribution","oracle_fusion_financials_get_payables_invoice_hold","oracle_fusion_financials_get_payables_invoice_installment","oracle_fusion_financials_get_payables_invoice_line","oracle_fusion_financials_get_payables_payment","oracle_fusion_financials_get_payables_payment_related_invoice","oracle_fusion_financials_get_payables_payment_term","oracle_fusion_financials_get_payables_payment_term_line","oracle_fusion_financials_get_payment_process_request","oracle_fusion_financials_get_receivables_credit_memo","oracle_fusion_financials_get_receivables_credit_memo_application","oracle_fusion_financials_get_receivables_credit_memo_distribution","oracle_fusion_financials_get_receivables_credit_memo_line","oracle_fusion_financials_get_receivables_customer_account","oracle_fusion_financials_get_receivables_customer_account_site","oracle_fusion_financials_get_receivables_invoice","oracle_fusion_financials_get_receivables_invoice_distribution","oracle_fusion_financials_get_receivables_invoice_installment","oracle_fusion_financials_get_receivables_invoice_line","oracle_fusion_financials_get_receivables_receipt","oracle_fusion_financials_get_receivables_receipt_application","oracle_fusion_financials_get_receivables_transaction_adjustment","oracle_fusion_financials_get_receivables_transaction_payment_schedule","oracle_fusion_financials_list_expense_distributions","oracle_fusion_financials_list_expense_itemizations","oracle_fusion_financials_list_expense_line_errors","oracle_fusion_financials_list_expense_lines","oracle_fusion_financials_list_expense_report_payments","oracle_fusion_financials_list_expense_report_processing_details","oracle_fusion_financials_list_expense_reports","oracle_fusion_financials_list_gl_balances","oracle_fusion_financials_list_gl_journal_action_logs","oracle_fusion_financials_list_gl_journal_batches","oracle_fusion_financials_list_gl_journal_errors","oracle_fusion_financials_list_gl_journal_headers","oracle_fusion_financials_list_gl_journal_lines","oracle_fusion_financials_list_gl_ledgers","oracle_fusion_financials_list_payables_applied_prepayments","oracle_fusion_financials_list_payables_available_prepayments","oracle_fusion_financials_list_payables_invoice_distributions","oracle_fusion_financials_list_payables_invoice_holds","oracle_fusion_financials_list_payables_invoice_installments","oracle_fusion_financials_list_payables_invoice_lines","oracle_fusion_financials_list_payables_invoices","oracle_fusion_financials_list_payables_payment_related_invoices","oracle_fusion_financials_list_payables_payment_term_lines","oracle_fusion_financials_list_payables_payment_terms","oracle_fusion_financials_list_payables_payments","oracle_fusion_financials_list_payment_process_requests","oracle_fusion_financials_list_receivables_credit_memo_applications","oracle_fusion_financials_list_receivables_credit_memo_distributions","oracle_fusion_financials_list_receivables_credit_memo_lines","oracle_fusion_financials_list_receivables_credit_memos","oracle_fusion_financials_list_receivables_customer_account_sites","oracle_fusion_financials_list_receivables_customer_accounts","oracle_fusion_financials_list_receivables_invoice_distributions","oracle_fusion_financials_list_receivables_invoice_installments","oracle_fusion_financials_list_receivables_invoice_lines","oracle_fusion_financials_list_receivables_invoices","oracle_fusion_financials_list_receivables_receipt_applications","oracle_fusion_financials_list_receivables_receipts","oracle_fusion_financials_list_receivables_transaction_adjustments","oracle_fusion_financials_list_receivables_transaction_payment_schedules","oracle_fusion_financials_remove_expense_report_cash_advance","oracle_fusion_financials_rework_receivables_credit_memo","oracle_fusion_financials_rework_receivables_invoice","oracle_fusion_financials_submit_expense_report","oracle_fusion_financials_update_expense_distribution","oracle_fusion_financials_update_expense_itemization","oracle_fusion_financials_update_expense_line","oracle_fusion_financials_update_expense_report","oracle_fusion_financials_update_receivables_credit_memo","oracle_fusion_financials_update_receivables_invoice","oracle_fusion_financials_update_receivables_invoice_installment","oracle_fusion_financials_update_receivables_receipt","outlook_calendar_create_event","outlook_calendar_delete_event","outlook_calendar_get_event","outlook_calendar_list_events","outlook_calendar_respond","outlook_calendar_update_event","outlook_copy","outlook_create_folder","outlook_delete","outlook_draft","outlook_forward","outlook_get_attachment","outlook_list_attachments","outlook_list_folders","outlook_mark_read","outlook_mark_unread","outlook_move","outlook_read","outlook_reply","outlook_reply_all","outlook_search","outlook_send","outlook_update_message","pagerduty_add_note","pagerduty_create_incident","pagerduty_get_incident","pagerduty_get_service","pagerduty_list_escalation_policies","pagerduty_list_incident_alerts","pagerduty_list_incidents","pagerduty_list_oncalls","pagerduty_list_schedules","pagerduty_list_services","pagerduty_list_users","pagerduty_merge_incidents","pagerduty_send_event","pagerduty_snooze_incident","pagerduty_update_incident","parallel_deep_research","parallel_extract","parallel_search","pdl_autocomplete","pdl_bulk_company_enrich","pdl_bulk_person_enrich","pdl_clean_company","pdl_clean_location","pdl_clean_school","pdl_company_enrich","pdl_company_search","pdl_person_enrich","pdl_person_identify","pdl_person_search","perplexity_chat","perplexity_search","persona_approve_inquiry","persona_create_account","persona_create_inquiry","persona_create_report","persona_decline_inquiry","persona_expire_inquiry","persona_generate_inquiry_link","persona_get_account","persona_get_case","persona_get_document","persona_get_inquiry","persona_get_report","persona_get_verification","persona_import_accounts","persona_list_accounts","persona_list_cases","persona_list_inquiries","persona_list_inquiry_templates","persona_list_reports","persona_mark_inquiry_for_review","persona_print_inquiry_pdf","persona_redact_account","persona_redact_inquiry","persona_resume_inquiry","persona_update_account","persona_update_inquiry","pinecone_delete_vectors","pinecone_describe_index","pinecone_describe_index_stats","pinecone_fetch","pinecone_generate_embeddings","pinecone_list_indexes","pinecone_list_vector_ids","pinecone_search_text","pinecone_search_vector","pinecone_update_vector","pinecone_upsert_text","pipedrive_create_activity","pipedrive_create_deal","pipedrive_create_lead","pipedrive_create_project","pipedrive_delete_lead","pipedrive_get_activities","pipedrive_get_all_deals","pipedrive_get_deal","pipedrive_get_files","pipedrive_get_leads","pipedrive_get_mail_messages","pipedrive_get_mail_thread","pipedrive_get_pipeline_deals","pipedrive_get_pipelines","pipedrive_get_projects","pipedrive_update_activity","pipedrive_update_deal","pipedrive_update_lead","pitchbook_company_active_investors","pitchbook_company_bio","pitchbook_company_deal_service_providers","pitchbook_company_deals","pitchbook_company_financials","pitchbook_company_general_service_providers","pitchbook_company_industries","pitchbook_company_investors","pitchbook_company_most_recent_debt_financing","pitchbook_company_most_recent_financials","pitchbook_company_most_recent_financing","pitchbook_company_search","pitchbook_company_similar_companies","pitchbook_company_social_analytics","pitchbook_company_updates","pitchbook_company_vc_exit_predictions","pitchbook_contracts_history","pitchbook_cost_of_calls","pitchbook_credit_history","pitchbook_credit_news","pitchbook_credit_news_bulk","pitchbook_credit_news_most_recent","pitchbook_credit_news_search","pitchbook_deal_bio","pitchbook_deal_cap_table_history","pitchbook_deal_debt_lenders","pitchbook_deal_detailed","pitchbook_deal_investors","pitchbook_deal_multiples","pitchbook_deal_search","pitchbook_deal_service_providers","pitchbook_deal_stock_info","pitchbook_deal_tranche_info","pitchbook_deal_updates","pitchbook_deal_valuation","pitchbook_entity_affiliates","pitchbook_entity_locations","pitchbook_entity_news","pitchbook_entity_people","pitchbook_entity_updates","pitchbook_fund_active_investments","pitchbook_fund_benchmark","pitchbook_fund_bio","pitchbook_fund_cash_flows","pitchbook_fund_commitments","pitchbook_fund_investment_preferences","pitchbook_fund_investments","pitchbook_fund_performance","pitchbook_fund_search","pitchbook_fund_team","pitchbook_fund_updates","pitchbook_investor_active_investments","pitchbook_investor_bio","pitchbook_investor_board_seats","pitchbook_investor_deal_service_providers","pitchbook_investor_funds","pitchbook_investor_general_service_providers","pitchbook_investor_investments","pitchbook_investor_last_closed_fund","pitchbook_investor_preferences","pitchbook_investor_search","pitchbook_investor_updates","pitchbook_limited_partner_actual_allocations","pitchbook_limited_partner_bio","pitchbook_limited_partner_commitment_aggregates","pitchbook_limited_partner_commitment_preferences","pitchbook_limited_partner_commitments_detailed","pitchbook_limited_partner_search","pitchbook_limited_partner_service_providers","pitchbook_limited_partner_target_allocations","pitchbook_limited_partner_updates","pitchbook_lookup_table_structure","pitchbook_lookup_tables","pitchbook_patent_detailed","pitchbook_patent_search","pitchbook_people_search","pitchbook_person_bio","pitchbook_person_contact","pitchbook_person_education_work","pitchbook_sandbox_entities","pitchbook_search","pitchbook_service_provider_bio","pitchbook_service_provider_search","pitchbook_service_provider_updates","pitchbook_serviced_companies","pitchbook_serviced_deals","pitchbook_serviced_funds","pitchbook_serviced_investors","pitchbook_serviced_limited_partners","pitchbook_shared_search","pitchbook_usage_report","polymarket_get_activity","polymarket_get_event","polymarket_get_events","polymarket_get_holders","polymarket_get_last_trade_price","polymarket_get_leaderboard","polymarket_get_market","polymarket_get_markets","polymarket_get_midpoint","polymarket_get_orderbook","polymarket_get_positions","polymarket_get_price","polymarket_get_price_history","polymarket_get_series","polymarket_get_series_by_id","polymarket_get_spread","polymarket_get_tags","polymarket_get_tick_size","polymarket_get_trades","polymarket_search","postgresql_delete","postgresql_execute","postgresql_insert","postgresql_introspect","postgresql_query","postgresql_update","posthog_batch_events","posthog_capture_event","posthog_create_annotation","posthog_create_cohort","posthog_create_dashboard","posthog_create_experiment","posthog_create_feature_flag","posthog_create_insight","posthog_create_survey","posthog_delete_feature_flag","posthog_delete_person","posthog_delete_survey","posthog_evaluate_flags","posthog_get_cohort","posthog_get_dashboard","posthog_get_event_definition","posthog_get_experiment","posthog_get_feature_flag","posthog_get_insight","posthog_get_organization","posthog_get_person","posthog_get_project","posthog_get_property_definition","posthog_get_session_recording","posthog_get_survey","posthog_list_actions","posthog_list_annotations","posthog_list_cohorts","posthog_list_dashboards","posthog_list_event_definitions","posthog_list_experiments","posthog_list_feature_flags","posthog_list_insights","posthog_list_organizations","posthog_list_persons","posthog_list_projects","posthog_list_property_definitions","posthog_list_recording_playlists","posthog_list_session_recordings","posthog_list_surveys","posthog_query","posthog_update_cohort","posthog_update_event_definition","posthog_update_experiment","posthog_update_feature_flag","posthog_update_insight","posthog_update_property_definition","posthog_update_survey","profound_bot_logs","profound_bots_report","profound_category_assets","profound_category_personas","profound_category_prompts","profound_category_tags","profound_category_topics","profound_citation_prompts","profound_citations_report","profound_list_assets","profound_list_categories","profound_list_domains","profound_list_models","profound_list_optimizations","profound_list_personas","profound_list_regions","profound_optimization_analysis","profound_prompt_answers","profound_prompt_volume","profound_query_fanouts","profound_raw_logs","profound_referrals_report","profound_sentiment_report","profound_visibility_report","prospeo_account_information","prospeo_bulk_enrich_company","prospeo_bulk_enrich_person","prospeo_enrich_company","prospeo_enrich_person","prospeo_search_company","prospeo_search_person","prospeo_search_suggestions","pulse_parser","pulse_parser_v2","qdrant_fetch_points","qdrant_search_vector","qdrant_upsert_points","quartr_get_audio","quartr_get_company","quartr_get_event","quartr_get_event_summary","quartr_get_report","quartr_get_slide_deck","quartr_get_transcript","quartr_list_audio","quartr_list_companies","quartr_list_document_types","quartr_list_documents","quartr_list_event_types","quartr_list_events","quartr_list_live_events","quartr_list_reports","quartr_list_slide_decks","quartr_list_transcripts","quiver_image_to_svg","quiver_list_models","quiver_text_to_svg","rabbitmq_create_binding","rabbitmq_create_exchange","rabbitmq_create_policy","rabbitmq_create_queue","rabbitmq_delete_binding","rabbitmq_delete_exchange","rabbitmq_delete_policy","rabbitmq_delete_queue","rabbitmq_get_exchange","rabbitmq_get_messages","rabbitmq_get_overview","rabbitmq_get_queue","rabbitmq_health_check","rabbitmq_list_bindings","rabbitmq_list_channels","rabbitmq_list_connections","rabbitmq_list_consumers","rabbitmq_list_exchange_bindings","rabbitmq_list_exchanges","rabbitmq_list_nodes","rabbitmq_list_policies","rabbitmq_list_queues","rabbitmq_list_vhosts","rabbitmq_publish_message","rabbitmq_purge_queue","railway_create_environment","railway_create_project","railway_create_service","railway_delete_environment","railway_delete_project","railway_delete_service","railway_delete_variable","railway_deploy_service","railway_get_deployment","railway_get_deployment_logs","railway_get_project","railway_list_deployments","railway_list_project_members","railway_list_projects","railway_list_variables","railway_restart_deployment","railway_rollback_deployment","railway_transfer_project","railway_update_project","railway_upsert_variable","rb2b_credit_check","rb2b_email_to_activity","rb2b_hem_to_best_linkedin","rb2b_hem_to_business_profile","rb2b_hem_to_linkedin","rb2b_hem_to_maid","rb2b_ip_to_company","rb2b_ip_to_hem","rb2b_ip_to_maid","rb2b_linkedin_slug_search","rb2b_linkedin_to_best_personal_email","rb2b_linkedin_to_business_profile","rb2b_linkedin_to_hashed_emails","rb2b_linkedin_to_mobile_phone","rb2b_linkedin_to_personal_email","rds_delete","rds_execute","rds_insert","rds_introspect","rds_query","rds_update","reddit_delete","reddit_edit","reddit_get_comments","reddit_get_controversial","reddit_get_info","reddit_get_me","reddit_get_messages","reddit_get_posts","reddit_get_saved","reddit_get_subreddit_info","reddit_get_subreddit_rules","reddit_get_user","reddit_get_user_comments","reddit_get_user_posts","reddit_hide","reddit_hot_posts","reddit_list_my_subreddits","reddit_lock","reddit_mark_all_read","reddit_mark_read","reddit_marknsfw","reddit_mod_approve","reddit_mod_distinguish","reddit_mod_remove","reddit_mod_sticky","reddit_reply","reddit_report","reddit_save","reddit_search","reddit_search_subreddits","reddit_send_message","reddit_submit_post","reddit_subscribe","reddit_unhide","reddit_unlock","reddit_unmarknsfw","reddit_unsave","reddit_vote","redis_command","redis_delete","redis_exists","redis_expire","redis_get","redis_hdel","redis_hget","redis_hgetall","redis_hset","redis_incr","redis_incrby","redis_keys","redis_llen","redis_lpop","redis_lpush","redis_lrange","redis_persist","redis_rpop","redis_rpush","redis_set","redis_setnx","redis_ttl","reducto_parser","reducto_parser_v2","resend_cancel_email","resend_create_audience","resend_create_broadcast","resend_create_contact","resend_delete_audience","resend_delete_contact","resend_get_audience","resend_get_broadcast","resend_get_contact","resend_get_email","resend_list_audiences","resend_list_contacts","resend_list_domains","resend_send","resend_send_broadcast","resend_update_contact","revenuecat_create_purchase","revenuecat_defer_google_subscription","revenuecat_delete_customer","revenuecat_get_customer","revenuecat_grant_entitlement","revenuecat_list_offerings","revenuecat_refund_google_subscription","revenuecat_revoke_entitlement","revenuecat_revoke_google_subscription","revenuecat_update_subscriber_attributes","rippling_bulk_create_custom_object_records","rippling_bulk_delete_custom_object_records","rippling_bulk_update_custom_object_records","rippling_create_business_partner","rippling_create_business_partner_group","rippling_create_custom_app","rippling_create_custom_object","rippling_create_custom_object_field","rippling_create_custom_object_record","rippling_create_custom_page","rippling_create_custom_setting","rippling_create_department","rippling_create_draft_hires","rippling_create_object_category","rippling_create_title","rippling_create_work_location","rippling_delete_business_partner","rippling_delete_business_partner_group","rippling_delete_custom_app","rippling_delete_custom_object","rippling_delete_custom_object_field","rippling_delete_custom_object_record","rippling_delete_custom_page","rippling_delete_custom_setting","rippling_delete_object_category","rippling_delete_title","rippling_delete_work_location","rippling_get_business_partner","rippling_get_business_partner_group","rippling_get_current_user","rippling_get_custom_app","rippling_get_custom_object","rippling_get_custom_object_field","rippling_get_custom_object_record","rippling_get_custom_object_record_by_external_id","rippling_get_custom_page","rippling_get_custom_setting","rippling_get_department","rippling_get_employment_type","rippling_get_job_function","rippling_get_object_category","rippling_get_report_run","rippling_get_supergroup","rippling_get_team","rippling_get_title","rippling_get_user","rippling_get_work_location","rippling_get_worker","rippling_list_business_partner_groups","rippling_list_business_partners","rippling_list_companies","rippling_list_custom_apps","rippling_list_custom_fields","rippling_list_custom_object_fields","rippling_list_custom_object_records","rippling_list_custom_objects","rippling_list_custom_pages","rippling_list_custom_settings","rippling_list_departments","rippling_list_employment_types","rippling_list_entitlements","rippling_list_job_functions","rippling_list_object_categories","rippling_list_supergroup_exclusion_members","rippling_list_supergroup_inclusion_members","rippling_list_supergroup_members","rippling_list_supergroups","rippling_list_teams","rippling_list_titles","rippling_list_users","rippling_list_work_locations","rippling_list_workers","rippling_query_custom_object_records","rippling_trigger_report_run","rippling_update_custom_app","rippling_update_custom_object","rippling_update_custom_object_field","rippling_update_custom_object_record","rippling_update_custom_page","rippling_update_custom_setting","rippling_update_department","rippling_update_object_category","rippling_update_supergroup_exclusion_members","rippling_update_supergroup_inclusion_members","rippling_update_title","rippling_update_work_location","rocketlane_add_field_option","rocketlane_add_project_members","rocketlane_add_task_assignees","rocketlane_add_task_dependencies","rocketlane_add_task_followers","rocketlane_archive_project","rocketlane_assign_placeholders","rocketlane_create_field","rocketlane_create_phase","rocketlane_create_project","rocketlane_create_space","rocketlane_create_space_document","rocketlane_create_task","rocketlane_create_time_entry","rocketlane_create_time_off","rocketlane_delete_field","rocketlane_delete_phase","rocketlane_delete_project","rocketlane_delete_space","rocketlane_delete_space_document","rocketlane_delete_task","rocketlane_delete_time_entry","rocketlane_delete_time_off","rocketlane_get_field","rocketlane_get_invoice","rocketlane_get_invoice_line_items","rocketlane_get_invoice_payments","rocketlane_get_phase","rocketlane_get_project","rocketlane_get_space","rocketlane_get_space_document","rocketlane_get_task","rocketlane_get_time_entry","rocketlane_get_time_off","rocketlane_get_user","rocketlane_import_template","rocketlane_list_fields","rocketlane_list_invoices","rocketlane_list_phases","rocketlane_list_placeholders","rocketlane_list_projects","rocketlane_list_resource_allocations","rocketlane_list_space_documents","rocketlane_list_spaces","rocketlane_list_tasks","rocketlane_list_time_entries","rocketlane_list_time_entry_categories","rocketlane_list_time_offs","rocketlane_list_users","rocketlane_move_task_to_phase","rocketlane_remove_project_members","rocketlane_remove_task_assignees","rocketlane_remove_task_dependencies","rocketlane_remove_task_followers","rocketlane_search_time_entries","rocketlane_unassign_placeholders","rocketlane_update_field","rocketlane_update_field_option","rocketlane_update_phase","rocketlane_update_project","rocketlane_update_space","rocketlane_update_space_document","rocketlane_update_task","rocketlane_update_time_entry","rootly_acknowledge_alert","rootly_add_incident_event","rootly_add_subscribers","rootly_assign_incident_role","rootly_create_action_item","rootly_create_alert","rootly_create_incident","rootly_create_status_page_event","rootly_delete_action_item","rootly_delete_incident","rootly_escalate_alert","rootly_get_alert","rootly_get_incident","rootly_list_action_items","rootly_list_alerts","rootly_list_causes","rootly_list_environments","rootly_list_escalation_policies","rootly_list_functionalities","rootly_list_incident_events","rootly_list_incident_roles","rootly_list_incident_types","rootly_list_incidents","rootly_list_on_calls","rootly_list_playbooks","rootly_list_retrospectives","rootly_list_schedules","rootly_list_services","rootly_list_severities","rootly_list_teams","rootly_list_users","rootly_mitigate_incident","rootly_remove_subscribers","rootly_resolve_alert","rootly_resolve_incident","rootly_run_workflow","rootly_snooze_alert","rootly_unassign_incident_role","rootly_update_action_item","rootly_update_alert","rootly_update_incident","s3_copy_object","s3_create_bucket","s3_delete_bucket","s3_delete_object","s3_delete_objects","s3_get_object","s3_head_object","s3_list_buckets","s3_list_objects","s3_presigned_url","s3_put_object","sailpoint_approve_access_request","sailpoint_cancel_access_request","sailpoint_decide_certification_review_items","sailpoint_get_access_profile","sailpoint_get_access_profile_entitlements","sailpoint_get_access_request_config","sailpoint_get_access_request_status","sailpoint_get_account","sailpoint_get_account_activity","sailpoint_get_account_entitlements","sailpoint_get_account_selections","sailpoint_get_campaign","sailpoint_get_certification","sailpoint_get_entitlement","sailpoint_get_entitlement_request_config","sailpoint_get_identity","sailpoint_get_role","sailpoint_get_role_entitlements","sailpoint_get_source","sailpoint_get_task_status","sailpoint_list_access_profiles","sailpoint_list_account_activities","sailpoint_list_accounts","sailpoint_list_campaigns","sailpoint_list_certification_review_items","sailpoint_list_certifications","sailpoint_list_entitlements","sailpoint_list_identities","sailpoint_list_identity_entitlements","sailpoint_list_pending_access_request_approvals","sailpoint_list_roles","sailpoint_list_sources","sailpoint_load_accounts","sailpoint_load_entitlements","sailpoint_reject_access_request","sailpoint_request_access","sailpoint_search","sailpoint_search_aggregate","sailpoint_search_count","sailpoint_sign_off_certification","salesforce_create_account","salesforce_create_case","salesforce_create_contact","salesforce_create_custom_field","salesforce_create_custom_object","salesforce_create_lead","salesforce_create_opportunity","salesforce_create_task","salesforce_delete_account","salesforce_delete_case","salesforce_delete_contact","salesforce_delete_custom_field","salesforce_delete_lead","salesforce_delete_opportunity","salesforce_delete_task","salesforce_describe_object","salesforce_get_accounts","salesforce_get_cases","salesforce_get_contacts","salesforce_get_dashboard","salesforce_get_leads","salesforce_get_opportunities","salesforce_get_report","salesforce_get_tasks","salesforce_list_dashboards","salesforce_list_objects","salesforce_list_report_types","salesforce_list_reports","salesforce_query","salesforce_query_more","salesforce_refresh_dashboard","salesforce_run_report","salesforce_tooling_query","salesforce_update_account","salesforce_update_case","salesforce_update_contact","salesforce_update_custom_field","salesforce_update_lead","salesforce_update_opportunity","salesforce_update_task","sap_concur_approve_expense_report","sap_concur_associate_attendees","sap_concur_create_cash_advance","sap_concur_create_expected_expense","sap_concur_create_expense_report","sap_concur_create_list_item","sap_concur_create_purchase_request","sap_concur_create_quick_expense","sap_concur_create_quick_expense_with_image","sap_concur_create_report_comment","sap_concur_create_travel_request","sap_concur_create_user","sap_concur_delete_expected_expense","sap_concur_delete_expense","sap_concur_delete_expense_report","sap_concur_delete_list_item","sap_concur_delete_travel_request","sap_concur_delete_user","sap_concur_get_allocation","sap_concur_get_budget","sap_concur_get_cash_advance","sap_concur_get_expected_expense","sap_concur_get_expense","sap_concur_get_expense_report","sap_concur_get_itemizations","sap_concur_get_itinerary","sap_concur_get_list","sap_concur_get_list_item","sap_concur_get_purchase_request","sap_concur_get_receipt","sap_concur_get_receipt_status","sap_concur_get_request_cash_advance","sap_concur_get_travel_profile","sap_concur_get_travel_request","sap_concur_get_user","sap_concur_issue_cash_advance","sap_concur_list_allocations","sap_concur_list_attendee_associations","sap_concur_list_budget_categories","sap_concur_list_budgets","sap_concur_list_exceptions","sap_concur_list_expected_expenses","sap_concur_list_expense_reports","sap_concur_list_expenses","sap_concur_list_itineraries","sap_concur_list_list_items","sap_concur_list_lists","sap_concur_list_receipts","sap_concur_list_report_comments","sap_concur_list_reports_to_approve","sap_concur_list_travel_profiles_summary","sap_concur_list_travel_request_comments","sap_concur_list_travel_requests","sap_concur_list_users","sap_concur_move_travel_request","sap_concur_recall_expense_report","sap_concur_remove_all_attendees","sap_concur_search_locations","sap_concur_search_users","sap_concur_send_back_expense_report","sap_concur_submit_expense_report","sap_concur_update_allocation","sap_concur_update_expected_expense","sap_concur_update_expense","sap_concur_update_expense_report","sap_concur_update_list_item","sap_concur_update_travel_request","sap_concur_update_user","sap_concur_upload_exchange_rates","sap_concur_upload_receipt_image","sap_s4hana_create_business_partner","sap_s4hana_create_purchase_order","sap_s4hana_create_purchase_requisition","sap_s4hana_create_sales_order","sap_s4hana_delete_sales_order","sap_s4hana_get_billing_document","sap_s4hana_get_business_partner","sap_s4hana_get_customer","sap_s4hana_get_inbound_delivery","sap_s4hana_get_material_document","sap_s4hana_get_outbound_delivery","sap_s4hana_get_product","sap_s4hana_get_purchase_order","sap_s4hana_get_purchase_requisition","sap_s4hana_get_sales_order","sap_s4hana_get_supplier","sap_s4hana_get_supplier_invoice","sap_s4hana_list_billing_documents","sap_s4hana_list_business_partners","sap_s4hana_list_customers","sap_s4hana_list_inbound_deliveries","sap_s4hana_list_material_documents","sap_s4hana_list_material_stock","sap_s4hana_list_outbound_deliveries","sap_s4hana_list_products","sap_s4hana_list_purchase_orders","sap_s4hana_list_purchase_requisitions","sap_s4hana_list_sales_orders","sap_s4hana_list_supplier_invoices","sap_s4hana_list_suppliers","sap_s4hana_odata_query","sap_s4hana_update_business_partner","sap_s4hana_update_customer","sap_s4hana_update_product","sap_s4hana_update_purchase_order","sap_s4hana_update_purchase_requisition","sap_s4hana_update_sales_order","sap_s4hana_update_supplier","search_tool","secrets_manager_create_secret","secrets_manager_delete_secret","secrets_manager_describe_secret","secrets_manager_get_secret","secrets_manager_list_secrets","secrets_manager_restore_secret","secrets_manager_rotate_secret","secrets_manager_tag_resource","secrets_manager_untag_resource","secrets_manager_update_secret","semrush_backlinks","semrush_backlinks_anchors","semrush_backlinks_competitors","semrush_backlinks_geo_distribution","semrush_backlinks_indexed_pages","semrush_backlinks_overview","semrush_backlinks_tld_distribution","semrush_batch_keyword_overview","semrush_broad_match_keywords","semrush_domain_ad_copies","semrush_domain_ad_history","semrush_domain_organic_competitors","semrush_domain_organic_keywords","semrush_domain_overview","semrush_domain_overview_all","semrush_domain_overview_history","semrush_domain_paid_competitors","semrush_domain_paid_keywords","semrush_domain_pla_copies","semrush_domain_pla_keywords","semrush_domain_vs_domain","semrush_keyword_ad_history","semrush_keyword_difficulty","semrush_keyword_overview","semrush_keyword_overview_all","semrush_keyword_questions","semrush_organic_results","semrush_paid_results","semrush_referring_domains","semrush_referring_ips","semrush_related_keywords","semrush_subdomain_ad_copies","semrush_subdomain_organic_keywords","semrush_subdomain_overview","semrush_subdomain_overview_all","semrush_subdomain_overview_history","semrush_subdomain_paid_keywords","semrush_top_domains","semrush_url_organic_keywords","semrush_url_overview","semrush_url_overview_all","semrush_url_overview_history","semrush_url_paid_keywords","semrush_winners_and_losers","sendblue_evaluate_service","sendblue_get_message","sendblue_send_group_message","sendblue_send_message","sendblue_send_typing_indicator","sendgrid_add_contact","sendgrid_add_contacts_to_list","sendgrid_create_list","sendgrid_create_template","sendgrid_create_template_version","sendgrid_delete_contacts","sendgrid_delete_list","sendgrid_delete_template","sendgrid_get_contact","sendgrid_get_list","sendgrid_get_template","sendgrid_list_all_lists","sendgrid_list_templates","sendgrid_remove_contacts_from_list","sendgrid_search_contacts","sendgrid_send_mail","sentry_events_get","sentry_events_list","sentry_issues_get","sentry_issues_list","sentry_issues_update","sentry_projects_create","sentry_projects_get","sentry_projects_list","sentry_projects_update","sentry_releases_create","sentry_releases_deploy","sentry_releases_list","sentry_teams_list","serper_search","servicenow_add_incident_comment","servicenow_aggregate","servicenow_close_incident","servicenow_create_change_request","servicenow_create_incident","servicenow_create_record","servicenow_delete_record","servicenow_download_attachment","servicenow_find_user","servicenow_get_change_next_states","servicenow_get_change_request","servicenow_get_ci","servicenow_get_incident","servicenow_get_knowledge_article","servicenow_get_requested_item","servicenow_list_approvals","servicenow_list_attachments","servicenow_list_catalog_items","servicenow_list_change_requests","servicenow_list_change_tasks","servicenow_list_ci_relationships","servicenow_list_group_members","servicenow_list_incidents","servicenow_list_requested_items","servicenow_order_catalog_item","servicenow_read_record","servicenow_resolve_incident","servicenow_search_cis","servicenow_search_knowledge","servicenow_update_approval","servicenow_update_change_request","servicenow_update_change_state","servicenow_update_incident","servicenow_update_record","servicenow_upload_attachment","ses_create_configuration_set","ses_create_email_identity","ses_create_template","ses_delete_email_identity","ses_delete_suppressed_destination","ses_delete_template","ses_get_account","ses_get_email_identity","ses_get_suppressed_destination","ses_get_template","ses_list_identities","ses_list_suppressed_destinations","ses_list_templates","ses_put_suppressed_destination","ses_send_bulk_email","ses_send_custom_verification_email","ses_send_email","ses_send_templated_email","ses_update_template","sftp_delete","sftp_download","sftp_list","sftp_mkdir","sftp_upload","sharepoint_add_list_items","sharepoint_create_list","sharepoint_create_page","sharepoint_delete_file","sharepoint_delete_list_item","sharepoint_delete_page","sharepoint_download_file","sharepoint_get_drive_item","sharepoint_get_list","sharepoint_get_list_item","sharepoint_list_sites","sharepoint_publish_page","sharepoint_read_page","sharepoint_update_list","sharepoint_update_page","sharepoint_upload_file","shopify_adjust_inventory","shopify_cancel_order","shopify_create_customer","shopify_create_fulfillment","shopify_create_product","shopify_delete_customer","shopify_delete_product","shopify_get_collection","shopify_get_customer","shopify_get_inventory_level","shopify_get_order","shopify_get_product","shopify_list_collections","shopify_list_customers","shopify_list_inventory_items","shopify_list_locations","shopify_list_orders","shopify_list_products","shopify_update_customer","shopify_update_order","shopify_update_product","similarweb_bounce_rate","similarweb_page_views","similarweb_pages_per_visit","similarweb_traffic_visits","similarweb_visit_duration","similarweb_website_overview","sixtyfour_enrich_company","sixtyfour_enrich_lead","sixtyfour_find_email","sixtyfour_find_phone","slack_add_reaction","slack_archive_conversation","slack_canvas","slack_create_channel_canvas","slack_create_conversation","slack_delete_canvas","slack_delete_message","slack_delete_scheduled_message","slack_download","slack_edit_canvas","slack_ephemeral_message","slack_get_canvas","slack_get_channel_history","slack_get_channel_info","slack_get_message","slack_get_permalink","slack_get_thread","slack_get_thread_replies","slack_get_user","slack_get_user_presence","slack_invite_to_conversation","slack_list_canvases","slack_list_channels","slack_list_members","slack_list_scheduled_messages","slack_list_users","slack_lookup_canvas_sections","slack_message","slack_message_reader","slack_open_view","slack_publish_view","slack_push_view","slack_remove_reaction","slack_rename_agent_session_v2","slack_rename_conversation","slack_schedule_message","slack_set_agent_session_status_v2","slack_set_conversation_purpose","slack_set_conversation_topic","slack_set_status","slack_set_suggested_prompts","slack_set_suggested_prompts_v2","slack_set_title","slack_update_message","slack_update_view","smartlead_add_email_accounts_to_campaign","smartlead_add_leads_to_campaign","smartlead_create_campaign","smartlead_create_lead_list","smartlead_delete_campaign","smartlead_delete_campaign_webhook","smartlead_delete_lead_from_campaign","smartlead_delete_lead_list","smartlead_duplicate_campaign","smartlead_export_campaign_leads","smartlead_get_campaign","smartlead_get_campaign_analytics","smartlead_get_campaign_analytics_by_date","smartlead_get_campaign_lead_statistics","smartlead_get_campaign_mailbox_statistics","smartlead_get_campaign_sequences","smartlead_get_campaign_statistics","smartlead_get_campaign_top_level_analytics_by_date","smartlead_get_campaign_webhook_summary","smartlead_get_lead_by_email","smartlead_get_lead_by_id","smartlead_get_lead_list","smartlead_get_lead_message_history","smartlead_list_campaign_email_accounts","smartlead_list_campaign_leads","smartlead_list_campaign_webhooks","smartlead_list_campaigns","smartlead_list_clients","smartlead_list_email_accounts","smartlead_list_inbox_replies","smartlead_list_lead_activities","smartlead_list_lead_categories","smartlead_list_lead_lists","smartlead_mark_lead_complete","smartlead_pause_lead","smartlead_remove_email_accounts_from_campaign","smartlead_resume_lead","smartlead_save_campaign_sequences","smartlead_unsubscribe_lead_from_campaign","smartlead_unsubscribe_lead_globally","smartlead_update_campaign_schedule","smartlead_update_campaign_settings","smartlead_update_campaign_status","smartlead_update_lead","smartlead_update_lead_category","smartlead_update_lead_list","smartlead_upsert_campaign_webhook","sms_send","smtp_send_mail","snowflake_alter_warehouse","snowflake_call_procedure","snowflake_cancel_statement","snowflake_cancel_task_run","snowflake_delete_rows","snowflake_execute_sql","snowflake_get_statement","snowflake_get_task","snowflake_get_task_run","snowflake_get_task_run_output","snowflake_get_warehouse","snowflake_insert_rows","snowflake_introspect_schema","snowflake_list_copy_history","snowflake_list_databases","snowflake_list_query_history","snowflake_list_schemas","snowflake_list_tables","snowflake_list_task_runs","snowflake_list_tasks","snowflake_list_warehouses","snowflake_load_data","snowflake_resume_task","snowflake_resume_warehouse","snowflake_run_task","snowflake_suspend_task","snowflake_suspend_warehouse","snowflake_unload_data","snowflake_update_rows","snowflake_upsert_rows","splunk_cancel_search_job","splunk_create_search_job","splunk_dispatch_saved_search","splunk_get_fired_alerts","splunk_get_saved_search","splunk_get_search_job","splunk_get_search_results","splunk_list_apps","splunk_list_fired_alerts","splunk_list_indexes","splunk_list_saved_searches","splunk_run_search","sportmonks_core_get_cities","sportmonks_core_get_city","sportmonks_core_get_continent","sportmonks_core_get_continents","sportmonks_core_get_countries","sportmonks_core_get_country","sportmonks_core_get_entity_filters","sportmonks_core_get_my_usage","sportmonks_core_get_region","sportmonks_core_get_regions","sportmonks_core_get_timezones","sportmonks_core_get_type","sportmonks_core_get_type_by_entity","sportmonks_core_get_types","sportmonks_core_search_cities","sportmonks_core_search_countries","sportmonks_core_search_regions","sportmonks_football_expected_by_player","sportmonks_football_expected_by_team","sportmonks_football_get_all_commentaries","sportmonks_football_get_all_fixtures","sportmonks_football_get_all_players","sportmonks_football_get_all_rivals","sportmonks_football_get_all_teams","sportmonks_football_get_all_transfer_rumours","sportmonks_football_get_all_transfers","sportmonks_football_get_brackets_by_season","sportmonks_football_get_coach","sportmonks_football_get_coaches","sportmonks_football_get_coaches_by_country","sportmonks_football_get_commentaries_by_fixture","sportmonks_football_get_current_leagues_by_team","sportmonks_football_get_expected_lineups_by_player","sportmonks_football_get_expected_lineups_by_team","sportmonks_football_get_extended_team_squad","sportmonks_football_get_fixture","sportmonks_football_get_fixtures_by_date","sportmonks_football_get_fixtures_by_date_range","sportmonks_football_get_fixtures_by_date_range_for_team","sportmonks_football_get_fixtures_by_ids","sportmonks_football_get_grouped_standings_by_round","sportmonks_football_get_head_to_head","sportmonks_football_get_inplay_livescores","sportmonks_football_get_latest_coaches","sportmonks_football_get_latest_fixtures","sportmonks_football_get_latest_livescores","sportmonks_football_get_latest_players","sportmonks_football_get_latest_totw","sportmonks_football_get_latest_transfers","sportmonks_football_get_league","sportmonks_football_get_leagues","sportmonks_football_get_leagues_by_country","sportmonks_football_get_leagues_by_date","sportmonks_football_get_leagues_by_team","sportmonks_football_get_live_leagues","sportmonks_football_get_live_probabilities","sportmonks_football_get_live_probabilities_by_fixture","sportmonks_football_get_live_standings_by_league","sportmonks_football_get_livescores","sportmonks_football_get_match_facts","sportmonks_football_get_match_facts_by_date_range","sportmonks_football_get_match_facts_by_fixture","sportmonks_football_get_match_facts_by_league","sportmonks_football_get_past_fixtures_by_tv_station","sportmonks_football_get_player","sportmonks_football_get_players_by_country","sportmonks_football_get_postmatch_news","sportmonks_football_get_postmatch_news_by_season","sportmonks_football_get_predictability_by_league","sportmonks_football_get_prematch_news","sportmonks_football_get_prematch_news_by_season","sportmonks_football_get_prematch_news_upcoming","sportmonks_football_get_probabilities","sportmonks_football_get_probabilities_by_fixture","sportmonks_football_get_referee","sportmonks_football_get_referees","sportmonks_football_get_referees_by_country","sportmonks_football_get_referees_by_season","sportmonks_football_get_rivals_by_team","sportmonks_football_get_round","sportmonks_football_get_round_statistics","sportmonks_football_get_rounds","sportmonks_football_get_rounds_by_season","sportmonks_football_get_schedules_by_season","sportmonks_football_get_schedules_by_season_and_team","sportmonks_football_get_schedules_by_team","sportmonks_football_get_season","sportmonks_football_get_seasons","sportmonks_football_get_seasons_by_team","sportmonks_football_get_stage","sportmonks_football_get_stage_statistics","sportmonks_football_get_stages","sportmonks_football_get_stages_by_season","sportmonks_football_get_standing_corrections_by_season","sportmonks_football_get_standings","sportmonks_football_get_standings_by_round","sportmonks_football_get_standings_by_season","sportmonks_football_get_state","sportmonks_football_get_states","sportmonks_football_get_team","sportmonks_football_get_team_rankings","sportmonks_football_get_team_rankings_by_date","sportmonks_football_get_team_rankings_by_team","sportmonks_football_get_team_squad","sportmonks_football_get_team_squad_by_season","sportmonks_football_get_teams_by_country","sportmonks_football_get_teams_by_season","sportmonks_football_get_topscorers_by_season","sportmonks_football_get_topscorers_by_stage","sportmonks_football_get_totw","sportmonks_football_get_totw_by_round","sportmonks_football_get_transfer","sportmonks_football_get_transfer_rumour","sportmonks_football_get_transfer_rumours_between_dates","sportmonks_football_get_transfer_rumours_by_player","sportmonks_football_get_transfer_rumours_by_team","sportmonks_football_get_transfers_between_dates","sportmonks_football_get_transfers_by_player","sportmonks_football_get_transfers_by_team","sportmonks_football_get_tv_station","sportmonks_football_get_tv_stations","sportmonks_football_get_tv_stations_by_fixture","sportmonks_football_get_upcoming_fixtures_by_market","sportmonks_football_get_upcoming_fixtures_by_tv_station","sportmonks_football_get_value_bets","sportmonks_football_get_value_bets_by_fixture","sportmonks_football_get_venue","sportmonks_football_get_venues","sportmonks_football_get_venues_by_season","sportmonks_football_search_coaches","sportmonks_football_search_fixtures","sportmonks_football_search_leagues","sportmonks_football_search_players","sportmonks_football_search_referees","sportmonks_football_search_rounds","sportmonks_football_search_seasons","sportmonks_football_search_stages","sportmonks_football_search_teams","sportmonks_football_search_venues","sportmonks_motorsport_get_all_fixtures","sportmonks_motorsport_get_current_leagues_by_team","sportmonks_motorsport_get_driver","sportmonks_motorsport_get_driver_standings","sportmonks_motorsport_get_driver_standings_by_season","sportmonks_motorsport_get_drivers","sportmonks_motorsport_get_drivers_by_country","sportmonks_motorsport_get_drivers_by_season","sportmonks_motorsport_get_fixture","sportmonks_motorsport_get_fixtures_by_date","sportmonks_motorsport_get_fixtures_by_date_range","sportmonks_motorsport_get_fixtures_by_ids","sportmonks_motorsport_get_laps_by_fixture","sportmonks_motorsport_get_laps_by_fixture_and_driver","sportmonks_motorsport_get_laps_by_fixture_and_lap","sportmonks_motorsport_get_latest_laps_by_fixture","sportmonks_motorsport_get_latest_pitstops_by_fixture","sportmonks_motorsport_get_latest_stints_by_fixture","sportmonks_motorsport_get_latest_updated_drivers","sportmonks_motorsport_get_latest_updated_fixtures","sportmonks_motorsport_get_league","sportmonks_motorsport_get_leagues","sportmonks_motorsport_get_leagues_by_country","sportmonks_motorsport_get_leagues_by_date","sportmonks_motorsport_get_leagues_by_live","sportmonks_motorsport_get_leagues_by_team","sportmonks_motorsport_get_livescores","sportmonks_motorsport_get_pitstops_by_fixture","sportmonks_motorsport_get_pitstops_by_fixture_and_driver","sportmonks_motorsport_get_pitstops_by_fixture_and_lap","sportmonks_motorsport_get_race_results_by_season_and_driver","sportmonks_motorsport_get_race_results_by_season_and_team","sportmonks_motorsport_get_schedules_by_season","sportmonks_motorsport_get_season","sportmonks_motorsport_get_seasons","sportmonks_motorsport_get_stage","sportmonks_motorsport_get_stages","sportmonks_motorsport_get_stages_by_season","sportmonks_motorsport_get_state","sportmonks_motorsport_get_states","sportmonks_motorsport_get_stints_by_fixture","sportmonks_motorsport_get_stints_by_fixture_and_driver","sportmonks_motorsport_get_stints_by_fixture_and_stint","sportmonks_motorsport_get_team","sportmonks_motorsport_get_team_standings","sportmonks_motorsport_get_team_standings_by_season","sportmonks_motorsport_get_teams","sportmonks_motorsport_get_teams_by_country","sportmonks_motorsport_get_teams_by_season","sportmonks_motorsport_get_venue","sportmonks_motorsport_get_venues","sportmonks_motorsport_get_venues_by_season","sportmonks_motorsport_search_drivers","sportmonks_motorsport_search_leagues","sportmonks_motorsport_search_stages","sportmonks_motorsport_search_teams","sportmonks_motorsport_search_venues","sportmonks_odds_get_all_historical_odds","sportmonks_odds_get_all_inplay_odds","sportmonks_odds_get_all_pre_match_odds","sportmonks_odds_get_all_premium_odds","sportmonks_odds_get_bookmaker","sportmonks_odds_get_bookmaker_event_ids_by_fixture","sportmonks_odds_get_bookmakers","sportmonks_odds_get_bookmakers_by_fixture","sportmonks_odds_get_inplay_odds_by_fixture","sportmonks_odds_get_inplay_odds_by_fixture_and_bookmaker","sportmonks_odds_get_inplay_odds_by_fixture_and_market","sportmonks_odds_get_last_updated_inplay_odds","sportmonks_odds_get_last_updated_pre_match_odds","sportmonks_odds_get_market","sportmonks_odds_get_markets","sportmonks_odds_get_pre_match_odds_by_fixture","sportmonks_odds_get_pre_match_odds_by_fixture_and_bookmaker","sportmonks_odds_get_pre_match_odds_by_fixture_and_market","sportmonks_odds_get_premium_odds_by_fixture","sportmonks_odds_get_premium_odds_by_fixture_and_bookmaker","sportmonks_odds_get_premium_odds_by_fixture_and_market","sportmonks_odds_get_updated_historical_odds_between","sportmonks_odds_get_updated_premium_odds_between","sportmonks_odds_search_bookmakers","sportmonks_odds_search_markets","spotify_add_playlist_cover","spotify_add_to_queue","spotify_add_tracks_to_playlist","spotify_check_following","spotify_check_playlist_followers","spotify_check_saved_albums","spotify_check_saved_audiobooks","spotify_check_saved_episodes","spotify_check_saved_shows","spotify_check_saved_tracks","spotify_create_playlist","spotify_follow_artists","spotify_follow_playlist","spotify_get_album","spotify_get_album_tracks","spotify_get_albums","spotify_get_artist","spotify_get_artist_albums","spotify_get_artist_top_tracks","spotify_get_artists","spotify_get_audiobook","spotify_get_audiobook_chapters","spotify_get_audiobooks","spotify_get_categories","spotify_get_current_user","spotify_get_currently_playing","spotify_get_devices","spotify_get_episode","spotify_get_episodes","spotify_get_followed_artists","spotify_get_markets","spotify_get_new_releases","spotify_get_playback_state","spotify_get_playlist","spotify_get_playlist_cover","spotify_get_playlist_tracks","spotify_get_queue","spotify_get_recently_played","spotify_get_saved_albums","spotify_get_saved_audiobooks","spotify_get_saved_episodes","spotify_get_saved_shows","spotify_get_saved_tracks","spotify_get_show","spotify_get_show_episodes","spotify_get_shows","spotify_get_top_artists","spotify_get_top_tracks","spotify_get_track","spotify_get_tracks","spotify_get_user_playlists","spotify_get_user_profile","spotify_pause","spotify_play","spotify_remove_saved_albums","spotify_remove_saved_audiobooks","spotify_remove_saved_episodes","spotify_remove_saved_shows","spotify_remove_saved_tracks","spotify_remove_tracks_from_playlist","spotify_reorder_playlist_items","spotify_replace_playlist_items","spotify_save_albums","spotify_save_audiobooks","spotify_save_episodes","spotify_save_shows","spotify_save_tracks","spotify_search","spotify_seek","spotify_set_repeat","spotify_set_shuffle","spotify_set_volume","spotify_skip_next","spotify_skip_previous","spotify_transfer_playback","spotify_unfollow_artists","spotify_unfollow_playlist","spotify_update_playlist","sqs_send","square_batch_retrieve_inventory_counts","square_cancel_invoice","square_cancel_payment","square_complete_payment","square_create_catalog_image","square_create_customer","square_create_invoice","square_create_order","square_create_payment","square_delete_catalog_object","square_delete_customer","square_delete_invoice","square_get_catalog_object","square_get_customer","square_get_invoice","square_get_location","square_get_order","square_get_payment","square_get_refund","square_list_catalog","square_list_customers","square_list_invoices","square_list_locations","square_list_payments","square_list_refunds","square_pay_order","square_publish_invoice","square_refund_payment","square_search_catalog_objects","square_search_customers","square_search_invoices","square_search_orders","square_update_customer","square_upsert_catalog_object","ssh_check_command_exists","ssh_check_file_exists","ssh_create_directory","ssh_delete_file","ssh_download_file","ssh_execute_command","ssh_execute_script","ssh_get_system_info","ssh_list_directory","ssh_move_rename","ssh_read_file_content","ssh_upload_file","ssh_write_file_content","stagehand_agent","stagehand_extract","stripe_cancel_payment_intent","stripe_cancel_subscription","stripe_capture_charge","stripe_capture_payment_intent","stripe_confirm_payment_intent","stripe_create_charge","stripe_create_customer","stripe_create_invoice","stripe_create_payment_intent","stripe_create_price","stripe_create_product","stripe_create_subscription","stripe_delete_customer","stripe_delete_invoice","stripe_delete_product","stripe_finalize_invoice","stripe_list_charges","stripe_list_customers","stripe_list_events","stripe_list_invoices","stripe_list_payment_intents","stripe_list_prices","stripe_list_products","stripe_list_subscriptions","stripe_pay_invoice","stripe_resume_subscription","stripe_retrieve_charge","stripe_retrieve_customer","stripe_retrieve_event","stripe_retrieve_invoice","stripe_retrieve_payment_intent","stripe_retrieve_price","stripe_retrieve_product","stripe_retrieve_subscription","stripe_search_charges","stripe_search_customers","stripe_search_invoices","stripe_search_payment_intents","stripe_search_prices","stripe_search_products","stripe_search_subscriptions","stripe_send_invoice","stripe_update_charge","stripe_update_customer","stripe_update_invoice","stripe_update_payment_intent","stripe_update_price","stripe_update_product","stripe_update_subscription","stripe_void_invoice","sts_assume_role","sts_assume_role_with_saml","sts_assume_role_with_web_identity","sts_get_access_key_info","sts_get_caller_identity","sts_get_session_token","stt_assemblyai","stt_assemblyai_v2","stt_deepgram","stt_deepgram_v2","stt_elevenlabs","stt_elevenlabs_v2","stt_gemini","stt_gemini_v2","stt_whisper","stt_whisper_v2","supabase_count","supabase_delete","supabase_get_row","supabase_insert","supabase_introspect","supabase_invoke_function","supabase_query","supabase_rpc","supabase_storage_copy","supabase_storage_create_bucket","supabase_storage_create_signed_upload_url","supabase_storage_create_signed_url","supabase_storage_delete","supabase_storage_delete_bucket","supabase_storage_download","supabase_storage_empty_bucket","supabase_storage_get_public_url","supabase_storage_list","supabase_storage_list_buckets","supabase_storage_move","supabase_storage_update_bucket","supabase_storage_upload","supabase_text_search","supabase_update","supabase_upsert","supabase_vector_search","table_batch_insert_rows","table_create","table_delete_row","table_delete_rows_by_filter","table_get_row","table_get_schema","table_insert_row","table_list","table_query_rows","table_query_rows_v2","table_update_row","table_update_rows_by_filter","table_upsert_row","tailscale_authorize_device","tailscale_create_auth_key","tailscale_delete_auth_key","tailscale_delete_device","tailscale_delete_user","tailscale_expire_device_key","tailscale_get_acl","tailscale_get_auth_key","tailscale_get_device","tailscale_get_device_routes","tailscale_get_dns_preferences","tailscale_get_dns_searchpaths","tailscale_list_auth_keys","tailscale_list_devices","tailscale_list_dns_nameservers","tailscale_list_users","tailscale_set_acl","tailscale_set_device_routes","tailscale_set_device_tags","tailscale_set_dns_nameservers","tailscale_set_dns_preferences","tailscale_set_dns_searchpaths","tailscale_suspend_user","tailscale_update_device_key","tavily_crawl","tavily_extract","tavily_map","tavily_search","telegram_copy_message","telegram_delete_message","telegram_edit_message_text","telegram_forward_message","telegram_get_chat","telegram_get_chat_member","telegram_message","telegram_pin_message","telegram_send_animation","telegram_send_audio","telegram_send_chat_action","telegram_send_contact","telegram_send_document","telegram_send_location","telegram_send_photo","telegram_send_poll","telegram_send_video","telegram_set_message_reaction","telegram_unpin_message","temporal_cancel_workflow","temporal_count_workflows","temporal_create_schedule","temporal_delete_schedule","temporal_describe_schedule","temporal_describe_task_queue","temporal_describe_workflow","temporal_get_workflow_history","temporal_list_schedules","temporal_list_workflows","temporal_pause_schedule","temporal_query_workflow","temporal_reset_workflow","temporal_signal_with_start","temporal_signal_workflow","temporal_start_workflow","temporal_terminate_workflow","temporal_trigger_schedule","temporal_unpause_schedule","temporal_update_workflow","textract_analyze_expense","textract_analyze_id","textract_parser","textract_parser_v2","thinking_tool","thrive_add_audience_managers","thrive_add_audience_members","thrive_add_user_tags","thrive_create_assignment","thrive_create_audience","thrive_create_completion","thrive_create_user","thrive_delete_assignment","thrive_delete_audience","thrive_delete_user","thrive_get_activity","thrive_get_assignment","thrive_get_audience","thrive_get_completion","thrive_get_content","thrive_get_cpd_category","thrive_get_cpd_entry","thrive_get_cpd_requirement","thrive_get_enrolment","thrive_get_skill_levels","thrive_get_tag","thrive_get_user_by_id","thrive_get_user_by_ref","thrive_list_assignments","thrive_list_audience_managers","thrive_list_audience_members","thrive_list_audiences","thrive_list_completions","thrive_list_enrolments","thrive_list_tags","thrive_query_activities","thrive_query_content","thrive_query_cpd_categories","thrive_query_cpd_entries","thrive_query_cpd_requirements","thrive_query_cpd_user_summaries","thrive_remove_audience_manager","thrive_remove_audience_member","thrive_remove_user_tags","thrive_replace_audience_managers","thrive_replace_audience_members","thrive_search_users","thrive_suspend_user","thrive_update_assignment","thrive_update_audience","thrive_update_user","thrive_update_user_skills","tiktok_get_post_status","tiktok_get_user","tiktok_list_videos","tiktok_query_videos","tiktok_upload_video_draft","tinybird_append_datasource","tinybird_delete_datasource_rows","tinybird_events","tinybird_get_job","tinybird_query","tinybird_query_pipe","tinybird_truncate_datasource","tinyfish_cancel_run","tinyfish_fetch","tinyfish_get_run","tinyfish_list_runs","tinyfish_list_vault_items","tinyfish_run","tinyfish_run_async","tinyfish_search","trello_add_checklist","trello_add_checklist_item","trello_add_comment","trello_add_label","trello_add_member","trello_create_board","trello_create_card","trello_create_list","trello_delete_card","trello_get_actions","trello_get_board","trello_get_card","trello_list_cards","trello_list_lists","trello_list_members","trello_remove_label","trello_remove_member","trello_search","trello_update_card","trello_update_checklist_item","trello_update_list","trigger_dev_activate_schedule","trigger_dev_add_run_tags","trigger_dev_batch_trigger_task","trigger_dev_cancel_run","trigger_dev_complete_waitpoint_token","trigger_dev_create_env_var","trigger_dev_create_schedule","trigger_dev_create_waitpoint_token","trigger_dev_deactivate_schedule","trigger_dev_delete_env_var","trigger_dev_delete_schedule","trigger_dev_execute_query","trigger_dev_get_batch","trigger_dev_get_batch_results","trigger_dev_get_deployment","trigger_dev_get_env_var","trigger_dev_get_latest_deployment","trigger_dev_get_query_schema","trigger_dev_get_queue","trigger_dev_get_run","trigger_dev_get_run_events","trigger_dev_get_run_result","trigger_dev_get_run_trace","trigger_dev_get_schedule","trigger_dev_get_waitpoint_token","trigger_dev_import_env_vars","trigger_dev_list_deployments","trigger_dev_list_env_vars","trigger_dev_list_queues","trigger_dev_list_runs","trigger_dev_list_schedules","trigger_dev_list_timezones","trigger_dev_list_waitpoint_tokens","trigger_dev_override_queue_concurrency","trigger_dev_pause_queue","trigger_dev_promote_deployment","trigger_dev_replay_run","trigger_dev_reschedule_run","trigger_dev_reset_queue_concurrency","trigger_dev_resume_queue","trigger_dev_trigger_task","trigger_dev_update_env_var","trigger_dev_update_run_metadata","trigger_dev_update_schedule","tts_azure","tts_cartesia","tts_deepgram","tts_elevenlabs","tts_google","tts_openai","tts_playht","twilio_send_sms","twilio_voice_get_recording","twilio_voice_list_calls","twilio_voice_make_call","typeform_create_form","typeform_delete_form","typeform_files","typeform_get_form","typeform_insights","typeform_list_forms","typeform_responses","typeform_update_form","upstash_redis_command","upstash_redis_delete","upstash_redis_exists","upstash_redis_expire","upstash_redis_get","upstash_redis_hget","upstash_redis_hgetall","upstash_redis_hset","upstash_redis_incr","upstash_redis_incrby","upstash_redis_keys","upstash_redis_lpush","upstash_redis_lrange","upstash_redis_set","upstash_redis_setnx","upstash_redis_ttl","uptimerobot_create_alert_contact","uptimerobot_create_maintenance_window","uptimerobot_create_monitor","uptimerobot_create_psp","uptimerobot_delete_alert_contact","uptimerobot_delete_maintenance_window","uptimerobot_delete_monitor","uptimerobot_delete_psp","uptimerobot_get_account","uptimerobot_get_alert_contact","uptimerobot_get_incident","uptimerobot_get_maintenance_window","uptimerobot_get_monitor","uptimerobot_get_psp","uptimerobot_list_alert_contacts","uptimerobot_list_incidents","uptimerobot_list_maintenance_windows","uptimerobot_list_monitors","uptimerobot_list_psps","uptimerobot_pause_monitor","uptimerobot_start_monitor","uptimerobot_update_maintenance_window","uptimerobot_update_monitor","uptimerobot_update_psp","vanta_download_document_file","vanta_get_control","vanta_get_document","vanta_get_framework","vanta_get_person","vanta_get_policy","vanta_get_risk_scenario","vanta_get_test","vanta_get_vendor","vanta_get_vulnerable_asset","vanta_list_control_documents","vanta_list_control_tests","vanta_list_controls","vanta_list_document_uploads","vanta_list_documents","vanta_list_framework_controls","vanta_list_frameworks","vanta_list_monitored_computers","vanta_list_people","vanta_list_policies","vanta_list_risk_scenarios","vanta_list_test_entities","vanta_list_tests","vanta_list_vendors","vanta_list_vulnerabilities","vanta_list_vulnerability_remediations","vanta_list_vulnerable_assets","vanta_submit_document","vanta_upload_document_file","vercel_add_domain","vercel_add_project_domain","vercel_cancel_deployment","vercel_create_alias","vercel_create_check","vercel_create_deployment","vercel_create_dns_record","vercel_create_edge_config","vercel_create_env_var","vercel_create_project","vercel_create_webhook","vercel_delete_alias","vercel_delete_deployment","vercel_delete_dns_record","vercel_delete_domain","vercel_delete_edge_config","vercel_delete_env_var","vercel_delete_project","vercel_delete_webhook","vercel_get_alias","vercel_get_check","vercel_get_deployment","vercel_get_deployment_events","vercel_get_domain","vercel_get_domain_config","vercel_get_edge_config","vercel_get_edge_config_items","vercel_get_env_vars","vercel_get_project","vercel_get_team","vercel_get_user","vercel_get_webhook","vercel_list_aliases","vercel_list_checks","vercel_list_deployment_files","vercel_list_deployments","vercel_list_dns_records","vercel_list_domains","vercel_list_edge_configs","vercel_list_project_domains","vercel_list_projects","vercel_list_team_members","vercel_list_teams","vercel_list_webhooks","vercel_pause_project","vercel_promote_deployment","vercel_remove_project_domain","vercel_rerequest_check","vercel_unpause_project","vercel_update_check","vercel_update_dns_record","vercel_update_edge_config_items","vercel_update_env_var","vercel_update_project","vercel_update_project_domain","vercel_verify_project_domain","video_falai","video_luma","video_minimax","video_runway","video_veo","vision_tool","vision_tool_v2","wealthbox_read_contact","wealthbox_read_note","wealthbox_read_task","wealthbox_write_contact","wealthbox_write_note","wealthbox_write_task","webflow_create_item","webflow_delete_item","webflow_get_item","webflow_list_items","webflow_update_item","webhook_request","whatsapp_get_media","whatsapp_mark_read","whatsapp_send_interactive","whatsapp_send_media","whatsapp_send_message","whatsapp_send_reaction","whatsapp_send_template","whatsapp_upload_media","wikipedia_content","wikipedia_random","wikipedia_search","wikipedia_summary","windchill_check_in_document","windchill_check_in_documents","windchill_check_out_document","windchill_check_out_documents","windchill_create_document","windchill_create_documents","windchill_delete_document","windchill_delete_documents","windchill_download_attachment","windchill_download_primary_content","windchill_get_document","windchill_get_document_structure","windchill_get_primary_content","windchill_get_valid_state_transitions","windchill_list_attachments","windchill_list_documents","windchill_revise_document","windchill_revise_documents","windchill_set_lifecycle_state","windchill_undo_check_out_document","windchill_undo_check_out_documents","windchill_update_common_properties","windchill_update_document","windchill_update_document_security_labels","windchill_update_documents","windchill_upload_attachments","windchill_upload_primary_content","wiza_company_enrichment","wiza_get_credits","wiza_individual_reveal","wiza_prospect_search","wordpress_create_category","wordpress_create_comment","wordpress_create_page","wordpress_create_post","wordpress_create_tag","wordpress_delete_category","wordpress_delete_comment","wordpress_delete_media","wordpress_delete_page","wordpress_delete_post","wordpress_delete_tag","wordpress_get_category","wordpress_get_current_user","wordpress_get_media","wordpress_get_page","wordpress_get_post","wordpress_get_tag","wordpress_get_user","wordpress_list_categories","wordpress_list_comments","wordpress_list_media","wordpress_list_pages","wordpress_list_posts","wordpress_list_tags","wordpress_list_users","wordpress_search_content","wordpress_update_category","wordpress_update_comment","wordpress_update_page","wordpress_update_post","wordpress_update_tag","wordpress_upload_media","workday_assign_onboarding","workday_change_job","workday_create_prehire","workday_get_compensation","workday_get_organizations","workday_get_worker","workday_hire_employee","workday_list_workers","workday_terminate_worker","workday_update_worker","workflow_executor","x_create_bookmark","x_create_tweet","x_delete_bookmark","x_delete_tweet","x_get_blocking","x_get_bookmarks","x_get_followers","x_get_following","x_get_liked_tweets","x_get_liking_users","x_get_me","x_get_personalized_trends","x_get_quote_tweets","x_get_retweeted_by","x_get_trends_by_woeid","x_get_tweets_by_ids","x_get_usage","x_get_user_mentions","x_get_user_timeline","x_get_user_tweets","x_hide_reply","x_manage_block","x_manage_follow","x_manage_like","x_manage_mute","x_manage_retweet","x_read","x_search","x_search_tweets","x_search_users","x_user","x_write","youtube_channel_info","youtube_channel_playlists","youtube_channel_videos","youtube_comments","youtube_playlist_items","youtube_search","youtube_trending","youtube_video_categories","youtube_video_details","zendesk_autocomplete_organizations","zendesk_create_organization","zendesk_create_organizations_bulk","zendesk_create_ticket","zendesk_create_tickets_bulk","zendesk_create_user","zendesk_create_users_bulk","zendesk_delete_organization","zendesk_delete_ticket","zendesk_delete_user","zendesk_get_current_user","zendesk_get_organization","zendesk_get_organizations","zendesk_get_ticket","zendesk_get_tickets","zendesk_get_user","zendesk_get_users","zendesk_merge_tickets","zendesk_search","zendesk_search_count","zendesk_search_users","zendesk_update_organization","zendesk_update_ticket","zendesk_update_tickets_bulk","zendesk_update_user","zendesk_update_users_bulk","zep_add_messages","zep_add_user","zep_create_thread","zep_delete_thread","zep_get_context","zep_get_messages","zep_get_threads","zep_get_user","zep_get_user_threads","zerobounce_get_credits","zerobounce_verify_email","zoho_desk_add_comment","zoho_desk_get_attachment","zoho_desk_get_contact","zoho_desk_get_thread","zoho_desk_get_ticket","zoho_desk_list_comments","zoho_desk_list_organizations","zoho_desk_list_threads","zoho_desk_list_tickets","zoho_desk_update_ticket","zoom_create_meeting","zoom_delete_meeting","zoom_delete_recording","zoom_get_meeting","zoom_get_meeting_invitation","zoom_get_meeting_recordings","zoom_list_meetings","zoom_list_past_participants","zoom_list_recordings","zoom_update_meeting","zoominfo_enrich_companies","zoominfo_enrich_contacts","zoominfo_search_companies","zoominfo_search_contacts","zoominfo_search_intent","zoominfo_search_news"]' ) export default toolIds diff --git a/apps/sim/tools/generated/tool-metadata.ts b/apps/sim/tools/generated/tool-metadata.ts index 6b4914f6345..558c3d8cbb1 100644 --- a/apps/sim/tools/generated/tool-metadata.ts +++ b/apps/sim/tools/generated/tool-metadata.ts @@ -3,7 +3,7 @@ /** Serializable metadata for every built-in tool, keyed by tool id. */ const toolMetadata: Record = JSON.parse( - '{"a2a_cancel_task":{"id":"a2a_cancel_task","name":"A2A Cancel Task","description":"Request cancellation of an in-progress A2A task.","version":"1.0.0","params":{"agentUrl":{"type":"string","required":true,"visibility":"user-only","description":"The A2A agent endpoint URL"},"taskId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The task ID to cancel"},"apiKey":{"type":"string","required":false,"visibility":"user-only","description":"API key for authentication (if required)"}},"hostedApiKey":"none"},"a2a_get_agent_card":{"id":"a2a_get_agent_card","name":"A2A Get Agent Card","description":"Fetch the Agent Card (discovery document) for an external A2A agent.","version":"1.0.0","params":{"agentUrl":{"type":"string","required":true,"visibility":"user-only","description":"The A2A agent endpoint URL"},"apiKey":{"type":"string","required":false,"visibility":"user-only","description":"API key for authentication (if required)"}},"hostedApiKey":"none"},"a2a_get_task":{"id":"a2a_get_task","name":"A2A Get Task","description":"Retrieve the current state and result of an A2A task.","version":"1.0.0","params":{"agentUrl":{"type":"string","required":true,"visibility":"user-only","description":"The A2A agent endpoint URL"},"taskId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The task ID to retrieve"},"historyLength":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of history messages to include"},"apiKey":{"type":"string","required":false,"visibility":"user-only","description":"API key for authentication (if required)"}},"hostedApiKey":"none"},"a2a_send_message":{"id":"a2a_send_message","name":"A2A Send Message","description":"Send a message to an external A2A agent and return its response.","version":"1.0.0","params":{"agentUrl":{"type":"string","required":true,"visibility":"user-only","description":"The A2A agent endpoint URL"},"message":{"type":"string","required":true,"visibility":"user-or-llm","description":"The message text to send"},"data":{"type":"json","required":false,"visibility":"user-or-llm","description":"Optional structured JSON data to attach"},"files":{"type":"json","required":false,"visibility":"user-or-llm","description":"Optional files to attach"},"taskId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Existing task ID to continue"},"contextId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Conversation context ID to continue"},"apiKey":{"type":"string","required":false,"visibility":"user-only","description":"API key for authentication (if required)"}},"hostedApiKey":"none"},"affinity_batch_update_entity_fields":{"id":"affinity_batch_update_entity_fields","name":"Affinity Batch Update Entity Fields","description":"Write up to 100 non-list field values on one company or person in a single request.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to write the fields on: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"updates":{"type":"json","required":true,"visibility":"user-or-llm","description":"Up to 100 field updates as [{\\"id\\":\\"\\",\\"value\\":{\\"type\\":\\"…\\",\\"data\\":…}}], using the same value shapes as a single field update"}},"hostedApiKey":"none"},"affinity_batch_update_list_entry_fields":{"id":"affinity_batch_update_list_entry_fields","name":"Affinity Batch Update List Entry Fields","description":"Write up to 100 field values on one list row in a single request. Requires the \\"Export data from Lists\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"updates":{"type":"json","required":true,"visibility":"user-or-llm","description":"Up to 100 field updates as [{\\"id\\":\\"\\",\\"value\\":{\\"type\\":\\"…\\",\\"data\\":…}}], using the same value shapes as a single field update"}},"hostedApiKey":"none"},"affinity_create_list":{"id":"affinity_create_list","name":"Affinity Create List","description":"Create a list. Its type fixes which entities it can hold, and the API key holder becomes its creator and owner.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the new list"},"type":{"type":"string","required":true,"visibility":"user-or-llm","description":"Entity kind the list holds: company, opportunity, or person"},"isPublic":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Whether everyone in the organization can see the list"}},"hostedApiKey":"none"},"affinity_create_list_field_dropdown_option":{"id":"affinity_create_list_field_dropdown_option","name":"Affinity Create List Field Dropdown Option","description":"Add a selectable option to a dropdown field on a list. A ranked or status option also needs a rank and a color.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown field ID on that list"},"type":{"type":"string","required":true,"visibility":"user-or-llm","description":"Kind of option to create, matching the field. dropdown takes only a label; ranked-dropdown also requires rank and color; status-dropdown additionally requires a status category. Sending a field the kind does not accept is rejected"},"text":{"type":"string","required":true,"visibility":"user-or-llm","description":"The option label"},"rank":{"type":"number","required":false,"visibility":"user-or-llm","description":"Sort order. Required on a ranked-dropdown or status-dropdown option"},"color":{"type":"string","required":false,"visibility":"user-or-llm","description":"Option color: white, gray, blue, green, purple, orange, or red. Required on a ranked-dropdown or status-dropdown option"},"statusCategory":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pipeline meaning of the option: open, won, lost, or on-hold. Status-dropdown options only"},"winRate":{"type":"number","required":false,"visibility":"user-or-llm","description":"Expected win rate of the status. Status-dropdown options only"}},"hostedApiKey":"none"},"affinity_create_merge":{"id":"affinity_create_merge","name":"Affinity Create Merge","description":"Fold a duplicate company or person into the record you are keeping. The merge runs asynchronously — poll the returned task to see it finish. Requires the \\"Manage duplicates\\" permission and an admin role.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"What to merge: companies or persons"},"primaryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to keep"},"duplicateId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the duplicate record to fold in"}},"hostedApiKey":"none"},"affinity_create_note":{"id":"affinity_create_note","name":"Affinity Create Note","description":"Write a note — attached to companies, persons, and opportunities, anchored to a meeting, call, or chat message, or posted as a reply to an existing note.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"type":{"type":"string","required":true,"visibility":"user-or-llm","description":"Note shape: entities to attach it to records, interaction to anchor it to a meeting, call, or chat message, or user-reply to reply to a note"},"html":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note body as HTML"},"companyIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Companies to attach the note to, e.g. [1, 2]. Not used on a reply"},"personIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Persons to attach the note to, e.g. [1, 2]. Not used on a reply"},"opportunityIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Opportunities to attach the note to, e.g. [1, 2]. Not used on a reply"},"interactionId":{"type":"string","required":false,"visibility":"user-or-llm","description":"The interaction to anchor the note to. Required for an interaction note"},"interactionType":{"type":"string","required":false,"visibility":"user-or-llm","description":"Kind of the anchoring interaction: meeting, call, or chat-message. Required for an interaction note"},"parentId":{"type":"string","required":false,"visibility":"user-or-llm","description":"The note being replied to. Required for a user-reply note"},"creatorId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Attribute the note to another internal person. Defaults to the API key holder"},"createdAt":{"type":"string","required":false,"visibility":"user-or-llm","description":"Backdate the note to this ISO 8601 timestamp"}},"hostedApiKey":"none"},"affinity_create_reminder":{"id":"affinity_create_reminder","name":"Affinity Create Reminder","description":"Create a reminder on one company, person, or opportunity. A recurring reminder resets whenever the chosen signal happens instead of firing once.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"type":{"type":"string","required":true,"visibility":"user-or-llm","description":"one-time to fire once, or recurring to reset on a signal"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"What the reminder is about: company, person, or opportunity"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company, person, or opportunity"},"dueDate":{"type":"string","required":false,"visibility":"user-or-llm","description":"When the reminder is due, as an ISO 8601 timestamp. Required for a one-time reminder; on a recurring one Affinity computes it from the period when omitted"},"content":{"type":"string","required":false,"visibility":"user-or-llm","description":"What the reminder says"},"ownerId":{"type":"string","required":true,"visibility":"user-or-llm","description":"User the reminder is assigned to. Must be an internal user. The API key holder is recorded as the creator, which is a separate field"},"resetTrigger":{"type":"string","required":false,"visibility":"user-or-llm","description":"What restarts a recurring reminder: interaction, email, or event. Required when the type is recurring"},"periodDays":{"type":"number","required":false,"visibility":"user-or-llm","description":"Days between firings of a recurring reminder. Required when the type is recurring"}},"hostedApiKey":"none"},"affinity_delete_list_field_dropdown_option":{"id":"affinity_delete_list_field_dropdown_option","name":"Affinity Delete List Field Dropdown Option","description":"Permanently delete a dropdown option on a list field. Every list entry currently set to it is cleared, and those values cannot be recovered.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown field ID on that list"},"dropdownOptionId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown option ID to delete"}},"hostedApiKey":"none"},"affinity_delete_note":{"id":"affinity_delete_note","name":"Affinity Delete Note","description":"Delete a note you created. Deleting a root note also deletes its replies; deleting a reply removes only that reply.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID to delete"}},"hostedApiKey":"none"},"affinity_get_company":{"id":"affinity_get_company","name":"Affinity Get Company","description":"Look up one company by ID. Field data is returned only for the Field IDs or Field Types asked for.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"companyId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The company ID"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"}},"hostedApiKey":"none"},"affinity_get_current_user":{"id":"affinity_get_current_user","name":"Affinity Get Current User","description":"Verify an Affinity API key and return the tenant, the user behind the key, and the scopes the grant carries.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"}},"hostedApiKey":"none"},"affinity_get_entity_field_value":{"id":"affinity_get_entity_field_value","name":"Affinity Get Entity Field Value","description":"Read one non-list field value from a company or person.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to read the field from: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The field ID to read"}},"hostedApiKey":"none"},"affinity_get_list":{"id":"affinity_get_list","name":"Affinity Get List","description":"Read one list — its name, type, owner, and privacy setting.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"}},"hostedApiKey":"none"},"affinity_get_list_entry":{"id":"affinity_get_list_entry","name":"Affinity Get List Entry","description":"Read one row of a list with its entity. Field data is returned only for the Field IDs or Field Types asked for.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, list, or relationship-intelligence. Mutually exclusive with Field IDs"}},"hostedApiKey":"none"},"affinity_get_list_entry_field":{"id":"affinity_get_list_entry_field","name":"Affinity Get List Entry Field","description":"Read one field value on a list row.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The field ID to read"}},"hostedApiKey":"none"},"affinity_get_list_field_dropdown_option":{"id":"affinity_get_list_field_dropdown_option","name":"Affinity Get List Field Dropdown Option","description":"Read one dropdown option on a list field.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown field ID on that list"},"dropdownOptionId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown option ID"}},"hostedApiKey":"none"},"affinity_get_merge":{"id":"affinity_get_merge","name":"Affinity Get Merge","description":"Read the status of one company or person merge, including why it failed if it did.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which merge to read: companies or persons"},"mergeId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The merge ID"}},"hostedApiKey":"none"},"affinity_get_merge_task":{"id":"affinity_get_merge_task","name":"Affinity Get Merge Task","description":"Read one merge task and how its merges are progressing. Poll this after starting a merge.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which merge task to read: companies or persons"},"taskId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The merge task ID"}},"hostedApiKey":"none"},"affinity_get_note":{"id":"affinity_get_note","name":"Affinity Get Note","description":"Read one note with its body, author, mentions, and attached records.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID"},"includes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Extra properties to return, e.g. [\\"repliesCount\\",\\"personsPreview\\",\\"companiesPreview\\",\\"opportunitiesPreview\\"]. Those four fields are omitted unless requested here"}},"hostedApiKey":"none"},"affinity_get_opportunity":{"id":"affinity_get_opportunity","name":"Affinity Get Opportunity","description":"Read one opportunity and the list it belongs to. Its field data lives on the list entry.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"opportunityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The opportunity ID"}},"hostedApiKey":"none"},"affinity_get_person":{"id":"affinity_get_person","name":"Affinity Get Person","description":"Look up one person by ID. Field data is returned only for the Field IDs or Field Types asked for.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"personId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The person ID"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"}},"hostedApiKey":"none"},"affinity_get_saved_view":{"id":"affinity_get_saved_view","name":"Affinity Get Saved View","description":"Read one saved view — its name, kind, and creation date.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"viewId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The saved view ID"}},"hostedApiKey":"none"},"affinity_get_transcript":{"id":"affinity_get_transcript","name":"Affinity Get Transcript","description":"Read one transcript with its first 100 fragments. Page the fragments endpoint for a longer meeting.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"transcriptId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The transcript ID"}},"hostedApiKey":"none"},"affinity_get_user":{"id":"affinity_get_user","name":"Affinity Get User","description":"Read one internal user. A user and their person record share the same numeric ID, so a person ID works here.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"userId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The user ID, which is also their person ID"}},"hostedApiKey":"none"},"affinity_list_calls":{"id":"affinity_list_calls","name":"Affinity List Calls","description":"Page through logged calls and their participants. Only calls the API key holder can see are returned.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_chat_messages":{"id":"affinity_list_chat_messages","name":"Affinity List Chat Messages","description":"Page through logged chat messages and their participants. Only messages the API key holder can see are returned.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_companies":{"id":"affinity_list_companies","name":"Affinity List Companies","description":"Page through companies. Companies come back without field data unless Field IDs or Field Types asks for it.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the page to these company IDs, e.g. [1, 2, 3]"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_coworker_connections":{"id":"affinity_list_coworker_connections","name":"Affinity List Coworker Connections","description":"Find warm paths into a company through shared work history: who in your Affinity data once worked alongside the people you want to reach. Grouped by target, strongest first.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":true,"visibility":"user-or-llm","description":"Required scope. The only supported filter is target.currentCompany.id, e.g. \\"target.currentCompany.id=123\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of targets to return per page, 1-50. Defaults to 20"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_emails":{"id":"affinity_list_emails","name":"Affinity List Emails","description":"Page through email metadata — subject, participants, and timestamps. Affinity never exposes email bodies through the API.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_entity_field_values":{"id":"affinity_list_entity_field_values","name":"Affinity List Entity Field Values","description":"Page through a company\'s or person\'s non-list field values. List fields are not returned here — read those through the list entry.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to read field values from: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict to these field IDs. Mutually exclusive with Field Types"},"types":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict to these field categories: enriched, global, relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 20"}},"hostedApiKey":"none"},"affinity_list_entity_list_entries":{"id":"affinity_list_entity_list_entries","name":"Affinity List Entity List Entries","description":"Page through a company\'s or person\'s rows across every list, each carrying that list\'s field values and when the entity was added.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to look up the rows of: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_entity_lists":{"id":"affinity_list_entity_lists","name":"Affinity List Entity Lists","description":"List every list a company or person appears on that the caller can view.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to look up the lists of: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_entity_notes":{"id":"affinity_list_entity_notes","name":"Affinity List Entity Notes","description":"List the notes relevant to one company, person, or opportunity — directly attached notes plus notes reaching it through its people and meetings.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity the notes hang off: companies, persons, or opportunities"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company, person, or opportunity"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_entity_relationships":{"id":"affinity_list_entity_relationships","name":"Affinity List Entity Relationships","description":"List who knows a company or person, scored 0.0 to 1.0 by how much the two actually interact. Strongest first by default.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to look up relationships for: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression. This endpoint filters on interactionScore only, e.g. \\"interactionScore>=0.5\\""},"orderBy":{"type":"json","required":false,"visibility":"user-or-llm","description":"Sort order: [\\"interactionScore\\"] for weakest first, [\\"-interactionScore\\"] for strongest first (the default)"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_field_dropdown_options":{"id":"affinity_list_field_dropdown_options","name":"Affinity List Field Dropdown Options","description":"List the selectable options on a dropdown or ranked-dropdown company or person field. Writing such a field needs the option ID, not its text.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which field family the field belongs to: companies or persons"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown or ranked-dropdown field ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_field_metadata":{"id":"affinity_list_field_metadata","name":"Affinity List Field Metadata","description":"List the non-list company or person fields, with the value type, filter operators, and sort support of each. Start here to find the Field IDs the read and write tools take.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which fields to describe: companies or persons"},"includes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Extra properties to return: [\\"filterability\\",\\"sortability\\"]. Both are omitted unless requested here"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression. This endpoint filters on name only, e.g. \\"name=~Status\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_field_value_changes":{"id":"affinity_list_field_value_changes","name":"Affinity List Field Value Changes","description":"Page through field value changes across the whole workspace. Built for delta sync: follow nextCursor to the end of a run, then resume from the last cursor next time.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression over field.id, listEntry.id, changer.id, changedAt, or actionType. Resume a sync with e.g. \\"changedAt>2026-06-01T12:00:00Z\\""},"orderBy":{"type":"json","required":false,"visibility":"user-or-llm","description":"Sort order: [\\"changedAt\\"] for oldest first (the default), [\\"-changedAt\\"] for newest first"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_investor_executive_connections":{"id":"affinity_list_investor_executive_connections","name":"Affinity List Investor Executive Connections","description":"Find warm paths into a company through investment history: which investors in your Affinity data backed a company the people you want to reach once led. Grouped by target, strongest first.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":true,"visibility":"user-or-llm","description":"Required scope. The only supported filter is target.currentCompany.id, e.g. \\"target.currentCompany.id=123\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of targets to return per page, 1-50. Defaults to 20"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_list_entries":{"id":"affinity_list_list_entries","name":"Affinity List List Entries","description":"Page through the rows of a list. Rows come back without field data unless Field IDs or Field Types asks for it.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, list, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_list_entry_field_value_changes":{"id":"affinity_list_list_entry_field_value_changes","name":"Affinity List List Entry Field Value Changes","description":"Page through the history of one list row — who changed which field, when, and to what.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression over field.id, changer.id, changedAt, or actionType, e.g. \\"field.id=field-1234\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_list_entry_fields":{"id":"affinity_list_list_entry_fields","name":"Affinity List List Entry Fields","description":"Page through every field value on one list row, including the list-specific columns. All fields are returned unless narrowed.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict to these field IDs. Mutually exclusive with Field Types"},"types":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict to these field categories: enriched, global, list, relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 20"}},"hostedApiKey":"none"},"affinity_list_list_field_dropdown_options":{"id":"affinity_list_list_field_dropdown_options","name":"Affinity List List Field Dropdown Options","description":"List the selectable options on a dropdown, ranked-dropdown, or status-dropdown field of a list.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown field ID on that list"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_list_fields":{"id":"affinity_list_list_fields","name":"Affinity List List Fields","description":"List the fields available on one list, including its list-specific columns. Use these Field IDs when reading or writing list entries.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"includes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Extra properties to return: [\\"filterability\\",\\"sortability\\"]. Both are omitted unless requested here"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression. This endpoint filters on name only, e.g. \\"name=~Stage\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_lists":{"id":"affinity_list_lists","name":"Affinity List Lists","description":"Page through the lists in the organization that the caller can view.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"term":{"type":"string","required":false,"visibility":"user-or-llm","description":"Case-insensitive substring match on the list name"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_meetings":{"id":"affinity_list_meetings","name":"Affinity List Meetings","description":"Page through past and upcoming meetings with their organizer and attendees.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_merge_tasks":{"id":"affinity_list_merge_tasks","name":"Affinity List Merge Tasks","description":"Page through merge tasks, each summarizing how many of its merges are in progress, succeeded, or failed.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which merge tasks to list: companies or persons"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression. This endpoint filters on status only, e.g. \\"status=in-progress\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_merges":{"id":"affinity_list_merges","name":"Affinity List Merges","description":"Page through the company or person merges the organization has run, with the status and the records involved in each.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which merges to list: companies or persons"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression over status or taskId, e.g. \\"status=failed\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_note_attached_companies":{"id":"affinity_list_note_attached_companies","name":"Affinity List Note Attached Companies","description":"List the companies directly attached to one note.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_note_attached_opportunities":{"id":"affinity_list_note_attached_opportunities","name":"Affinity List Note Attached Opportunities","description":"List the opportunities directly attached to one note.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_note_attached_persons":{"id":"affinity_list_note_attached_persons","name":"Affinity List Note Attached Persons","description":"List the persons directly attached to one note.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_note_replies":{"id":"affinity_list_note_replies","name":"Affinity List Note Replies","description":"Page through the replies on one note, including AI Notetaker replies.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID whose replies to read"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_notes":{"id":"affinity_list_notes","name":"Affinity List Notes","description":"Page through every note the caller can see. Replies are excluded.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"includes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Extra properties to return, e.g. [\\"repliesCount\\",\\"personsPreview\\",\\"companiesPreview\\",\\"opportunitiesPreview\\"]. Those four fields are omitted unless requested here"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_opportunities":{"id":"affinity_list_opportunities","name":"Affinity List Opportunities","description":"Page through opportunities. Field data lives on the list entry, not here — read it through the list or saved view the opportunity belongs to.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the page to these opportunity IDs, e.g. [1, 2, 3]"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_persons":{"id":"affinity_list_persons","name":"Affinity List Persons","description":"Page through persons. Persons come back without field data unless Field IDs or Field Types asks for it.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the page to these person IDs, e.g. [1, 2, 3]"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_reminders":{"id":"affinity_list_reminders","name":"Affinity List Reminders","description":"Page through the reminders the caller can see. Filter by status to surface what is overdue.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_saved_view_entries":{"id":"affinity_list_saved_view_entries","name":"Affinity List Saved View Entries","description":"Page through the rows of a saved view. The view\'s own filters and columns decide which rows and which field data come back.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"viewId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The saved view ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_saved_views":{"id":"affinity_list_saved_views","name":"Affinity List Saved Views","description":"List the saved views on a list that the caller can view.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_transcript_fragments":{"id":"affinity_list_transcript_fragments","name":"Affinity List Transcript Fragments","description":"Page through everything said in a meeting, segment by segment with the speaker.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"transcriptId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The transcript ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_transcripts":{"id":"affinity_list_transcripts","name":"Affinity List Transcripts","description":"Page through meeting transcript metadata. Read one transcript to get what was actually said.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_users":{"id":"affinity_list_users","name":"Affinity List Users","description":"Page through the internal users in the organization. Email addresses and roles are returned only to callers with the \\"Manage Users\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"term":{"type":"string","required":false,"visibility":"user-or-llm","description":"Case-insensitive match across first name, last name, and primary email"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression over id or status, e.g. \\"status=active\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_search_companies":{"id":"affinity_search_companies","name":"Affinity Search Companies","description":"Search companies by filters, sorts, and a free-text term. Requires the \\"Export All Organizations directory\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Filter group as {operator: \\"and\\"|\\"or\\", filters: [...]}, at most 50 leaves. Each leaf is {valueType, fieldId, operator, value}, and a leaf may itself be a nested group"},"searchTerm":{"type":"string","required":false,"visibility":"user-or-llm","description":"Free-text term matched against the searchable fields. At least 3 characters"},"searchFieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs the search term is matched against. Defaults to the searchable fields"},"sorts":{"type":"json","required":false,"visibility":"user-or-llm","description":"Sort order as [{fieldId, direction: \\"asc\\"|\\"desc\\", attributeId?}], up to 5, applied in order"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_search_files":{"id":"affinity_search_files","name":"Affinity Search Files","description":"Search files by keyword, ordered by relevance. Narrow to specific files or to one company, or leave both unset to search the whole account.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"prompt":{"type":"string","required":true,"visibility":"user-or-llm","description":"What to search for. Between 3 and 500 characters"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the search to these file IDs. Cannot be combined with Company ID"},"companyId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Restrict the search to one company\'s files. Cannot be combined with file IDs"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of files to return, 1-100. Defaults to 20"}},"hostedApiKey":"none"},"affinity_search_list_entries":{"id":"affinity_search_list_entries","name":"Affinity Search List Entries","description":"Search the rows of one list by filters, sorts, and a free-text term. Requires the \\"Export data from Lists\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID to search"},"filters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Filter group as {operator: \\"and\\"|\\"or\\", filters: [...]}, at most 50 leaves. Each leaf is {valueType, fieldId, operator, value}, and a leaf may itself be a nested group"},"searchTerm":{"type":"string","required":false,"visibility":"user-or-llm","description":"Free-text term matched against the searchable fields. At least 3 characters"},"searchFieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs the search term is matched against. Defaults to the searchable fields"},"sorts":{"type":"json","required":false,"visibility":"user-or-llm","description":"Sort order as [{fieldId, direction: \\"asc\\"|\\"desc\\", attributeId?}], up to 5, applied in order"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, list, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_search_notes":{"id":"affinity_search_notes","name":"Affinity Search Notes","description":"Search notes by keyword, ordered by relevance. Narrow to specific notes or to one company, or leave both unset to search the whole account.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"prompt":{"type":"string","required":true,"visibility":"user-or-llm","description":"What to search for. Between 3 and 500 characters"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the search to these note IDs. Cannot be combined with Company ID"},"companyId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Restrict the search to one company\'s notes. Cannot be combined with note IDs"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of notes to return, 1-100. Defaults to 20"}},"hostedApiKey":"none"},"affinity_search_persons":{"id":"affinity_search_persons","name":"Affinity Search Persons","description":"Search persons by filters, sorts, and a free-text term. Requires the \\"Export All People directory\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Filter group as {operator: \\"and\\"|\\"or\\", filters: [...]}, at most 50 leaves. Each leaf is {valueType, fieldId, operator, value}, and a leaf may itself be a nested group"},"searchTerm":{"type":"string","required":false,"visibility":"user-or-llm","description":"Free-text term matched against the searchable fields. At least 3 characters"},"searchFieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs the search term is matched against. Defaults to the searchable fields"},"sorts":{"type":"json","required":false,"visibility":"user-or-llm","description":"Sort order as [{fieldId, direction: \\"asc\\"|\\"desc\\", attributeId?}], up to 5, applied in order"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_semantic_search":{"id":"affinity_semantic_search","name":"Affinity Semantic Search","description":"Find companies from a description in plain language — industry, technology, stage, or business model. Currently searches companies only.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"prompt":{"type":"string","required":true,"visibility":"user-or-llm","description":"What to look for, in plain language, e.g. \\"climate tech companies in our pipeline\\". Up to 500 characters"},"listIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the search to companies on these lists, e.g. [1, 2]"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of companies to return, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_update_entity_field_value":{"id":"affinity_update_entity_field_value","name":"Affinity Update Entity Field Value","description":"Write one non-list field value on a company or person. The value type must match how the field is defined.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to write the field on: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The field ID to write"},"value":{"type":"json","required":true,"visibility":"user-or-llm","description":"The new value as {type, data}, where type matches the field\'s value type. Examples: {\\"type\\":\\"text\\",\\"data\\":\\"Series B\\"}, {\\"type\\":\\"number\\",\\"data\\":42}, {\\"type\\":\\"dropdown\\",\\"data\\":{\\"dropdownOptionId\\":7}}, {\\"type\\":\\"person\\",\\"data\\":{\\"id\\":123}}, {\\"type\\":\\"person-multi\\",\\"data\\":[{\\"id\\":123}]}. Pass data as null to clear the field"}},"hostedApiKey":"none"},"affinity_update_list_entry_field":{"id":"affinity_update_list_entry_field","name":"Affinity Update List Entry Field","description":"Write one field value on a list row. Requires the \\"Export data from Lists\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The field ID to write"},"value":{"type":"json","required":true,"visibility":"user-or-llm","description":"The new value as {type, data}, where type matches the field\'s value type. Examples: {\\"type\\":\\"text\\",\\"data\\":\\"Series B\\"}, {\\"type\\":\\"number\\",\\"data\\":42}, {\\"type\\":\\"dropdown\\",\\"data\\":{\\"dropdownOptionId\\":7}}, {\\"type\\":\\"person\\",\\"data\\":{\\"id\\":123}}, {\\"type\\":\\"person-multi\\",\\"data\\":[{\\"id\\":123}]}. Pass data as null to clear the field"}},"hostedApiKey":"none"},"affinity_update_list_field_dropdown_option":{"id":"affinity_update_list_field_dropdown_option","name":"Affinity Update List Field Dropdown Option","description":"Change a dropdown option on a list field. Every field is optional — supply only what should change, and only fields the option\'s kind actually has.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown field ID on that list"},"dropdownOptionId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown option ID to update"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Replacement option label. Supply at least one field to change"},"rank":{"type":"number","required":false,"visibility":"user-or-llm","description":"Sort order. Required on a ranked-dropdown or status-dropdown option"},"color":{"type":"string","required":false,"visibility":"user-or-llm","description":"Option color: white, gray, blue, green, purple, orange, or red. Required on a ranked-dropdown or status-dropdown option"},"statusCategory":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pipeline meaning of the option: open, won, lost, or on-hold. Status-dropdown options only"},"winRate":{"type":"number","required":false,"visibility":"user-or-llm","description":"Expected win rate of the status. Status-dropdown options only"}},"hostedApiKey":"none"},"affinity_update_note":{"id":"affinity_update_note","name":"Affinity Update Note","description":"Rewrite a note\'s body or replace which records it is attached to. Each list of IDs replaces that association wholesale, an empty list clears it, and omitting one leaves it untouched. A note\'s type cannot be changed.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID to update"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"Replacement note body as HTML"},"companyIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Replacement set of attached companies, e.g. [1, 2]. Send [] to detach every company; omit to leave them unchanged"},"personIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Replacement set of attached persons, e.g. [1, 2]. Send [] to detach every person; omit to leave them unchanged"},"opportunityIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Replacement set of attached opportunities, e.g. [1, 2]. Send [] to detach every opportunity; omit to leave them unchanged"}},"hostedApiKey":"none"},"agentmail_create_draft":{"id":"agentmail_create_draft","name":"Create Draft","description":"Create a new email draft in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to create the draft in"},"to":{"type":"string","required":false,"visibility":"user-or-llm","description":"Recipient email addresses (comma-separated)"},"subject":{"type":"string","required":false,"visibility":"user-or-llm","description":"Draft subject line"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Plain text draft body"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"HTML draft body"},"cc":{"type":"string","required":false,"visibility":"user-or-llm","description":"CC recipient email addresses (comma-separated)"},"bcc":{"type":"string","required":false,"visibility":"user-or-llm","description":"BCC recipient email addresses (comma-separated)"},"inReplyTo":{"type":"string","required":false,"visibility":"user-or-llm","description":"ID of message being replied to"},"sendAt":{"type":"string","required":false,"visibility":"user-or-llm","description":"ISO 8601 timestamp to schedule sending"}},"hostedApiKey":"none"},"agentmail_create_inbox":{"id":"agentmail_create_inbox","name":"Create Inbox","description":"Create a new email inbox with AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"username":{"type":"string","required":false,"visibility":"user-or-llm","description":"Username for the inbox email address"},"domain":{"type":"string","required":false,"visibility":"user-or-llm","description":"Domain for the inbox email address"},"displayName":{"type":"string","required":false,"visibility":"user-or-llm","description":"Display name for the inbox"}},"hostedApiKey":"none"},"agentmail_delete_draft":{"id":"agentmail_delete_draft","name":"Delete Draft","description":"Delete an email draft in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the draft"},"draftId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the draft to delete"}},"hostedApiKey":"none"},"agentmail_delete_inbox":{"id":"agentmail_delete_inbox","name":"Delete Inbox","description":"Delete an email inbox in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to delete"}},"hostedApiKey":"none"},"agentmail_delete_thread":{"id":"agentmail_delete_thread","name":"Delete Thread","description":"Delete an email thread in AgentMail (moves to trash, or permanently deletes if already in trash)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the thread"},"threadId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the thread to delete"},"permanent":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Force permanent deletion instead of moving to trash"}},"hostedApiKey":"none"},"agentmail_forward_message":{"id":"agentmail_forward_message","name":"Forward Message","description":"Forward an email message to new recipients in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the message"},"messageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the message to forward"},"to":{"type":"string","required":true,"visibility":"user-or-llm","description":"Recipient email addresses (comma-separated)"},"subject":{"type":"string","required":false,"visibility":"user-or-llm","description":"Override subject line"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Additional plain text to prepend"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"Additional HTML to prepend"},"cc":{"type":"string","required":false,"visibility":"user-or-llm","description":"CC recipient email addresses (comma-separated)"},"bcc":{"type":"string","required":false,"visibility":"user-or-llm","description":"BCC recipient email addresses (comma-separated)"}},"hostedApiKey":"none"},"agentmail_get_draft":{"id":"agentmail_get_draft","name":"Get Draft","description":"Get details of a specific email draft in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox the draft belongs to"},"draftId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the draft to retrieve"}},"hostedApiKey":"none"},"agentmail_get_inbox":{"id":"agentmail_get_inbox","name":"Get Inbox","description":"Get details of a specific email inbox in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to retrieve"}},"hostedApiKey":"none"},"agentmail_get_message":{"id":"agentmail_get_message","name":"Get Message","description":"Get details of a specific email message in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the message"},"messageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the message to retrieve"}},"hostedApiKey":"none"},"agentmail_get_thread":{"id":"agentmail_get_thread","name":"Get Thread","description":"Get details of a specific email thread including messages in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the thread"},"threadId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the thread to retrieve"}},"hostedApiKey":"none"},"agentmail_list_drafts":{"id":"agentmail_list_drafts","name":"List Drafts","description":"List email drafts in an inbox in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to list drafts from"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of drafts to return"},"pageToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token for next page of results"}},"hostedApiKey":"none"},"agentmail_list_inboxes":{"id":"agentmail_list_inboxes","name":"List Inboxes","description":"List all email inboxes in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of inboxes to return"},"pageToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token for next page of results"}},"hostedApiKey":"none"},"agentmail_list_messages":{"id":"agentmail_list_messages","name":"List Messages","description":"List messages in an inbox in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to list messages from"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of messages to return"},"pageToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token for next page of results"}},"hostedApiKey":"none"},"agentmail_list_threads":{"id":"agentmail_list_threads","name":"List Threads","description":"List email threads in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to list threads from"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of threads to return"},"pageToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token for next page of results"},"labels":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated labels to filter threads by"},"before":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter threads before this ISO 8601 timestamp"},"after":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter threads after this ISO 8601 timestamp"}},"hostedApiKey":"none"},"agentmail_reply_message":{"id":"agentmail_reply_message","name":"Reply to Message","description":"Reply to an existing email message in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to reply from"},"messageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the message to reply to"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Plain text reply body"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"HTML reply body"},"to":{"type":"string","required":false,"visibility":"user-or-llm","description":"Override recipient email addresses (comma-separated)"},"cc":{"type":"string","required":false,"visibility":"user-or-llm","description":"CC email addresses (comma-separated)"},"bcc":{"type":"string","required":false,"visibility":"user-or-llm","description":"BCC email addresses (comma-separated)"},"replyAll":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Reply to all recipients of the original message"}},"hostedApiKey":"none"},"agentmail_send_draft":{"id":"agentmail_send_draft","name":"Send Draft","description":"Send an existing email draft in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the draft"},"draftId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the draft to send"}},"hostedApiKey":"none"},"agentmail_send_message":{"id":"agentmail_send_message","name":"Send Message","description":"Send an email message from an AgentMail inbox","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to send from"},"to":{"type":"string","required":true,"visibility":"user-or-llm","description":"Recipient email address (comma-separated for multiple)"},"subject":{"type":"string","required":true,"visibility":"user-or-llm","description":"Email subject line"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Plain text email body"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"HTML email body"},"cc":{"type":"string","required":false,"visibility":"user-or-llm","description":"CC recipient email addresses (comma-separated)"},"bcc":{"type":"string","required":false,"visibility":"user-or-llm","description":"BCC recipient email addresses (comma-separated)"}},"hostedApiKey":"none"},"agentmail_update_draft":{"id":"agentmail_update_draft","name":"Update Draft","description":"Update an existing email draft in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the draft"},"draftId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the draft to update"},"to":{"type":"string","required":false,"visibility":"user-or-llm","description":"Recipient email addresses (comma-separated)"},"subject":{"type":"string","required":false,"visibility":"user-or-llm","description":"Draft subject line"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Plain text draft body"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"HTML draft body"},"cc":{"type":"string","required":false,"visibility":"user-or-llm","description":"CC recipient email addresses (comma-separated)"},"bcc":{"type":"string","required":false,"visibility":"user-or-llm","description":"BCC recipient email addresses (comma-separated)"},"sendAt":{"type":"string","required":false,"visibility":"user-or-llm","description":"ISO 8601 timestamp to schedule sending"}},"hostedApiKey":"none"},"agentmail_update_inbox":{"id":"agentmail_update_inbox","name":"Update Inbox","description":"Update the display name of an email inbox in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to update"},"displayName":{"type":"string","required":true,"visibility":"user-or-llm","description":"New display name for the inbox"}},"hostedApiKey":"none"},"agentmail_update_message":{"id":"agentmail_update_message","name":"Update Message","description":"Add or remove labels on an email message in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the message"},"messageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the message to update"},"addLabels":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated labels to add to the message"},"removeLabels":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated labels to remove from the message"}},"hostedApiKey":"none"},"agentmail_update_thread":{"id":"agentmail_update_thread","name":"Update Thread Labels","description":"Add or remove labels on an email thread in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the thread"},"threadId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the thread to update"},"addLabels":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated labels to add to the thread"},"removeLabels":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated labels to remove from the thread"}},"hostedApiKey":"none"},"agentphone_create_call":{"id":"agentphone_create_call","name":"Create Outbound Call","description":"Initiate an outbound voice call from an AgentPhone agent","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"agentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Agent that will handle the call"},"toNumber":{"type":"string","required":true,"visibility":"user-or-llm","description":"Phone number to call in E.164 format (e.g. +14155551234)"},"fromNumberId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Phone number ID to use as caller ID. Must belong to the agent. If omitted, the agent\'s first assigned number is used."},"initialGreeting":{"type":"string","required":false,"visibility":"user-or-llm","description":"Optional greeting spoken when the recipient answers"},"voice":{"type":"string","required":false,"visibility":"user-or-llm","description":"Voice ID override for this call (defaults to the agent\'s configured voice)"},"systemPrompt":{"type":"string","required":false,"visibility":"user-or-llm","description":"When provided, uses a built-in LLM for the conversation instead of forwarding to your webhook"}},"hostedApiKey":"none"},"agentphone_create_contact":{"id":"agentphone_create_contact","name":"Create Contact","description":"Create a new contact in AgentPhone","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"phoneNumber":{"type":"string","required":true,"visibility":"user-or-llm","description":"Phone number in E.164 format (e.g. +14155551234)"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Contact\'s full name"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"Contact\'s email address"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"Freeform notes stored on the contact"}},"hostedApiKey":"none"},"agentphone_create_number":{"id":"agentphone_create_number","name":"Create Phone Number","description":"Provision a new SMS- and voice-enabled phone number","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Two-letter country code (e.g. US, CA). Defaults to US."},"areaCode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Preferred area code (US/CA only, e.g. \\"415\\"). Best-effort — may be ignored if unavailable."},"agentId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Optionally attach the number to an agent immediately"}},"hostedApiKey":"none"},"agentphone_delete_contact":{"id":"agentphone_delete_contact","name":"Delete Contact","description":"Delete a contact by ID","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"contactId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Contact ID"}},"hostedApiKey":"none"},"agentphone_get_call":{"id":"agentphone_get_call","name":"Get Call","description":"Fetch a call and its full transcript","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"callId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the call to retrieve"}},"hostedApiKey":"none"},"agentphone_get_call_transcript":{"id":"agentphone_get_call_transcript","name":"Get Call Transcript","description":"Get the full ordered transcript for a call","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"callId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the call to retrieve the transcript for"}},"hostedApiKey":"none"},"agentphone_get_contact":{"id":"agentphone_get_contact","name":"Get Contact","description":"Fetch a single contact by ID","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"contactId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Contact ID"}},"hostedApiKey":"none"},"agentphone_get_conversation":{"id":"agentphone_get_conversation","name":"Get Conversation","description":"Get a conversation along with its recent messages","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"conversationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Conversation ID"},"messageLimit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of recent messages to include (default 50, max 100)"}},"hostedApiKey":"none"},"agentphone_get_conversation_messages":{"id":"agentphone_get_conversation_messages","name":"Get Conversation Messages","description":"Get paginated messages for a conversation","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"conversationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Conversation ID"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of messages to return (default 50, max 200)"},"before":{"type":"string","required":false,"visibility":"user-or-llm","description":"Return messages received before this ISO 8601 timestamp"},"after":{"type":"string","required":false,"visibility":"user-or-llm","description":"Return messages received after this ISO 8601 timestamp"}},"hostedApiKey":"none"},"agentphone_get_number_messages":{"id":"agentphone_get_number_messages","name":"Get Phone Number Messages","description":"Fetch messages received on a specific phone number","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"numberId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the phone number"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of messages to return (default 50, max 200)"},"before":{"type":"string","required":false,"visibility":"user-or-llm","description":"Return messages received before this ISO 8601 timestamp"},"after":{"type":"string","required":false,"visibility":"user-or-llm","description":"Return messages received after this ISO 8601 timestamp"}},"hostedApiKey":"none"},"agentphone_get_usage":{"id":"agentphone_get_usage","name":"Get Usage","description":"Retrieve current usage statistics for the AgentPhone account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"}},"hostedApiKey":"none"},"agentphone_get_usage_daily":{"id":"agentphone_get_usage_daily","name":"Get Daily Usage","description":"Get a daily breakdown of usage (messages, calls, webhooks) for the last N days","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"days":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of days to return (1-365, default 30)"}},"hostedApiKey":"none"},"agentphone_get_usage_monthly":{"id":"agentphone_get_usage_monthly","name":"Get Monthly Usage","description":"Get monthly usage aggregation (messages, calls, webhooks) for the last N months","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"months":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of months to return (1-24, default 6)"}},"hostedApiKey":"none"},"agentphone_list_calls":{"id":"agentphone_list_calls","name":"List Calls","description":"List voice calls for this AgentPhone account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to return (default 20, max 100)"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to skip (min 0)"},"status":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter by status (completed, in-progress, failed)"},"direction":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter by direction (inbound, outbound)"},"type":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter by call type (pstn, web)"},"search":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search by phone number (matches fromNumber or toNumber)"}},"hostedApiKey":"none"},"agentphone_list_contacts":{"id":"agentphone_list_contacts","name":"List Contacts","description":"List contacts for this AgentPhone account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"search":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter by name or phone number (case-insensitive contains)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to return (default 50, max 200)"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to skip (min 0)"}},"hostedApiKey":"none"},"agentphone_list_conversations":{"id":"agentphone_list_conversations","name":"List Conversations","description":"List conversations (message threads) for this AgentPhone account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to return (default 20, max 100)"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to skip (min 0)"}},"hostedApiKey":"none"},"agentphone_list_numbers":{"id":"agentphone_list_numbers","name":"List Phone Numbers","description":"List all phone numbers provisioned for this AgentPhone account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to return (default 20, max 100)"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to skip (min 0)"}},"hostedApiKey":"none"},"agentphone_react_to_message":{"id":"agentphone_react_to_message","name":"React to Message","description":"Send an iMessage tapback reaction to a message (iMessage only)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"messageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the message to react to"},"reaction":{"type":"string","required":true,"visibility":"user-or-llm","description":"Reaction type: love, like, dislike, laugh, emphasize, or question"}},"hostedApiKey":"none"},"agentphone_release_number":{"id":"agentphone_release_number","name":"Release Phone Number","description":"Release (delete) a phone number. This action is irreversible.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"numberId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the phone number to release"}},"hostedApiKey":"none"},"agentphone_send_message":{"id":"agentphone_send_message","name":"Send Message","description":"Send an outbound SMS or iMessage from an AgentPhone agent","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"agentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Agent sending the message"},"toNumber":{"type":"string","required":true,"visibility":"user-or-llm","description":"Recipient phone number in E.164 format (e.g. +14155551234)"},"body":{"type":"string","required":true,"visibility":"user-or-llm","description":"Message text to send"},"mediaUrl":{"type":"string","required":false,"visibility":"user-or-llm","description":"Optional URL of an image, video, or file to attach"},"numberId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Phone number ID to send from. If omitted, the agent\'s first assigned number is used."}},"hostedApiKey":"none"},"agentphone_update_contact":{"id":"agentphone_update_contact","name":"Update Contact","description":"Update a contact\'s fields","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"contactId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Contact ID"},"phoneNumber":{"type":"string","required":false,"visibility":"user-or-llm","description":"New phone number in E.164 format"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"New contact name"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"New email address"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"New freeform notes"}},"hostedApiKey":"none"},"agentphone_update_conversation":{"id":"agentphone_update_conversation","name":"Update Conversation","description":"Update conversation metadata (stored state). Pass null to clear existing metadata.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"conversationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Conversation ID"},"metadata":{"type":"json","required":false,"visibility":"user-or-llm","description":"Custom key-value metadata to store on the conversation. Pass null to clear existing metadata."}},"hostedApiKey":"none"},"agiloft_async_status":{"id":"agiloft_async_status","name":"Agiloft Async Status","description":"Check whether an asynchronous Agiloft call, such as a run action button, has completed.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table the asynchronous call was made against"},"callbackId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Callback ID returned by the asynchronous call, e.g. from Run Action Button"}},"hostedApiKey":"none"},"agiloft_attach_file":{"id":"agiloft_attach_file","name":"Agiloft Attach File","description":"Attach a file to a field in an Agiloft record.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to attach the file to"},"fieldName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the attachment field"},"file":{"type":"file","required":true,"visibility":"user-or-llm","description":"File to attach"},"fileName":{"type":"string","required":false,"visibility":"user-or-llm","description":"Name to assign to the file (defaults to original file name)"},"overwrite":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Replace the contents of the field instead of adding another file to it"}},"hostedApiKey":"none"},"agiloft_attachment_info":{"id":"agiloft_attachment_info","name":"Agiloft Attachment Info","description":"Get information about file attachments on a record field.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to check attachments on"},"fieldName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the attachment field to inspect"}},"hostedApiKey":"none"},"agiloft_create_record":{"id":"agiloft_create_record","name":"Agiloft Create Record","description":"Create a new record in an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"data":{"type":"string","required":true,"visibility":"user-or-llm","description":"Record field values as a JSON object (e.g., {\\"first_name\\": \\"John\\", \\"status\\": \\"Active\\"})"}},"hostedApiKey":"none"},"agiloft_delete_record":{"id":"agiloft_delete_record","name":"Agiloft Delete Record","description":"Delete a record from an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to delete"},"substituteIds":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated IDs of records that adopt the dependants of the deleted record. Read only when the delete rule is REPLACE_WITH_ANOTHER."},"deleteRule":{"type":"string","required":false,"visibility":"user-or-llm","description":"How to treat records that depend on this one: ERROR_IF_DEPENDANTS (default — fails rather than cascading), APPLY_DELETE_WHERE_POSSIBLE, DELETE_WHERE_POSSIBLE_OTHERWISE_UNLINK, APPLY_UNLINK, UNLINK_WHERE_POSSIBLE_OTHERWISE_DELETE, or REPLACE_WITH_ANOTHER"}},"hostedApiKey":"none"},"agiloft_get_choice_line_id":{"id":"agiloft_get_choice_line_id","name":"Agiloft Get Choice Line ID","description":"Resolve the internal numeric ID of a choice-list value, for use in EWSelect WHERE clauses against choice fields.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"case\\", \\"contracts\\")"},"fieldName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Choice field name (e.g., \\"priority\\", \\"status\\")"},"value":{"type":"string","required":true,"visibility":"user-or-llm","description":"Choice display value to resolve (e.g., \\"High\\", \\"Active\\")"}},"hostedApiKey":"none"},"agiloft_list_tables":{"id":"agiloft_list_tables","name":"Agiloft List Tables","description":"List the tables and fields in an Agiloft knowledge base, to discover the logical names other operations need.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":false,"visibility":"user-or-llm","description":"Logical name of a single table to describe (e.g., \\"contacts\\"). Leave empty to list every table in the knowledge base."},"includeLinkedInfo":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the source table and column behind each linked field"},"skipColumnsInfo":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Return table names only, omitting field details, for a much smaller response"}},"hostedApiKey":"none"},"agiloft_lock_record":{"id":"agiloft_lock_record","name":"Agiloft Lock Record","description":"Lock, unlock, or check the lock status of an Agiloft record.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to lock, unlock, or check"},"lockAction":{"type":"string","required":true,"visibility":"user-or-llm","description":"Action to perform: \\"lock\\", \\"unlock\\", or \\"check\\""},"force":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Unlock only: release a lock held by another user."}},"hostedApiKey":"none"},"agiloft_nlp_search":{"id":"agiloft_nlp_search","name":"Agiloft Natural Language Search","description":"Search Agiloft records by describing what you want in plain language, such as \\"active NDAs submitted last month\\".","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"nlpQuery":{"type":"string","required":true,"visibility":"user-or-llm","description":"The request in plain language, e.g. \\"Show me open, high-priority contracts\\". Structured field filters are not accepted — use Search Records for those."},"fields":{"type":"string","required":true,"visibility":"user-or-llm","description":"Comma-separated field names to return, e.g. \\"id, contract_title1, company_name\\""},"page":{"type":"string","required":false,"visibility":"user-or-llm","description":"Page number, starting from 0"},"limit":{"type":"string","required":false,"visibility":"user-or-llm","description":"Records per page"}},"hostedApiKey":"none"},"agiloft_read_record":{"id":"agiloft_read_record","name":"Agiloft Read Record","description":"Read a record by ID from an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to read"},"fields":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of field names to include in the response"}},"hostedApiKey":"none"},"agiloft_remove_attachment":{"id":"agiloft_remove_attachment","name":"Agiloft Remove Attachment","description":"Remove an attached file from a field in an Agiloft record.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record containing the attachment"},"fieldName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the attachment field"},"position":{"type":"string","required":true,"visibility":"user-or-llm","description":"Position index of the file to remove (starting from 0)"}},"hostedApiKey":"none"},"agiloft_retrieve_attachment":{"id":"agiloft_retrieve_attachment","name":"Agiloft Retrieve Attachment","description":"Download an attached file from an Agiloft record field.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record containing the attachment"},"fieldName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the attachment field"},"position":{"type":"string","required":true,"visibility":"user-or-llm","description":"Position index of the file in the field (starting from 0)"}},"hostedApiKey":"none"},"agiloft_run_action_button":{"id":"agiloft_run_action_button","name":"Agiloft Run Action Button","description":"Run an action button on an Agiloft record, such as an approval or send-for-signature step.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"case\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to run the action button on"},"actionButtonField":{"type":"string","required":true,"visibility":"user-or-llm","description":"Logical name of the field holding the action button (e.g., \\"ab_field\\")"}},"hostedApiKey":"none"},"agiloft_saved_search":{"id":"agiloft_saved_search","name":"Agiloft Saved Search","description":"List the saved searches defined for an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Logical table name to list saved searches for (e.g., \\"contract\\")"}},"hostedApiKey":"none"},"agiloft_search_records":{"id":"agiloft_search_records","name":"Agiloft Search Records","description":"Search for records in an Agiloft table using a query.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name to search in (e.g., \\"contracts\\", \\"contacts.employees\\")"},"query":{"type":"string","required":false,"visibility":"user-or-llm","description":"Ad hoc EWSearch query. Combine conditions with && (and) or || (or) and quote every value — e.g. \\"summary~=\'test\'&&priority=\'High\'\\". Required unless a saved search is given."},"search":{"type":"string","required":false,"visibility":"user-or-llm","description":"Label of a saved search defined on the table (e.g., \\"C: Status is Closed\\"). Can be combined with a query to narrow it further."},"fields":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of field names to include in the results"},"page":{"type":"string","required":false,"visibility":"user-or-llm","description":"Page number for paginated results (starting from 0)"},"limit":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum number of records to return per page. Agiloft treats 0 as \\"all records\\", so leave it unset or use a positive value to keep result sizes bounded."}},"hostedApiKey":"none"},"agiloft_select_records":{"id":"agiloft_select_records","name":"Agiloft Select Records","description":"Select record IDs matching a SQL WHERE clause from an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"where":{"type":"string","required":true,"visibility":"user-or-llm","description":"SQL WHERE clause using database column names (e.g., \\"summary like \'%new%\'\\" or \\"assigned_person=\'John Doe\'\\"). EWSelect has no page size and returns every matching ID, so append a database limit such as \\"limit 0,200\\" to bound the result."}},"hostedApiKey":"none"},"agiloft_update_record":{"id":"agiloft_update_record","name":"Agiloft Update Record","description":"Update an existing record in an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to update"},"data":{"type":"string","required":true,"visibility":"user-or-llm","description":"Updated field values as a JSON object (e.g., {\\"status\\": \\"Active\\", \\"priority\\": \\"High\\"})"}},"hostedApiKey":"none"},"agiloft_upsert_record":{"id":"agiloft_upsert_record","name":"Agiloft Upsert Record","description":"Create an Agiloft record, or update it when a record already matches the given fields.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"match":{"type":"string","required":true,"visibility":"user-or-llm","description":"Field used to find an existing record (e.g., \\"ext_id\\"). Pick something that identifies a record uniquely — if more than one record matches, Agiloft writes nothing and returns a conflict."},"async":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Queue the write instead of waiting for it. Returns a callback ID instead of a record ID; pass that to Async Status to poll the result."},"data":{"type":"string","required":true,"visibility":"user-or-llm","description":"Field values as a JSON object. On create these populate the new record; on update only the supplied fields change."}},"hostedApiKey":"none"},"ahrefs_anchors":{"id":"ahrefs_anchors","name":"Ahrefs Anchors","description":"Get the anchor text distribution for a target domain or URL\'s backlinks, showing how many links and referring domains use each anchor text.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"history":{"type":"string","required":false,"visibility":"user-or-llm","description":"Historical scope: \\"live\\" (currently live), \\"all_time\\" (default, includes lost backlinks), or \\"since:YYYY-MM-DD\\" (backlinks found since a date)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_backlinks":{"id":"ahrefs_backlinks","name":"Ahrefs Backlinks","description":"Get a list of backlinks pointing to a target domain or URL. Returns details about each backlink including source URL, anchor text, and domain rating.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"history":{"type":"string","required":false,"visibility":"user-or-llm","description":"Historical scope: \\"live\\" (currently live backlinks), \\"all_time\\" (default, includes lost backlinks), or \\"since:YYYY-MM-DD\\" (backlinks found since a date)."},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_backlinks_stats":{"id":"ahrefs_backlinks_stats","name":"Ahrefs Backlinks Stats","description":"Get backlink and referring domain totals for a target domain or URL, both currently live and across all time.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_batch_analysis":{"id":"ahrefs_batch_analysis","name":"Ahrefs Batch Analysis","description":"Get bulk SEO metrics (Domain Rating, backlinks, referring domains, organic traffic, and more) for multiple domains or URLs in a single request. Useful for comparing many competitors at once.","version":"1.0.0","params":{"targets":{"type":"string","required":true,"visibility":"user-or-llm","description":"Comma-separated list of domains or URLs to analyze. Example: \\"example.com,competitor.com\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode applied to every target: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"protocol":{"type":"string","required":false,"visibility":"user-or-llm","description":"Protocol applied to every target: \\"both\\" (default), \\"http\\", or \\"https\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for traffic data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"volumeMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search volume calculation: \\"monthly\\" or \\"average\\" (default: \\"monthly\\")"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_broken_backlinks":{"id":"ahrefs_broken_backlinks","name":"Ahrefs Broken Backlinks","description":"Get a list of broken backlinks pointing to a target domain or URL. Useful for identifying link reclamation opportunities.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_domain_rating":{"id":"ahrefs_domain_rating","name":"Ahrefs Domain Rating","description":"Get the Domain Rating (DR) and Ahrefs Rank for a target domain. Domain Rating shows the strength of a website\'s backlink profile on a scale from 0 to 100.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain to analyze (e.g., example.com)"},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date for historical data in YYYY-MM-DD format (defaults to today)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_domain_rating_history":{"id":"ahrefs_domain_rating_history","name":"Ahrefs Domain Rating History","description":"Get the historical Domain Rating (DR) trend for a target domain or URL over a date range, grouped daily, weekly, or monthly.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"dateFrom":{"type":"string","required":true,"visibility":"user-only","description":"Start date of the historical period, in YYYY-MM-DD format"},"dateTo":{"type":"string","required":false,"visibility":"user-only","description":"End date of the historical period, in YYYY-MM-DD format (defaults to today)"},"historyGrouping":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval for grouping data points: \\"daily\\", \\"weekly\\", or \\"monthly\\" (default: \\"monthly\\")"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_keyword_overview":{"id":"ahrefs_keyword_overview","name":"Ahrefs Keyword Overview","description":"Get detailed metrics for a keyword including search volume, keyword difficulty, CPC, clicks, and traffic potential.","version":"1.0.0","params":{"keyword":{"type":"string","required":true,"visibility":"user-or-llm","description":"The keyword to analyze"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for keyword data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_keywords_history":{"id":"ahrefs_keywords_history","name":"Ahrefs Keywords History","description":"Get the historical organic keyword ranking distribution for a target domain or URL over a date range: how many keywords rank in each position bucket at each point in time.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"dateFrom":{"type":"string","required":true,"visibility":"user-only","description":"Start date of the historical period, in YYYY-MM-DD format"},"dateTo":{"type":"string","required":false,"visibility":"user-only","description":"End date of the historical period, in YYYY-MM-DD format (defaults to today)"},"historyGrouping":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval for grouping data points: \\"daily\\", \\"weekly\\", or \\"monthly\\" (default: \\"monthly\\")"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for search results. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_metrics":{"id":"ahrefs_metrics","name":"Ahrefs Metrics","description":"Get a one-call organic and paid search overview for a target domain or URL: organic traffic, organic keywords, paid traffic, paid keywords, and estimated traffic cost.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for traffic data. Example: \\"us\\", \\"gb\\", \\"de\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_metrics_history":{"id":"ahrefs_metrics_history","name":"Ahrefs Metrics History","description":"Get the historical organic and paid traffic trend for a target domain or URL over a date range: organic traffic/cost and paid traffic/cost at each point in time.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"dateFrom":{"type":"string","required":true,"visibility":"user-only","description":"Start date of the historical period, in YYYY-MM-DD format"},"dateTo":{"type":"string","required":false,"visibility":"user-only","description":"End date of the historical period, in YYYY-MM-DD format (defaults to today)"},"volumeMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search volume calculation: \\"monthly\\" or \\"average\\" (default: \\"monthly\\")"},"historyGrouping":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval for grouping data points: \\"daily\\", \\"weekly\\", or \\"monthly\\" (default: \\"monthly\\")"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for traffic data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_organic_competitors":{"id":"ahrefs_organic_competitors","name":"Ahrefs Organic Competitors","description":"Get domains that compete with a target domain or URL for the same organic keywords, ranked by keyword overlap.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for search results. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_organic_keywords":{"id":"ahrefs_organic_keywords","name":"Ahrefs Organic Keywords","description":"Get organic keywords that a target domain or URL ranks for in Google search results. Returns keyword details including search volume, ranking position, and estimated traffic.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for search results. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_paid_pages":{"id":"ahrefs_paid_pages","name":"Ahrefs Paid Pages","description":"Get a target domain\'s pages that receive paid search traffic, sorted by estimated paid traffic. Returns page URLs with their paid traffic, keyword counts, and estimated spend.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for traffic data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_rank_tracker_competitors_overview":{"id":"ahrefs_rank_tracker_competitors_overview","name":"Ahrefs Rank Tracker Competitors Overview","description":"Get competitor rankings for the keywords tracked in an Ahrefs Rank Tracker project: each tracked keyword\'s volume and difficulty alongside every competitor\'s position, traffic, and traffic value. This endpoint is free and does not consume API units.","version":"1.0.0","params":{"projectId":{"type":"number","required":true,"visibility":"user-or-llm","description":"The Rank Tracker project ID (found in the project URL in Ahrefs)"},"date":{"type":"string","required":true,"visibility":"user-only","description":"Date to report rankings for, in YYYY-MM-DD format"},"device":{"type":"string","required":true,"visibility":"user-or-llm","description":"Rankings device type: \\"desktop\\" or \\"mobile\\""},"dateCompared":{"type":"string","required":false,"visibility":"user-only","description":"Comparison date in YYYY-MM-DD format, to compute position/traffic deltas"},"volumeMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search volume calculation: \\"monthly\\" or \\"average\\" (default: \\"monthly\\")"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_rank_tracker_competitors_stats":{"id":"ahrefs_rank_tracker_competitors_stats","name":"Ahrefs Rank Tracker Competitors Stats","description":"Get aggregate competitor stats for an Ahrefs Rank Tracker project: each competitor\'s traffic, traffic value, average position, and share of voice across all tracked keywords. This endpoint is free and does not consume API units.","version":"1.0.0","params":{"projectId":{"type":"number","required":true,"visibility":"user-or-llm","description":"The Rank Tracker project ID (found in the project URL in Ahrefs)"},"date":{"type":"string","required":true,"visibility":"user-only","description":"Date to report metrics for, in YYYY-MM-DD format"},"device":{"type":"string","required":true,"visibility":"user-or-llm","description":"Rankings device type: \\"desktop\\" or \\"mobile\\""},"volumeMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search volume calculation: \\"monthly\\" or \\"average\\" (default: \\"monthly\\")"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_rank_tracker_overview":{"id":"ahrefs_rank_tracker_overview","name":"Ahrefs Rank Tracker Overview","description":"Get ranking overview metrics for the keywords tracked in an Ahrefs Rank Tracker project: position, search volume, keyword difficulty, and estimated traffic. This endpoint is free and does not consume API units.","version":"1.0.0","params":{"projectId":{"type":"number","required":true,"visibility":"user-or-llm","description":"The Rank Tracker project ID (found in the project URL in Ahrefs)"},"date":{"type":"string","required":true,"visibility":"user-only","description":"Date to report rankings for, in YYYY-MM-DD format"},"device":{"type":"string","required":true,"visibility":"user-or-llm","description":"Rankings device type: \\"desktop\\" or \\"mobile\\""},"dateCompared":{"type":"string","required":false,"visibility":"user-only","description":"Comparison date in YYYY-MM-DD format, to compute position/traffic deltas"},"volumeMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search volume calculation: \\"monthly\\" or \\"average\\" (default: \\"monthly\\")"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_rank_tracker_serp_overview":{"id":"ahrefs_rank_tracker_serp_overview","name":"Ahrefs Rank Tracker SERP Overview","description":"Get the full SERP (search engine results page) for a keyword tracked in an Ahrefs Rank Tracker project, including every ranking URL with its position, title, and authority metrics. This endpoint is free and does not consume API units.","version":"1.0.0","params":{"projectId":{"type":"number","required":true,"visibility":"user-or-llm","description":"The Rank Tracker project ID (found in the project URL in Ahrefs)"},"keyword":{"type":"string","required":true,"visibility":"user-or-llm","description":"The tracked keyword to retrieve SERP data for"},"country":{"type":"string","required":true,"visibility":"user-or-llm","description":"Country code for the tracked keyword. Example: \\"us\\", \\"gb\\", \\"de\\""},"device":{"type":"string","required":true,"visibility":"user-or-llm","description":"Rankings device type: \\"desktop\\" or \\"mobile\\""},"topPositions":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of top organic positions to return (defaults to all available)"},"date":{"type":"string","required":false,"visibility":"user-only","description":"Timestamp to return the last available SERP Overview at, in YYYY-MM-DDThh:mm:ss format"},"locationId":{"type":"number","required":false,"visibility":"user-or-llm","description":"Location ID of the tracked keyword, if tracked at a specific location"},"languageCode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Language code of the tracked keyword"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_refdomains_history":{"id":"ahrefs_refdomains_history","name":"Ahrefs Referring Domains History","description":"Get the historical referring domains trend for a target domain or URL over a date range, grouped daily, weekly, or monthly.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"dateFrom":{"type":"string","required":true,"visibility":"user-only","description":"Start date of the historical period, in YYYY-MM-DD format"},"dateTo":{"type":"string","required":false,"visibility":"user-only","description":"End date of the historical period, in YYYY-MM-DD format (defaults to today)"},"historyGrouping":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval for grouping data points: \\"daily\\", \\"weekly\\", or \\"monthly\\" (default: \\"monthly\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_referring_domains":{"id":"ahrefs_referring_domains","name":"Ahrefs Referring Domains","description":"Get a list of domains that link to a target domain or URL. Returns unique referring domains with their domain rating, backlink counts, and discovery dates.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"history":{"type":"string","required":false,"visibility":"user-or-llm","description":"Historical scope: \\"live\\" (currently live), \\"all_time\\" (default, includes lost domains), or \\"since:YYYY-MM-DD\\" (domains found since a date)."},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_related_terms":{"id":"ahrefs_related_terms","name":"Ahrefs Related Terms","description":"Get keyword ideas related to a seed keyword: terms the same top-ranking pages also rank for (\\"also rank for\\") or also discuss (\\"also talk about\\"), with volume, difficulty, and CPC.","version":"1.0.0","params":{"keyword":{"type":"string","required":true,"visibility":"user-or-llm","description":"The seed keyword to find related terms for"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for keyword data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"terms":{"type":"string","required":false,"visibility":"user-or-llm","description":"Type of related keywords to return: \\"also_rank_for\\", \\"also_talk_about\\", or \\"all\\" (default: \\"all\\")"},"viewFor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Whether to derive related terms from the top 10 or top 100 ranking pages (default: \\"top_10\\")"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_site_audit_page_explorer":{"id":"ahrefs_site_audit_page_explorer","name":"Ahrefs Site Audit Page Explorer","description":"Get crawled pages from an Ahrefs Site Audit project with health and SEO metrics: HTTP status, title, link counts, backlinks, indexability, and traffic. Optionally filter to pages affected by a specific issue.","version":"1.0.0","params":{"projectId":{"type":"number","required":true,"visibility":"user-or-llm","description":"The Site Audit project ID (found in the project URL in Ahrefs)"},"date":{"type":"string","required":false,"visibility":"user-only","description":"Crawl date in YYYY-MM-DDThh:mm:ss format (defaults to the most recent crawl)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to skip, for pagination"},"issueId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Only return pages affected by this issue ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_top_pages":{"id":"ahrefs_top_pages","name":"Ahrefs Top Pages","description":"Get the top pages of a target domain sorted by organic traffic. Returns page URLs with their traffic, keyword counts, and estimated traffic value.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain to analyze. Example: \\"example.com\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for traffic data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"airtable_create_records":{"id":"airtable_create_records","name":"Airtable Create Records","description":"Write new records to an Airtable table","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"records":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of records to create, each with a `fields` object"},"typecast":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"When true, Airtable automatically converts string values to the field type"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_delete_records":{"id":"airtable_delete_records","name":"Airtable Delete Records","description":"Delete one or more records from an Airtable table by ID","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"recordIds":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of record IDs to delete (each starts with \\"rec\\", e.g., [\\"recXXXXXXXXXXXXXX\\"]). Pass a single-element array to delete one record."}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_get_base_schema":{"id":"airtable_get_base_schema","name":"Airtable Get Base Schema","description":"Get the schema of all tables, fields, and views in an Airtable base","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_get_record":{"id":"airtable_get_record","name":"Airtable Get Record","description":"Retrieve a single record from an Airtable table by its ID","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Record ID to retrieve (starts with \\"rec\\", e.g., \\"recXXXXXXXXXXXXXX\\")"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_list_bases":{"id":"airtable_list_bases","name":"Airtable List Bases","description":"List all bases the authenticated user has access to","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"offset":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination offset for retrieving additional bases"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_list_records":{"id":"airtable_list_records","name":"Airtable List Records","description":"Read records from an Airtable table","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"maxRecords":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of records to return (default: all records)"},"filterFormula":{"type":"string","required":false,"visibility":"user-or-llm","description":"Formula to filter records (e.g., \\"({Field Name} = \'Value\')\\")"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_list_tables":{"id":"airtable_list_tables","name":"Airtable List Tables","description":"List all tables and their schema in an Airtable base","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_update_multiple_records":{"id":"airtable_update_multiple_records","name":"Airtable Update Multiple Records","description":"Update multiple existing records in an Airtable table","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"records":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of records to update, each with an `id` and a `fields` object"},"typecast":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"When true, Airtable automatically converts string values to the field type"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_update_record":{"id":"airtable_update_record","name":"Airtable Update Record","description":"Update an existing record in an Airtable table by ID","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Record ID to update (starts with \\"rec\\", e.g., \\"recXXXXXXXXXXXXXX\\")"},"fields":{"type":"json","required":true,"visibility":"user-or-llm","description":"An object containing the field names and their new values"},"typecast":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"When true, Airtable automatically converts string values to the field type"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_upsert_records":{"id":"airtable_upsert_records","name":"Airtable Upsert Records","description":"Update existing records or create new ones in an Airtable table, matching on the specified merge fields","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"records":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of records to upsert, each with a `fields` object"},"fieldsToMergeOn":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of field names used to match existing records (max 3). A record is updated when all merge fields match, otherwise it is created. Example: [\\"Name\\"]"},"typecast":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"When true, Airtable automatically converts string values to the field type"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airweave_search":{"id":"airweave_search","name":"Airweave Search","description":"Search your synced data collections using Airweave. Supports semantic search with hybrid, neural, or keyword retrieval strategies. Optionally generate AI-powered answers from search results.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Airweave API Key for authentication"},"collectionId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The readable ID of the collection to search"},"query":{"type":"string","required":true,"visibility":"user-or-llm","description":"The search query text"},"limit":{"type":"number","required":false,"visibility":"user-only","description":"Maximum number of results to return (default: 100)"},"retrievalStrategy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Retrieval strategy: hybrid (default), neural, or keyword"},"expandQuery":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Generate query variations to improve recall"},"rerank":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Reorder results for improved relevance using LLM"},"generateAnswer":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Generate a natural-language answer to the query"}},"hostedApiKey":"none"},"algolia_add_record":{"id":"algolia_add_record","name":"Algolia Add Record","description":"Add or replace a record in an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"objectID":{"type":"string","required":false,"visibility":"user-or-llm","description":"Object ID for the record (auto-generated if not provided)"},"record":{"type":"json","required":true,"visibility":"user-or-llm","description":"JSON object representing the record to add"}},"hostedApiKey":"none"},"algolia_batch_operations":{"id":"algolia_batch_operations","name":"Algolia Batch Operations","description":"Perform batch add, update, partial update, or delete operations on records in an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"requests":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of batch operations. Each item has \\"action\\" (addObject, updateObject, partialUpdateObject, partialUpdateObjectNoCreate, deleteObject, delete, clear) and \\"body\\" (the record data; must include objectID for update/delete; use an empty object {} for the index-level delete/clear actions)"}},"hostedApiKey":"none"},"algolia_browse_records":{"id":"algolia_browse_records","name":"Algolia Browse Records","description":"Browse and iterate over all records in an Algolia index using cursor pagination","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key (must have browse ACL)"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index to browse"},"query":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search query to filter browsed records"},"filters":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter string to narrow down results"},"attributesToRetrieve":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of attributes to retrieve"},"hitsPerPage":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of hits per page (default: 1000, max: 1000)"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous browse response for pagination"},"aroundLatLng":{"type":"string","required":false,"visibility":"user-or-llm","description":"Coordinates for geo-search (e.g., \\"40.71,-74.01\\")"},"aroundRadius":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum radius in meters for geo-search, or \\"all\\" for unlimited"},"insideBoundingBox":{"type":"json","required":false,"visibility":"user-or-llm","description":"Bounding box coordinates as [[lat1, lng1, lat2, lng2]] for geo-search"},"insidePolygon":{"type":"json","required":false,"visibility":"user-or-llm","description":"Polygon coordinates as [[lat1, lng1, lat2, lng2, lat3, lng3, ...]] for geo-search"}},"hostedApiKey":"none"},"algolia_clear_records":{"id":"algolia_clear_records","name":"Algolia Clear Records","description":"Clear all records from an Algolia index while keeping settings, synonyms, and rules","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key (must have deleteIndex ACL)"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index to clear"}},"hostedApiKey":"none"},"algolia_copy_move_index":{"id":"algolia_copy_move_index","name":"Algolia Copy/Move Index","description":"Copy or move an Algolia index to a new destination","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the source index"},"operation":{"type":"string","required":true,"visibility":"user-or-llm","description":"Operation to perform: \\"copy\\" or \\"move\\""},"destination":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the destination index"},"scope":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of scopes to copy (only for \\"copy\\" operation): [\\"settings\\", \\"synonyms\\", \\"rules\\"]. Omit to copy everything including records."}},"hostedApiKey":"none"},"algolia_delete_by_filter":{"id":"algolia_delete_by_filter","name":"Algolia Delete By Filter","description":"Delete all records matching a filter from an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key (must have deleteIndex ACL)"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"filters":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter expression to match records for deletion (e.g., \\"category:outdated\\")"},"facetFilters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of facet filters (e.g., [\\"brand:Acme\\"])"},"numericFilters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of numeric filters (e.g., [\\"price > 100\\"])"},"tagFilters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of tag filters using the _tags attribute (e.g., [\\"published\\"])"},"aroundLatLng":{"type":"string","required":false,"visibility":"user-or-llm","description":"Coordinates for geo-search filter (e.g., \\"40.71,-74.01\\")"},"aroundRadius":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum radius in meters for geo-search, or \\"all\\" for unlimited"},"insideBoundingBox":{"type":"json","required":false,"visibility":"user-or-llm","description":"Bounding box coordinates as [[lat1, lng1, lat2, lng2]] for geo-search filter"},"insidePolygon":{"type":"json","required":false,"visibility":"user-or-llm","description":"Polygon coordinates as [[lat1, lng1, lat2, lng2, lat3, lng3, ...]] for geo-search filter"}},"hostedApiKey":"none"},"algolia_delete_index":{"id":"algolia_delete_index","name":"Algolia Delete Index","description":"Delete an entire Algolia index and all its records","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key (must have deleteIndex ACL)"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index to delete"}},"hostedApiKey":"none"},"algolia_delete_record":{"id":"algolia_delete_record","name":"Algolia Delete Record","description":"Delete a record by objectID from an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"objectID":{"type":"string","required":true,"visibility":"user-or-llm","description":"The objectID of the record to delete"}},"hostedApiKey":"none"},"algolia_get_record":{"id":"algolia_get_record","name":"Algolia Get Record","description":"Get a record by objectID from an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"objectID":{"type":"string","required":true,"visibility":"user-or-llm","description":"The objectID of the record to retrieve"},"attributesToRetrieve":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of attributes to retrieve"}},"hostedApiKey":"none"},"algolia_get_records":{"id":"algolia_get_records","name":"Algolia Get Records","description":"Retrieve multiple records by objectID from one or more Algolia indices","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Default index name for all requests"},"requests":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of objects specifying records to retrieve. Each must have \\"objectID\\" and optionally \\"indexName\\" and \\"attributesToRetrieve\\"."}},"hostedApiKey":"none"},"algolia_get_settings":{"id":"algolia_get_settings","name":"Algolia Get Settings","description":"Retrieve the settings of an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"}},"hostedApiKey":"none"},"algolia_get_task_status":{"id":"algolia_get_task_status","name":"Algolia Get Task Status","description":"Check whether an Algolia indexing task has finished publishing","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index the task ran against"},"taskID":{"type":"number","required":true,"visibility":"user-or-llm","description":"The taskID returned by a previous write operation"}},"hostedApiKey":"none"},"algolia_list_indices":{"id":"algolia_list_indices","name":"Algolia List Indices","description":"List all indices in an Algolia application","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for paginating indices (default: not paginated)"},"hitsPerPage":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of indices per page (default: 100)"}},"hostedApiKey":"none"},"algolia_partial_update_record":{"id":"algolia_partial_update_record","name":"Algolia Partial Update Record","description":"Partially update a record in an Algolia index without replacing it entirely","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"objectID":{"type":"string","required":true,"visibility":"user-or-llm","description":"The objectID of the record to update"},"attributes":{"type":"json","required":true,"visibility":"user-or-llm","description":"JSON object with attributes to update. Supports built-in operations like {\\"stock\\": {\\"_operation\\": \\"Decrement\\", \\"value\\": 1}}"},"createIfNotExists":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Whether to create the record if it does not exist (default: true)"}},"hostedApiKey":"none"},"algolia_search":{"id":"algolia_search","name":"Algolia Search","description":"Search an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index to search"},"query":{"type":"string","required":true,"visibility":"user-or-llm","description":"Search query text"},"hitsPerPage":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of hits per page (default: 20)"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number to retrieve (default: 0)"},"filters":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter string (e.g., \\"category:electronics AND price < 100\\")"},"attributesToRetrieve":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of attributes to retrieve"},"facets":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of facet attribute names to retrieve counts for (use \\"*\\" for all)"},"getRankingInfo":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Whether to include detailed ranking information in each hit"},"aroundLatLng":{"type":"string","required":false,"visibility":"user-or-llm","description":"Coordinates for geo-search (e.g., \\"40.71,-74.01\\")"},"aroundRadius":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum radius in meters for geo-search, or \\"all\\" for unlimited"},"insideBoundingBox":{"type":"json","required":false,"visibility":"user-or-llm","description":"Bounding box coordinates as [[lat1, lng1, lat2, lng2]] for geo-search"},"insidePolygon":{"type":"json","required":false,"visibility":"user-or-llm","description":"Polygon coordinates as [[lat1, lng1, lat2, lng2, lat3, lng3, ...]] for geo-search"}},"hostedApiKey":"none"},"algolia_update_settings":{"id":"algolia_update_settings","name":"Algolia Update Settings","description":"Update the settings of an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key (must have editSettings ACL)"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"settings":{"type":"json","required":true,"visibility":"user-or-llm","description":"JSON object with settings to update (e.g., {\\"searchableAttributes\\": [\\"name\\", \\"description\\"], \\"customRanking\\": [\\"desc(popularity)\\"]})"},"forwardToReplicas":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Whether to apply changes to replica indices (default: false)"}},"hostedApiKey":"none"},"amplitude_event_segmentation":{"id":"amplitude_event_segmentation","name":"Amplitude Event Segmentation","description":"Query event analytics data with segmentation. Get event counts, uniques, averages, and more.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"eventType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Event type name to analyze"},"start":{"type":"string","required":true,"visibility":"user-or-llm","description":"Start date in YYYYMMDD format"},"end":{"type":"string","required":true,"visibility":"user-or-llm","description":"End date in YYYYMMDD format"},"metric":{"type":"string","required":false,"visibility":"user-or-llm","description":"Metric type: uniques, totals, pct_dau, average, histogram, sums, value_avg, or formula (default: uniques)"},"interval":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval: 1 (daily), 7 (weekly), or 30 (monthly)"},"groupBy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Property name to group by (prefix custom user properties with \\"gp:\\")"},"groupBy2":{"type":"string","required":false,"visibility":"user-or-llm","description":"Second property name to group by (prefix custom user properties with \\"gp:\\")"},"limit":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum number of group-by values (max 1000)"},"filters":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON array of filter objects applied to the event, e.g. [{\\"subprop_type\\":\\"event\\",\\"subprop_key\\":\\"city\\",\\"subprop_op\\":\\"is\\",\\"subprop_value\\":[\\"San Francisco\\"]}]"},"formula":{"type":"string","required":false,"visibility":"user-or-llm","description":"Required when metric is \\"formula\\", e.g. \\"UNIQUES(A)/UNIQUES(B)\\""},"segment":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON segment definition(s) applied to the query"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_funnels":{"id":"amplitude_funnels","name":"Amplitude Funnels","description":"Analyze conversion rates and drop-off between a sequence of events.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"events":{"type":"string","required":true,"visibility":"user-or-llm","description":"JSON array of event objects, one per funnel step in order, e.g. [{\\"event_type\\":\\"signup\\"},{\\"event_type\\":\\"purchase\\"}]"},"start":{"type":"string","required":true,"visibility":"user-or-llm","description":"Start date in YYYYMMDD format"},"end":{"type":"string","required":true,"visibility":"user-or-llm","description":"End date in YYYYMMDD format"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Funnel ordering: \\"ordered\\", \\"unordered\\", or \\"sequential\\" (default: ordered)"},"userType":{"type":"string","required":false,"visibility":"user-or-llm","description":"User type: \\"new\\" or \\"active\\" (default: active)"},"interval":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval: -300000 (real-time), -3600000 (hourly), 1 (daily), 7 (weekly), or 30 (monthly)"},"conversionWindowSeconds":{"type":"string","required":false,"visibility":"user-or-llm","description":"Conversion window in seconds (default: 2592000, i.e. 30 days)"},"groupBy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Property to group by (limit: one; prefix custom properties with \\"gp:\\")"},"limit":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum number of group-by values (default: 100, max: 1000)"},"segment":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON segment definition(s) applied to the query"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_get_active_users":{"id":"amplitude_get_active_users","name":"Amplitude Get Active Users","description":"Get active or new user counts over a date range from the Dashboard REST API.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"start":{"type":"string","required":true,"visibility":"user-or-llm","description":"Start date in YYYYMMDD format"},"end":{"type":"string","required":true,"visibility":"user-or-llm","description":"End date in YYYYMMDD format"},"metric":{"type":"string","required":false,"visibility":"user-or-llm","description":"Metric type: \\"active\\" or \\"new\\" (default: active)"},"interval":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval: 1 (daily), 7 (weekly), or 30 (monthly)"},"groupBy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Property name to group by"},"segment":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON segment definition(s) applied to the query"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_get_revenue":{"id":"amplitude_get_revenue","name":"Amplitude Get Revenue","description":"Get revenue LTV data including ARPU, ARPPU, total revenue, and paying user counts.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"start":{"type":"string","required":true,"visibility":"user-or-llm","description":"Start date in YYYYMMDD format"},"end":{"type":"string","required":true,"visibility":"user-or-llm","description":"End date in YYYYMMDD format"},"metric":{"type":"string","required":false,"visibility":"user-or-llm","description":"Metric: 0 (ARPU), 1 (ARPPU), 2 (Total Revenue), 3 (Paying Users)"},"interval":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval: 1 (daily), 7 (weekly), or 30 (monthly)"},"groupBy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Property name to group by (limit: one)"},"segment":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON segment definition(s) applied to the query"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_group_identify":{"id":"amplitude_group_identify","name":"Amplitude Group Identify","description":"Set group-level properties in Amplitude. Supports $set, $setOnce, $add, $append, $unset operations.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"groupType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Group classification (e.g., \\"company\\", \\"org_id\\")"},"groupValue":{"type":"string","required":true,"visibility":"user-or-llm","description":"Specific group identifier (e.g., \\"Acme Corp\\")"},"groupProperties":{"type":"string","required":true,"visibility":"user-or-llm","description":"JSON object of group properties. Use operations like $set, $setOnce, $add, $append, $unset."},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_identify_user":{"id":"amplitude_identify_user","name":"Amplitude Identify User","description":"Set user properties in Amplitude using the Identify API. Supports $set, $setOnce, $add, $append, $unset operations.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"userId":{"type":"string","required":false,"visibility":"user-or-llm","description":"User ID (required if no device_id)"},"deviceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Device ID (required if no user_id)"},"userProperties":{"type":"string","required":true,"visibility":"user-or-llm","description":"JSON object of user properties. Use operations like $set, $setOnce, $add, $append, $unset."},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_list_events":{"id":"amplitude_list_events","name":"Amplitude List Events","description":"List all event types in the Amplitude project with their weekly totals and unique counts.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_realtime_active_users":{"id":"amplitude_realtime_active_users","name":"Amplitude Real-time Active Users","description":"Get real-time active user counts at 5-minute granularity for the last 2 days.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_retention":{"id":"amplitude_retention","name":"Amplitude Retention","description":"Measure how many users return to perform an action after a starting action.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"startEvent":{"type":"string","required":true,"visibility":"user-or-llm","description":"JSON starting event object, e.g. {\\"event_type\\":\\"_new\\"} or {\\"event_type\\":\\"_active\\"}"},"returnEvent":{"type":"string","required":true,"visibility":"user-or-llm","description":"JSON returning event object, e.g. {\\"event_type\\":\\"_all\\"} or {\\"event_type\\":\\"_active\\"}"},"start":{"type":"string","required":true,"visibility":"user-or-llm","description":"Start date in YYYYMMDD format"},"end":{"type":"string","required":true,"visibility":"user-or-llm","description":"End date in YYYYMMDD format"},"retentionMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Retention type: \\"bracket\\", \\"rolling\\", or \\"n-day\\" (default: n-day)"},"retentionBrackets":{"type":"string","required":false,"visibility":"user-or-llm","description":"Required when Retention Mode is \\"bracket\\". Day ranges, e.g. [[0,4]]"},"interval":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval: 1 (daily), 7 (weekly), or 30 (monthly)"},"groupBy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Property to group by (limit: one; prefix custom properties with \\"gp:\\")"},"segment":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON segment definition(s) applied to the query"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_send_event":{"id":"amplitude_send_event","name":"Amplitude Send Event","description":"Track an event in Amplitude using the HTTP V2 API.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"userId":{"type":"string","required":false,"visibility":"user-or-llm","description":"User ID (required if no device_id)"},"deviceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Device ID (required if no user_id)"},"eventType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the event (e.g., \\"page_view\\", \\"purchase\\")"},"eventProperties":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON object of custom event properties"},"userProperties":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON object of user properties to set (supports $set, $setOnce, $add, $append, $unset)"},"time":{"type":"string","required":false,"visibility":"user-or-llm","description":"Event timestamp in milliseconds since epoch"},"sessionId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Session start time in milliseconds since epoch"},"insertId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Unique ID for deduplication (within 7-day window)"},"appVersion":{"type":"string","required":false,"visibility":"user-or-llm","description":"Application version string"},"platform":{"type":"string","required":false,"visibility":"user-or-llm","description":"Platform (e.g., \\"Web\\", \\"iOS\\", \\"Android\\")"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Two-letter country code"},"language":{"type":"string","required":false,"visibility":"user-or-llm","description":"Language code (e.g., \\"en\\")"},"ip":{"type":"string","required":false,"visibility":"user-or-llm","description":"IP address for geo-location"},"price":{"type":"string","required":false,"visibility":"user-or-llm","description":"Price of the item purchased"},"quantity":{"type":"string","required":false,"visibility":"user-or-llm","description":"Quantity of items purchased"},"revenue":{"type":"string","required":false,"visibility":"user-or-llm","description":"Revenue amount"},"productId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Product identifier"},"revenueType":{"type":"string","required":false,"visibility":"user-or-llm","description":"Revenue type (e.g., \\"purchase\\", \\"refund\\")"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_user_activity":{"id":"amplitude_user_activity","name":"Amplitude User Activity","description":"Get the event stream for a specific user by their Amplitude ID.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"amplitudeId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Amplitude internal user ID"},"offset":{"type":"string","required":false,"visibility":"user-or-llm","description":"Offset for pagination (default 0)"},"limit":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum number of events to return (default 1000, max 1000)"},"direction":{"type":"string","required":false,"visibility":"user-or-llm","description":"Sort direction: \\"latest\\" or \\"earliest\\" (default: latest)"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_user_profile":{"id":"amplitude_user_profile","name":"Amplitude User Profile","description":"Get a user profile including properties, cohort memberships, and computed properties. Not available for EU data-residency projects.","version":"1.0.0","params":{"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"userId":{"type":"string","required":false,"visibility":"user-or-llm","description":"External user ID (required if no device_id)"},"deviceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Device ID (required if no user_id)"},"getAmpProps":{"type":"string","required":false,"visibility":"user-or-llm","description":"Include Amplitude user properties (true/false, default: false)"},"getCohortIds":{"type":"string","required":false,"visibility":"user-or-llm","description":"Include cohort IDs the user belongs to (true/false, default: false)"},"getComputations":{"type":"string","required":false,"visibility":"user-or-llm","description":"Include computed user properties (true/false, default: false)"}},"hostedApiKey":"none"},"amplitude_user_search":{"id":"amplitude_user_search","name":"Amplitude User Search","description":"Search for a user by User ID, Device ID, or Amplitude ID using the Dashboard REST API.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"user":{"type":"string","required":true,"visibility":"user-or-llm","description":"User ID, Device ID, or Amplitude ID to search for"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"apify_get_dataset_items":{"id":"apify_get_dataset_items","name":"APIFY Get Dataset Items","description":"Retrieve items stored in an APIFY dataset","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"APIFY API token from console.apify.com/account#/integrations"},"datasetId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Dataset ID to read items from. Example: \\"9RnD3Pql2vGZkc5H5\\""},"itemLimit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Max items to return (1-250000). Default: all items. Example: 500"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to skip at the start. Default: 0"},"fields":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of fields to include. Example: \\"title,url,price\\""}},"hostedApiKey":"none"},"apify_get_run":{"id":"apify_get_run","name":"APIFY Get Run","description":"Get the status and details of an APIFY actor run","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"APIFY API token from console.apify.com/account#/integrations"},"runId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Actor run ID to fetch. Example: \\"HG7ML7M8z78YcAPEB\\""}},"hostedApiKey":"none"},"apify_run_actor_async":{"id":"apify_run_actor_async","name":"APIFY Run Actor (Async)","description":"Run an APIFY actor asynchronously with polling for long-running tasks","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"APIFY API token from console.apify.com/account#/integrations"},"actorId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Actor ID or username/actor-name. Examples: \\"apify/web-scraper\\", \\"janedoe/my-actor\\", \\"moJRLRc85AitArpNN\\""},"input":{"type":"string","required":false,"visibility":"user-or-llm","description":"Actor input as JSON string. Example: {\\"startUrls\\": [{\\"url\\": \\"https://example.com\\"}], \\"maxPages\\": 10}"},"waitForFinish":{"type":"number","required":false,"visibility":"user-or-llm","description":"Initial wait time in seconds (0-60) before polling starts. Example: 30"},"itemLimit":{"type":"number","required":false,"default":100,"visibility":"user-or-llm","description":"Max dataset items to fetch (1-250000). Default: 100. Example: 500"},"memory":{"type":"number","required":false,"visibility":"user-or-llm","description":"Memory in megabytes allocated for the actor run (128-32768). Example: 1024 for 1GB, 2048 for 2GB"},"timeout":{"type":"number","required":false,"visibility":"user-or-llm","description":"Timeout in seconds for the actor run. Example: 300 for 5 minutes, 3600 for 1 hour"},"build":{"type":"string","required":false,"visibility":"user-or-llm","description":"Actor build to run. Examples: \\"latest\\", \\"beta\\", \\"1.2.3\\", \\"build-tag-name\\""}},"hostedApiKey":"none"},"apify_run_actor_sync":{"id":"apify_run_actor_sync","name":"APIFY Run Actor (Sync)","description":"Run an APIFY actor synchronously and get results (max 5 minutes)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"APIFY API token from console.apify.com/account#/integrations"},"actorId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Actor ID or username/actor-name. Examples: \\"apify/web-scraper\\", \\"janedoe/my-actor\\", \\"moJRLRc85AitArpNN\\""},"input":{"type":"string","required":false,"visibility":"user-or-llm","description":"Actor input as JSON string. Example: {\\"startUrls\\": [{\\"url\\": \\"https://example.com\\"}], \\"maxPages\\": 10}"},"memory":{"type":"number","required":false,"visibility":"user-or-llm","description":"Memory in megabytes allocated for the actor run (128-32768). Example: 1024 for 1GB, 2048 for 2GB"},"timeout":{"type":"number","required":false,"visibility":"user-or-llm","description":"Timeout in seconds for the actor run. Example: 300 for 5 minutes, 3600 for 1 hour"},"build":{"type":"string","required":false,"visibility":"user-or-llm","description":"Actor build to run. Examples: \\"latest\\", \\"beta\\", \\"1.2.3\\", \\"build-tag-name\\""}},"hostedApiKey":"none"},"apify_run_task":{"id":"apify_run_task","name":"APIFY Run Task","description":"Run a saved APIFY actor task synchronously and get dataset items (max 5 minutes)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"APIFY API token from console.apify.com/account#/integrations"},"taskId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Task ID or username/task-name. Examples: \\"janedoe/my-task\\", \\"moJRLRc85AitArpNN\\""},"input":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON string that overrides the task\'s saved input. Example: {\\"startUrls\\": [{\\"url\\": \\"https://example.com\\"}]}"},"itemLimit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Max dataset items to return (1-250000). Example: 500"},"memory":{"type":"number","required":false,"visibility":"user-or-llm","description":"Memory in megabytes allocated for the run (128-32768). Example: 1024 for 1GB"},"timeout":{"type":"number","required":false,"visibility":"user-or-llm","description":"Timeout in seconds for the run. Example: 300 for 5 minutes"},"build":{"type":"string","required":false,"visibility":"user-or-llm","description":"Actor build to run. Examples: \\"latest\\", \\"beta\\", \\"1.2.3\\""}},"hostedApiKey":"none"},"apollo_account_bulk_create":{"id":"apollo_account_bulk_create","name":"Apollo Bulk Create Accounts","description":"Create up to 100 accounts at once in your Apollo database. Set run_dedupe=true to deduplicate by domain, organization_id, and name. Master key required.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"accounts":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of accounts to create (max 100). Each account should include a name, and may optionally include domain, phone, phone_status_cd, raw_address, owner_id, linkedin_url, facebook_url, twitter_url, salesforce_id, and hubspot_id."},"append_label_names":{"type":"array","required":false,"visibility":"user-only","description":"Array of label names to add to ALL accounts in this request"},"run_dedupe":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"When true, performs aggressive deduplication by domain, organization_id, and name (defaults to false)"}},"hostedApiKey":"none"},"apollo_account_bulk_update":{"id":"apollo_account_bulk_update","name":"Apollo Bulk Update Accounts","description":"Update up to 1000 existing accounts at once in your Apollo database (higher limit than contacts!). Each account must include an id field. Master key required.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"account_ids":{"type":"array","required":false,"visibility":"user-or-llm","description":"Array of account IDs to update with the same values (max 1000). Use with name/owner_id for uniform updates. Use either this OR account_attributes."},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"When using account_ids, apply this name to all accounts"},"owner_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"When using account_ids, apply this owner to all accounts"},"account_stage_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"When using account_ids, apply this account stage to all accounts"},"account_attributes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of account objects with individual updates (each must include id). Example: [{\\"id\\": \\"acc1\\", \\"name\\": \\"Acme\\", \\"owner_id\\": \\"u1\\", \\"account_stage_id\\": \\"s1\\", \\"typed_custom_fields\\": {\\"field_id\\": \\"value\\"}}]"},"async":{"type":"boolean","required":false,"visibility":"user-only","description":"When true, processes the update asynchronously. Only supported when using account_ids; returns 422 if used with account_attributes."}},"hostedApiKey":"none"},"apollo_account_create":{"id":"apollo_account_create","name":"Apollo Create Account","description":"Create a new account (company) in your Apollo database","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Company name (e.g., \\"Acme Corporation\\")"},"domain":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company domain without www. prefix (e.g., \\"acme.com\\")"},"phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Primary phone number for the account"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"Apollo user ID of the account owner"},"account_stage_id":{"type":"string","required":false,"visibility":"user-only","description":"Apollo ID for the account stage to assign this account to"},"raw_address":{"type":"string","required":false,"visibility":"user-or-llm","description":"Corporate location (e.g., \\"San Francisco, CA, USA\\")"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-only","description":"Custom field values as { custom_field_id: value } map"}},"hostedApiKey":"none"},"apollo_account_search":{"id":"apollo_account_search","name":"Apollo Search Accounts","description":"Search your team\'s accounts in Apollo. Display limit: 50,000 records (100 records per page, 500 pages max). Use filters to narrow results. Master key required.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"q_organization_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter accounts by organization name (partial-match search)"},"account_stage_ids":{"type":"array","required":false,"visibility":"user-only","description":"Filter by account stage IDs"},"account_label_ids":{"type":"array","required":false,"visibility":"user-only","description":"Filter by account label IDs"},"sort_by_field":{"type":"string","required":false,"visibility":"user-or-llm","description":"Sort field: \\"account_last_activity_date\\", \\"account_created_at\\", or \\"account_updated_at\\""},"sort_ascending":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Sort ascending when true. Defaults to descending."},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_account_update":{"id":"apollo_account_update","name":"Apollo Update Account","description":"Update an existing account in your Apollo database","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"account_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the account to update (e.g., \\"acc_abc123\\")"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company name (e.g., \\"Acme Corporation\\")"},"domain":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company domain (e.g., \\"acme.com\\")"},"phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company phone number"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"Apollo user ID of the account owner"},"account_stage_id":{"type":"string","required":false,"visibility":"user-only","description":"Apollo ID for the account stage to assign this account to"},"raw_address":{"type":"string","required":false,"visibility":"user-or-llm","description":"Corporate location (e.g., \\"San Francisco, CA, USA\\")"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-only","description":"Custom field values as { custom_field_id: value } map"}},"hostedApiKey":"none"},"apollo_contact_bulk_create":{"id":"apollo_contact_bulk_create","name":"Apollo Bulk Create Contacts","description":"Create up to 100 contacts at once in your Apollo database. Supports deduplication to prevent creating duplicate contacts. Master key required.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"contacts":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of contacts to create (max 100). Each contact may include first_name, last_name, email, title, organization_name, account_id, owner_id, contact_stage_id, linkedin_url, phone (single string) or phone_numbers (array of {raw_number, position}), contact_emails, typed_custom_fields, and CRM IDs (salesforce_contact_id, hubspot_id, team_id) for cross-system matching"},"append_label_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Label names to add to all contacts in this request (e.g., [\\"Hot Lead\\"])"},"run_dedupe":{"type":"boolean","required":false,"visibility":"user-only","description":"Enable deduplication to prevent creating duplicate contacts. When true, existing contacts are returned without modification"}},"hostedApiKey":"none"},"apollo_contact_bulk_update":{"id":"apollo_contact_bulk_update","name":"Apollo Bulk Update Contacts","description":"Update up to 100 existing contacts at once in your Apollo database. Each contact must include an id field. Master key required.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"contact_ids":{"type":"array","required":false,"visibility":"user-or-llm","description":"Array of contact IDs to update. Must be paired with an object-form contact_attributes specifying the fields to apply uniformly to all listed contacts."},"contact_attributes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Required. Either an array of per-contact updates (each with id) — used standalone — or a single object of attributes to apply to all contact_ids. Supported fields: owner_id, email, organization_name, title, first_name, last_name, account_id, present_raw_address, linkedin_url, typed_custom_fields"},"async":{"type":"boolean","required":false,"visibility":"user-only","description":"Force asynchronous processing. Automatically enabled for >100 contacts"}},"hostedApiKey":"none"},"apollo_contact_create":{"id":"apollo_contact_create","name":"Apollo Create Contact","description":"Create a new contact in your Apollo database","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"first_name":{"type":"string","required":true,"visibility":"user-or-llm","description":"First name of the contact"},"last_name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Last name of the contact"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"Email address of the contact"},"title":{"type":"string","required":false,"visibility":"user-or-llm","description":"Job title (e.g., \\"VP of Sales\\", \\"Software Engineer\\")"},"account_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"Apollo account ID to associate with (e.g., \\"acc_abc123\\")"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"User ID of the contact owner (accepted by Apollo but not officially documented for POST /contacts)"},"organization_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Name of the contact\'s employer (e.g., \\"Apollo\\")"},"website_url":{"type":"string","required":false,"visibility":"user-or-llm","description":"Corporate website URL (e.g., \\"https://www.apollo.io/\\")"},"label_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Lists/labels to add the contact to (e.g., [\\"Prospects\\"])"},"contact_stage_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"Apollo ID for the contact stage"},"present_raw_address":{"type":"string","required":false,"visibility":"user-or-llm","description":"Personal location for the contact (e.g., \\"Atlanta, United States\\")"},"direct_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Primary phone number"},"corporate_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Work/office phone number"},"mobile_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Mobile phone number"},"home_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Home phone number"},"other_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Alternative phone number"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-or-llm","description":"Custom field values keyed by custom field ID"},"run_dedupe":{"type":"boolean","required":false,"visibility":"user-only","description":"When true, Apollo deduplicates against existing contacts"}},"hostedApiKey":"none"},"apollo_contact_search":{"id":"apollo_contact_search","name":"Apollo Search Contacts","description":"Search your team\'s contacts in Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"q_keywords":{"type":"string","required":false,"visibility":"user-or-llm","description":"Keywords to search for"},"contact_stage_ids":{"type":"array","required":false,"visibility":"user-only","description":"Filter by contact stage IDs"},"contact_label_ids":{"type":"array","required":false,"visibility":"user-only","description":"Filter by Apollo label IDs (lists)"},"sort_by_field":{"type":"string","required":false,"visibility":"user-only","description":"Sort field: contact_last_activity_date, contact_email_last_opened_at, contact_email_last_clicked_at, contact_created_at, or contact_updated_at"},"sort_ascending":{"type":"boolean","required":false,"visibility":"user-only","description":"When true, sort ascending. Must be used together with sort_by_field"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_contact_update":{"id":"apollo_contact_update","name":"Apollo Update Contact","description":"Update an existing contact in your Apollo database","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"contact_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the contact to update (e.g., \\"con_abc123\\")"},"first_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"First name of the contact"},"last_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Last name of the contact"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"Email address"},"title":{"type":"string","required":false,"visibility":"user-or-llm","description":"Job title (e.g., \\"VP of Sales\\", \\"Software Engineer\\")"},"account_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"Apollo account ID (e.g., \\"acc_abc123\\")"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"User ID of the contact owner (accepted by Apollo but not officially documented for PATCH /contacts/{id})"},"organization_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Name of the contact\'s employer (e.g., \\"Apollo\\")"},"website_url":{"type":"string","required":false,"visibility":"user-or-llm","description":"Corporate website URL (e.g., \\"https://www.apollo.io/\\")"},"label_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Lists/labels to add the contact to (e.g., [\\"Prospects\\"])"},"contact_stage_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"Apollo ID for the contact stage"},"present_raw_address":{"type":"string","required":false,"visibility":"user-or-llm","description":"Personal location for the contact (e.g., \\"Atlanta, United States\\")"},"direct_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Primary phone number"},"corporate_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Work/office phone number"},"mobile_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Mobile phone number"},"home_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Home phone number"},"other_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Alternative phone number"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-or-llm","description":"Custom field values keyed by custom field ID"}},"hostedApiKey":"none"},"apollo_email_accounts":{"id":"apollo_email_accounts","name":"Apollo Get Email Accounts","description":"Get list of team\'s linked email accounts in Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"}},"hostedApiKey":"none"},"apollo_opportunity_create":{"id":"apollo_opportunity_create","name":"Apollo Create Opportunity","description":"Create a new deal for an account in your Apollo database (master key required)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the opportunity/deal (e.g., \\"Enterprise License - Q1\\")"},"account_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"ID of the account this opportunity belongs to (e.g., \\"acc_abc123\\")"},"amount":{"type":"string","required":false,"visibility":"user-or-llm","description":"Monetary value as a plain number string with no commas or currency symbols"},"opportunity_stage_id":{"type":"string","required":false,"visibility":"user-only","description":"ID of the opportunity stage"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"User ID of the opportunity owner"},"closed_date":{"type":"string","required":false,"visibility":"user-or-llm","description":"Expected close date in YYYY-MM-DD format"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-only","description":"Custom field values as { custom_field_id: value } map"}},"hostedApiKey":"none"},"apollo_opportunity_get":{"id":"apollo_opportunity_get","name":"Apollo Get Opportunity","description":"Retrieve complete details of a specific deal/opportunity by ID","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"opportunity_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the opportunity to retrieve (e.g., \\"opp_abc123\\")"}},"hostedApiKey":"none"},"apollo_opportunity_search":{"id":"apollo_opportunity_search","name":"Apollo Search Opportunities","description":"Search and list all deals/opportunities in your team\'s Apollo account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"sort_by_field":{"type":"string","required":false,"visibility":"user-or-llm","description":"Sort field: \\"amount\\", \\"is_closed\\", or \\"is_won\\""},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_opportunity_update":{"id":"apollo_opportunity_update","name":"Apollo Update Opportunity","description":"Update an existing deal/opportunity in your Apollo database","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"opportunity_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the opportunity to update (e.g., \\"opp_abc123\\")"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Name of the opportunity/deal (e.g., \\"Enterprise License - Q1\\")"},"amount":{"type":"string","required":false,"visibility":"user-or-llm","description":"Monetary value as a plain number string with no commas or currency symbols"},"opportunity_stage_id":{"type":"string","required":false,"visibility":"user-only","description":"ID of the opportunity stage"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"User ID of the opportunity owner"},"closed_date":{"type":"string","required":false,"visibility":"user-or-llm","description":"Expected close date in YYYY-MM-DD format"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-only","description":"Custom field values as { custom_field_id: value } map"}},"hostedApiKey":"none"},"apollo_organization_bulk_enrich":{"id":"apollo_organization_bulk_enrich","name":"Apollo Bulk Organization Enrichment","description":"Enrich data for up to 10 organizations at once using Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"domains":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of company domains to enrich (max 10, no www. or @, e.g., [\\"apollo.io\\", \\"stripe.com\\"])"}},"hostedApiKey":"none"},"apollo_organization_enrich":{"id":"apollo_organization_enrich","name":"Apollo Organization Enrichment","description":"Enrich data for a single organization using Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"domain":{"type":"string","required":true,"visibility":"user-or-llm","description":"Company domain (e.g., \\"apollo.io\\", \\"acme.com\\")"}},"hostedApiKey":"none"},"apollo_organization_search":{"id":"apollo_organization_search","name":"Apollo Organization Search","description":"Search Apollo\'s database for companies using filters","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"organization_locations":{"type":"array","required":false,"visibility":"user-or-llm","description":"Company HQ locations (cities, US states, or countries)"},"organization_not_locations":{"type":"array","required":false,"visibility":"user-or-llm","description":"Exclude companies whose HQ is in these locations"},"organization_num_employees_ranges":{"type":"array","required":false,"visibility":"user-or-llm","description":"Employee count ranges as \\"min,max\\" strings (e.g., [\\"1,10\\", \\"250,500\\", \\"10000,20000\\"])"},"q_organization_keyword_tags":{"type":"array","required":false,"visibility":"user-or-llm","description":"Industry or keyword tags"},"q_organization_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Organization name to search for (e.g., \\"Acme\\", \\"TechCorp\\")"},"organization_ids":{"type":"array","required":false,"visibility":"user-or-llm","description":"Apollo organization IDs to include (e.g., [\\"5e66b6381e05b4008c8331b8\\"])"},"q_organization_domains_list":{"type":"array","required":false,"visibility":"user-or-llm","description":"Domain names to filter by (no www. or @, up to 1,000)"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_people_bulk_enrich":{"id":"apollo_people_bulk_enrich","name":"Apollo Bulk People Enrichment","description":"Enrich data for up to 10 people at once using Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"people":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of people to enrich (max 10)"},"reveal_personal_emails":{"type":"boolean","required":false,"visibility":"user-only","description":"Reveal personal email addresses (uses credits)"},"reveal_phone_number":{"type":"boolean","required":false,"visibility":"user-only","description":"Reveal phone numbers (uses credits, requires webhook_url)"},"webhook_url":{"type":"string","required":false,"visibility":"user-only","description":"Webhook URL for async phone number delivery (required when reveal_phone_number is true)"}},"hostedApiKey":"none"},"apollo_people_enrich":{"id":"apollo_people_enrich","name":"Apollo People Enrichment","description":"Enrich data for a single person using Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"first_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"First name of the person"},"last_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Last name of the person"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Full name of the person (alternative to first_name/last_name)"},"id":{"type":"string","required":false,"visibility":"user-or-llm","description":"Apollo ID for the person"},"hashed_email":{"type":"string","required":false,"visibility":"user-or-llm","description":"MD5 or SHA-256 hashed email"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"Email address of the person"},"organization_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company name where the person works"},"domain":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company domain (e.g., \\"apollo.io\\", \\"acme.com\\")"},"linkedin_url":{"type":"string","required":false,"visibility":"user-or-llm","description":"LinkedIn profile URL"},"reveal_personal_emails":{"type":"boolean","required":false,"visibility":"user-only","description":"Reveal personal email addresses (uses credits)"},"reveal_phone_number":{"type":"boolean","required":false,"visibility":"user-only","description":"Reveal phone numbers (uses credits, requires webhook_url)"},"webhook_url":{"type":"string","required":false,"visibility":"user-only","description":"Webhook URL for async phone number delivery (required when reveal_phone_number is true)"}},"hostedApiKey":"none"},"apollo_people_search":{"id":"apollo_people_search","name":"Apollo People Search","description":"Search Apollo\'s database for people using demographic filters","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"person_titles":{"type":"array","required":false,"visibility":"user-or-llm","description":"Job titles to search for (e.g., [\\"CEO\\", \\"VP of Sales\\"])"},"include_similar_titles":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Whether to return people with job titles similar to person_titles"},"person_locations":{"type":"array","required":false,"visibility":"user-or-llm","description":"Locations to search in (e.g., [\\"San Francisco, CA\\", \\"New York, NY\\"])"},"person_seniorities":{"type":"array","required":false,"visibility":"user-or-llm","description":"Seniority levels (one of: owner, founder, c_suite, partner, vp, head, director, manager, senior, entry, intern)"},"organization_ids":{"type":"array","required":false,"visibility":"user-or-llm","description":"Apollo organization IDs to filter by (e.g., [\\"5e66b6381e05b4008c8331b8\\"])"},"organization_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Company names to search within (legacy filter)"},"organization_locations":{"type":"array","required":false,"visibility":"user-or-llm","description":"Headquarters locations of the people\'s current employer (e.g., [\'texas\', \'tokyo\', \'spain\'])"},"q_organization_domains_list":{"type":"array","required":false,"visibility":"user-or-llm","description":"Employer domain names (e.g., [\\"apollo.io\\", \\"microsoft.com\\"]) — up to 1,000, no www. or @"},"organization_num_employees_ranges":{"type":"array","required":false,"visibility":"user-or-llm","description":"Employee count ranges for the person\'s current employer. Each entry is \\"min,max\\" (e.g., [\\"1,10\\", \\"250,500\\", \\"10000,20000\\"])"},"contact_email_status":{"type":"array","required":false,"visibility":"user-or-llm","description":"Email statuses to filter by: \\"verified\\", \\"unverified\\", \\"likely to engage\\", \\"unavailable\\""},"q_keywords":{"type":"string","required":false,"visibility":"user-or-llm","description":"Keywords to search for"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination, default 1 (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, default 25, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_sequence_add_contacts":{"id":"apollo_sequence_add_contacts","name":"Apollo Add Contacts to Sequence","description":"Add contacts to an Apollo sequence","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"sequence_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the sequence to add contacts to (e.g., \\"seq_abc123\\")"},"contact_ids":{"type":"array","required":false,"visibility":"user-or-llm","description":"Array of contact IDs to add to the sequence (e.g., [\\"con_abc123\\", \\"con_def456\\"]). Either contact_ids or label_names must be provided."},"label_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Array of label names to identify contacts to add to the sequence. Either contact_ids or label_names must be provided."},"send_email_from_email_account_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the email account to send from. Use the Get Email Accounts operation to look this up."},"send_email_from_email_address":{"type":"string","required":false,"visibility":"user-only","description":"Specific email address to send from within the email account."},"sequence_no_email":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts even if they have no email address"},"sequence_unverified_email":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts with unverified email addresses"},"sequence_job_change":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts who recently changed jobs"},"sequence_active_in_other_campaigns":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts active in other campaigns"},"sequence_finished_in_other_campaigns":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts who finished other campaigns"},"sequence_same_company_in_same_campaign":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts even if others from the same company are in the sequence"},"contacts_without_ownership_permission":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts without ownership permission"},"add_if_in_queue":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts even if they are in the queue"},"contact_verification_skipped":{"type":"boolean","required":false,"visibility":"user-only","description":"Skip contact verification when adding"},"user_id":{"type":"string","required":false,"visibility":"user-only","description":"ID of the user performing the action"},"status":{"type":"string","required":false,"visibility":"user-only","description":"Initial status for added contacts: \\"active\\" or \\"paused\\""},"auto_unpause_at":{"type":"string","required":false,"visibility":"user-only","description":"ISO 8601 datetime to automatically unpause contacts"}},"hostedApiKey":"none"},"apollo_sequence_search":{"id":"apollo_sequence_search","name":"Apollo Search Sequences","description":"Search for sequences/campaigns in your team\'s Apollo account (master key required)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"q_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search sequences by name (e.g., \\"Outbound Q1\\", \\"Follow-up\\")"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_task_create":{"id":"apollo_task_create","name":"Apollo Create Task","description":"Create one or more tasks in Apollo (one task per contact_id, master key required)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"user_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the Apollo user the task is assigned to"},"contact_ids":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of contact IDs. One task is created per contact."},"priority":{"type":"string","required":false,"visibility":"user-or-llm","description":"Task priority: \\"high\\", \\"medium\\", or \\"low\\" (defaults to \\"medium\\")"},"due_at":{"type":"string","required":true,"visibility":"user-or-llm","description":"Due date/time in ISO 8601 format (e.g., \\"2024-12-31T23:59:59Z\\")"},"type":{"type":"string","required":true,"visibility":"user-or-llm","description":"Task type: \\"call\\", \\"outreach_manual_email\\", \\"linkedin_step_connect\\", \\"linkedin_step_message\\", \\"linkedin_step_view_profile\\", \\"linkedin_step_interact_post\\", or \\"action_item\\""},"status":{"type":"string","required":true,"visibility":"user-or-llm","description":"Task status: \\"scheduled\\", \\"completed\\", or \\"skipped\\""},"note":{"type":"string","required":false,"visibility":"user-or-llm","description":"Free-form note providing context for the task"}},"hostedApiKey":"none"},"apollo_task_search":{"id":"apollo_task_search","name":"Apollo Search Tasks","description":"Search for tasks in Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"sort_by_field":{"type":"string","required":false,"visibility":"user-or-llm","description":"Sort field: \\"task_due_at\\" or \\"task_priority\\""},"open_factor_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Filter by status. Common values: [\\"task_types\\"] for open tasks, [\\"task_completed_at\\"] for completed tasks."},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"appconfig_create_application":{"id":"appconfig_create_application","name":"AppConfig Create Application","description":"Create an application in AWS AppConfig","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the application to create"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"Description of the application"}},"hostedApiKey":"none"},"appconfig_create_configuration_profile":{"id":"appconfig_create_configuration_profile","name":"AppConfig Create Configuration Profile","description":"Create a configuration profile in an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to create the configuration profile in"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the configuration profile"},"locationUri":{"type":"string","required":true,"visibility":"user-or-llm","description":"Where the configuration is stored. Use \\"hosted\\" for AppConfig-hosted configurations, or an SSM/S3 URI"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"Description of the configuration profile"},"retrievalRoleArn":{"type":"string","required":false,"visibility":"user-or-llm","description":"ARN of an IAM role to retrieve the configuration (required for non-hosted URIs)"},"type":{"type":"string","required":false,"visibility":"user-or-llm","description":"Profile type: AWS.Freeform (default) or AWS.AppConfig.FeatureFlags"}},"hostedApiKey":"none"},"appconfig_create_environment":{"id":"appconfig_create_environment","name":"AppConfig Create Environment","description":"Create an environment for an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to create the environment in"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the environment to create"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"Description of the environment"}},"hostedApiKey":"none"},"appconfig_create_hosted_configuration_version":{"id":"appconfig_create_hosted_configuration_version","name":"AppConfig Create Hosted Configuration Version","description":"Create a new hosted configuration version for an AppConfig configuration profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to add the version to"},"content":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration content (e.g., a JSON or YAML document)"},"contentType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Content type of the configuration (e.g., application/json, text/plain)"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"Description of the configuration version"},"latestVersionNumber":{"type":"number","required":false,"visibility":"user-or-llm","description":"The version number of the latest version, used for optimistic concurrency"},"versionLabel":{"type":"string","required":false,"visibility":"user-or-llm","description":"A user-defined label for the configuration version"}},"hostedApiKey":"none"},"appconfig_delete_application":{"id":"appconfig_delete_application","name":"AppConfig Delete Application","description":"Delete an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to delete"}},"hostedApiKey":"none"},"appconfig_delete_configuration_profile":{"id":"appconfig_delete_configuration_profile","name":"AppConfig Delete Configuration Profile","description":"Delete an AWS AppConfig configuration profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to delete"}},"hostedApiKey":"none"},"appconfig_delete_environment":{"id":"appconfig_delete_environment","name":"AppConfig Delete Environment","description":"Delete an AWS AppConfig environment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the environment"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID to delete"}},"hostedApiKey":"none"},"appconfig_delete_hosted_configuration_version":{"id":"appconfig_delete_hosted_configuration_version","name":"AppConfig Delete Hosted Configuration Version","description":"Delete a specific hosted configuration version from an AppConfig profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID that owns the version"},"versionNumber":{"type":"number","required":true,"visibility":"user-or-llm","description":"The version number to delete"}},"hostedApiKey":"none"},"appconfig_get_application":{"id":"appconfig_get_application","name":"AppConfig Get Application","description":"Get details about a single AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to retrieve"}},"hostedApiKey":"none"},"appconfig_get_configuration":{"id":"appconfig_get_configuration","name":"AppConfig Get Configuration","description":"Retrieve the latest deployed configuration for an AppConfig application, environment, and profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID or name to retrieve configuration for"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID or name to retrieve configuration for"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID or name to retrieve"}},"hostedApiKey":"none"},"appconfig_get_configuration_profile":{"id":"appconfig_get_configuration_profile","name":"AppConfig Get Configuration Profile","description":"Get details about a single AWS AppConfig configuration profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to retrieve"}},"hostedApiKey":"none"},"appconfig_get_deployment":{"id":"appconfig_get_deployment","name":"AppConfig Get Deployment","description":"Get details about a specific AWS AppConfig deployment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID of the deployment"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID of the deployment"},"deploymentNumber":{"type":"number","required":true,"visibility":"user-or-llm","description":"The sequence number of the deployment"}},"hostedApiKey":"none"},"appconfig_get_environment":{"id":"appconfig_get_environment","name":"AppConfig Get Environment","description":"Get details about a single AWS AppConfig environment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the environment"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID to retrieve"}},"hostedApiKey":"none"},"appconfig_get_hosted_configuration_version":{"id":"appconfig_get_hosted_configuration_version","name":"AppConfig Get Hosted Configuration Version","description":"Retrieve a specific hosted configuration version from an AppConfig profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to read the version from"},"versionNumber":{"type":"number","required":true,"visibility":"user-or-llm","description":"The version number to retrieve"}},"hostedApiKey":"none"},"appconfig_list_applications":{"id":"appconfig_list_applications","name":"AppConfig List Applications","description":"List applications in AWS AppConfig","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of applications to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_list_configuration_profiles":{"id":"appconfig_list_configuration_profiles","name":"AppConfig List Configuration Profiles","description":"List configuration profiles for an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profiles"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of configuration profiles to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_list_deployment_strategies":{"id":"appconfig_list_deployment_strategies","name":"AppConfig List Deployment Strategies","description":"List deployment strategies available in AWS AppConfig","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of deployment strategies to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_list_deployments":{"id":"appconfig_list_deployments","name":"AppConfig List Deployments","description":"List deployments for an AWS AppConfig environment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID of the deployments"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID of the deployments"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of deployments to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_list_environments":{"id":"appconfig_list_environments","name":"AppConfig List Environments","description":"List environments for an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the environments"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of environments to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_list_hosted_configuration_versions":{"id":"appconfig_list_hosted_configuration_versions","name":"AppConfig List Hosted Configuration Versions","description":"List hosted configuration versions for an AWS AppConfig configuration profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to list versions for"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of versions to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_start_deployment":{"id":"appconfig_start_deployment","name":"AppConfig Start Deployment","description":"Start deploying a configuration version to an AWS AppConfig environment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to deploy in"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID to deploy to"},"deploymentStrategyId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The deployment strategy ID to use"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to deploy"},"configurationVersion":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration version to deploy"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"Description of the deployment"}},"hostedApiKey":"none"},"appconfig_stop_deployment":{"id":"appconfig_stop_deployment","name":"AppConfig Stop Deployment","description":"Stop an in-progress AWS AppConfig deployment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID of the deployment"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID of the deployment"},"deploymentNumber":{"type":"number","required":true,"visibility":"user-or-llm","description":"The sequence number of the deployment to stop"}},"hostedApiKey":"none"},"appconfig_update_application":{"id":"appconfig_update_application","name":"AppConfig Update Application","description":"Update the name or description of an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to update"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"New name for the application"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"New description for the application"}},"hostedApiKey":"none"},"appconfig_update_configuration_profile":{"id":"appconfig_update_configuration_profile","name":"AppConfig Update Configuration Profile","description":"Update the name, description, or retrieval role of an AppConfig configuration profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to update"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"New name for the configuration profile"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"New description for the configuration profile"},"retrievalRoleArn":{"type":"string","required":false,"visibility":"user-or-llm","description":"New ARN of the IAM role used to retrieve the configuration"}},"hostedApiKey":"none"},"appconfig_update_environment":{"id":"appconfig_update_environment","name":"AppConfig Update Environment","description":"Update the name or description of an AWS AppConfig environment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the environment"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID to update"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"New name for the environment"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"New description for the environment"}},"hostedApiKey":"none"},"arxiv_get_author_papers":{"id":"arxiv_get_author_papers","name":"ArXiv Get Author Papers","description":"Search for papers by a specific author on ArXiv.","version":"1.0.0","params":{"authorName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Author name to search for"},"maxResults":{"type":"number","required":false,"visibility":"user-only","description":"Maximum number of results to return (default: 10, max: 2000)"}},"hostedApiKey":"none"},"arxiv_get_paper":{"id":"arxiv_get_paper","name":"ArXiv Get Paper","description":"Get detailed information about a specific ArXiv paper by its ID.","version":"1.0.0","params":{"paperId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ArXiv paper ID (e.g., \\"1706.03762\\")"}},"hostedApiKey":"none"},"arxiv_search":{"id":"arxiv_search","name":"ArXiv Search","description":"Search for academic papers on ArXiv by keywords, authors, titles, or other fields.","version":"1.0.0","params":{"searchQuery":{"type":"string","required":true,"visibility":"user-or-llm","description":"The search query to execute"},"searchField":{"type":"string","required":false,"visibility":"user-only","description":"Field to search in: all, ti (title), au (author), abs (abstract), co (comment), jr (journal), cat (category), rn (report number)"},"maxResults":{"type":"number","required":false,"visibility":"user-only","description":"Maximum number of results to return (default: 10, max: 2000)"},"sortBy":{"type":"string","required":false,"visibility":"user-only","description":"Sort by: relevance, lastUpdatedDate, submittedDate (default: relevance)"},"sortOrder":{"type":"string","required":false,"visibility":"user-only","description":"Sort order: ascending, descending (default: descending)"}},"hostedApiKey":"none"},"asana_add_comment":{"id":"asana_add_comment","name":"Asana Add Comment","description":"Add a comment (story) to an Asana task","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana task GID (numeric string)"},"text":{"type":"string","required":true,"visibility":"user-or-llm","description":"The text content of the comment"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_add_followers":{"id":"asana_add_followers","name":"Asana Add Followers","description":"Add one or more followers to an Asana task","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"GID of the Asana task (numeric string)"},"followers":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of user GIDs to add as followers to the task"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_create_project":{"id":"asana_create_project","name":"Asana Create Project","description":"Create a new project in an Asana workspace","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"workspace":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana workspace GID (numeric string) where the project will be created"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the project"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"Notes or description for the project"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_create_section":{"id":"asana_create_section","name":"Asana Create Section","description":"Create a new section in an Asana project","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"projectGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"GID of the Asana project (numeric string) to add the section to"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the section"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_create_subtask":{"id":"asana_create_subtask","name":"Asana Create Subtask","description":"Create a subtask under an existing Asana task","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"GID of the parent Asana task (numeric string)"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the subtask"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"Notes or description for the subtask"},"assignee":{"type":"string","required":false,"visibility":"user-or-llm","description":"User GID to assign the subtask to"},"due_on":{"type":"string","required":false,"visibility":"user-or-llm","description":"Due date in YYYY-MM-DD format"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_create_task":{"id":"asana_create_task","name":"Asana Create Task","description":"Create a new task in Asana","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"workspace":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana workspace GID (numeric string) where the task will be created"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the task"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"Notes or description for the task"},"assignee":{"type":"string","required":false,"visibility":"user-or-llm","description":"User GID to assign the task to"},"due_on":{"type":"string","required":false,"visibility":"user-or-llm","description":"Due date in YYYY-MM-DD format"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_delete_task":{"id":"asana_delete_task","name":"Asana Delete Task","description":"Delete an Asana task by its GID (moves it to the trash)","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"GID of the Asana task to delete (numeric string)"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_get_project":{"id":"asana_get_project","name":"Asana Get Project","description":"Retrieve a single Asana project by its GID","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"projectGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana project GID (numeric string) to retrieve"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_get_projects":{"id":"asana_get_projects","name":"Asana Get Projects","description":"Retrieve all projects from an Asana workspace","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"workspace":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana workspace GID (numeric string) to retrieve projects from"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_get_task":{"id":"asana_get_task","name":"Asana Get Task","description":"Retrieve a single task by GID or get multiple tasks with filters","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":false,"visibility":"user-or-llm","description":"The globally unique identifier (GID) of the task. If not provided, will get multiple tasks."},"workspace":{"type":"string","required":false,"visibility":"user-or-llm","description":"Asana workspace GID (numeric string) to filter tasks (required when not using taskGid)"},"project":{"type":"string","required":false,"visibility":"user-or-llm","description":"Asana project GID (numeric string) to filter tasks"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of tasks to return (default: 50)"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_list_sections":{"id":"asana_list_sections","name":"Asana List Sections","description":"List all sections in an Asana project","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"projectGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"GID of the Asana project (numeric string) to list sections from"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_list_workspaces":{"id":"asana_list_workspaces","name":"Asana List Workspaces","description":"List all Asana workspaces and organizations the authenticated user belongs to","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_search_tasks":{"id":"asana_search_tasks","name":"Asana Search Tasks","description":"Search for tasks in an Asana workspace","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"workspace":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana workspace GID (numeric string) to search tasks in"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Text to search for in task names"},"assignee":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter tasks by assignee user GID"},"projects":{"type":"array","required":false,"visibility":"user-or-llm","description":"Array of Asana project GIDs (numeric strings) to filter tasks by"},"completed":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Filter by completion status"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_update_task":{"id":"asana_update_task","name":"Asana Update Task","description":"Update an existing task in Asana","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana task GID (numeric string) of the task to update"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Updated name for the task"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"Updated notes or description for the task"},"assignee":{"type":"string","required":false,"visibility":"user-or-llm","description":"Updated assignee user GID"},"completed":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Mark task as completed or not completed"},"due_on":{"type":"string","required":false,"visibility":"user-or-llm","description":"Updated due date in YYYY-MM-DD format"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"ashby_add_candidate_tag":{"id":"ashby_add_candidate_tag","name":"Ashby Add Candidate Tag","description":"Adds a tag to a candidate in Ashby and returns the updated candidate.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"candidateId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the candidate to add the tag to"},"tagId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the tag to add"}},"hostedApiKey":"none"},"ashby_anonymize_candidate":{"id":"ashby_anonymize_candidate","name":"Ashby Anonymize Candidate","description":"Strips personally identifiable information from a candidate in Ashby. This does not delete the candidate - the record and its applications remain, with the PII removed. Ashby exposes no candidate deletion endpoint; true deletion is UI-only, restricted by role, and limited to a 10-day window. Requires the candidatesWrite permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"candidateId":{"type":"string","required":true,"visibility":"user-or-llm","description":"UUID of the candidate to anonymize"}},"hostedApiKey":"none"},"ashby_change_application_source":{"id":"ashby_change_application_source","name":"Ashby Change Application Source","description":"Changes the source attributed to an existing application, so programmatically created applications report correctly on the recruiting side. Requires the candidatesWrite permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"UUID of the application whose source should change"},"sourceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the source to attribute the application to, as returned by List Sources. Omit only when unsetSource is true."},"unsetSource":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Set true to deliberately clear the application source. Required to unset, so that a missing or empty sourceId cannot wipe attribution by accident."}},"hostedApiKey":"none"},"ashby_change_application_stage":{"id":"ashby_change_application_stage","name":"Ashby Change Application Stage","description":"Moves an application to a different interview stage. Requires an archive reason when moving to an Archived stage.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the application to update the stage of"},"interviewStageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the interview stage to move the application to"},"archiveReasonId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Archive reason UUID. Required when moving to an Archived stage, ignored otherwise"},"archiveEmail":{"type":"json","required":false,"visibility":"user-or-llm","description":"Archive email configuration with communicationTemplateId and optional sendAt ISO 8601 timestamp. Pass null or omit to send no archive email."}},"hostedApiKey":"none"},"ashby_create_application":{"id":"ashby_create_application","name":"Ashby Create Application","description":"Creates a new application for a candidate on a job. Optionally specify interview plan, stage, source, and credited user.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"candidateId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the candidate to consider for the job"},"jobId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the job to consider the candidate for"},"interviewPlanId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the interview plan to use (defaults to the job default plan)"},"interviewStageId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the interview stage to place the application in, or FirstPreInterviewScreen (defaults to the first Lead stage)"},"sourceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the source to set on the application"},"creditedToUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the user the application is credited to"},"createdAt":{"type":"string","required":false,"visibility":"user-or-llm","description":"ISO 8601 timestamp to set as the application creation date (defaults to now)"},"applicationHistory":{"type":"json","required":false,"visibility":"user-or-llm","description":"Optional documented application history entries to create with the application"}},"hostedApiKey":"none"},"ashby_create_candidate":{"id":"ashby_create_candidate","name":"Ashby Create Candidate","description":"Creates a new candidate record in Ashby.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"The candidate full name"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"Primary email address for the candidate"},"phoneNumber":{"type":"string","required":false,"visibility":"user-or-llm","description":"Primary phone number for the candidate"},"linkedInUrl":{"type":"string","required":false,"visibility":"user-or-llm","description":"LinkedIn profile URL"},"githubUrl":{"type":"string","required":false,"visibility":"user-or-llm","description":"GitHub profile URL"},"website":{"type":"string","required":false,"visibility":"user-or-llm","description":"Personal website URL"},"sourceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the source to attribute the candidate to"},"creditedToUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the Ashby user to credit with sourcing this candidate"},"createdAt":{"type":"string","required":false,"visibility":"user-or-llm","description":"Backdated creation timestamp in ISO 8601 (e.g. 2024-01-01T00:00:00Z). Defaults to now."},"alternateEmailAddresses":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of additional email address strings to add to the candidate, e.g. [\\"a@x.com\\",\\"b@y.com\\"]"},"location":{"type":"json","required":false,"visibility":"user-or-llm","description":"Candidate location object with optional city, region, and country"}},"hostedApiKey":"none"},"ashby_create_note":{"id":"ashby_create_note","name":"Ashby Create Note","description":"Creates a note on a candidate in Ashby. Supports plain text and HTML content (bold, italic, underline, links, lists, code).","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"candidateId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the candidate to add the note to"},"note":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note content. If noteType is text/html, supports: , , , ,