Skip to content

Commit 04ff987

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
feat(integrations): add Oracle Fusion Cloud HCM
1 parent b0d41e7 commit 04ff987

41 files changed

Lines changed: 5576 additions & 22 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/components/ui/icon-mapping.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
480480
onedrive: MicrosoftOneDriveIcon,
481481
onepassword: OnePasswordIcon,
482482
openai: OpenAIIcon,
483+
oracle_fusion_hcm: NetSuiteIcon,
483484
outlook: OutlookIcon,
484485
pagerduty: PagerDutyIcon,
485486
parallel_ai: ParallelIcon,

apps/docs/content/docs/integrations/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@
187187
"onedrive",
188188
"onepassword",
189189
"openai",
190+
"oracle_fusion_hcm",
190191
"outlook",
191192
"pagerduty",
192193
"parallel_ai",

apps/docs/content/docs/integrations/oracle_fusion_hcm.mdx

Lines changed: 740 additions & 0 deletions
Large diffs are not rendered by default.

apps/docs/openapi-v2-resources.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8254,7 +8254,7 @@
82548254
"description": "Where the block comes from: `builtin` is the shipped registry, `custom` is a workflow this workspace deployed as a block."
82558255
},
82568256
"authMode": {
8257-
"description": "How the block authenticates: `oauth`, `api_key`, or `bot_token`.",
8257+
"description": "How the block authenticates: `oauth`, `api_key`, `bot_token`, or `basic`.",
82588258
"type": "string"
82598259
},
82608260
"triggerAllowed": {
@@ -8942,7 +8942,7 @@
89428942
"description": "Where the block comes from: `builtin` is the shipped registry, `custom` is a workflow this workspace deployed as a block."
89438943
},
89448944
"authMode": {
8945-
"description": "How the block authenticates: `oauth`, `api_key`, or `bot_token`.",
8945+
"description": "How the block authenticates: `oauth`, `api_key`, `bot_token`, or `basic`.",
89468946
"type": "string"
89478947
},
89488948
"triggerAllowed": {

apps/sim/app/(landing)/integrations/(shell)/[slug]/page.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ const AUTH_STEP: Record<AuthType, (name: string) => string> = {
110110
`Connect your ${name} account with one-click OAuth, with no credentials to copy.`,
111111
'api-key': (name) =>
112112
`Paste your ${name} API key to authenticate. You can find it in your ${name} account settings.`,
113+
basic: (name) =>
114+
`Enter the username and password for your ${name} account to authenticate with HTTP Basic authentication.`,
113115
none: () => 'No authentication is needed, so the block works as soon as you drop it in.',
114116
}
115117

@@ -503,7 +505,9 @@ export default async function IntegrationPage({ params }: { params: Promise<{ sl
503505
? `${name} connects with one-click OAuth.`
504506
: authType === 'api-key'
505507
? `${name} connects with an API key.`
506-
: `${name} requires no authentication.`}{' '}
508+
: authType === 'basic'
509+
? `${name} connects with HTTP Basic authentication.`
510+
: `${name} requires no authentication.`}{' '}
507511
Free to start at sim.ai.
508512
</p>
509513

@@ -658,7 +662,9 @@ export default async function IntegrationPage({ params }: { params: Promise<{ sl
658662
? `Open your workspace, drag ${articleFor(name)} ${name} block onto the workflow builder, and connect your account with one-click OAuth.`
659663
: authType === 'api-key'
660664
? `Open your workspace, drag ${articleFor(name)} ${name} block onto the workflow builder, and paste in your ${name} API key.`
661-
: `Open your workspace, drag ${articleFor(name)} ${name} block onto the workflow builder. No authentication is needed.`,
665+
: authType === 'basic'
666+
? `Open your workspace, drag ${articleFor(name)} ${name} block onto the workflow builder, and enter the connection details, username, and password requested by the block.`
667+
: `Open your workspace, drag ${articleFor(name)} ${name} block onto the workflow builder. No authentication is needed.`,
662668
},
663669
{
664670
step: '03',

apps/sim/blocks/blocks.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,13 @@ describe.concurrent('Blocks Module', () => {
670670

671671
describe('AuthMode Validation', () => {
672672
it('should have valid authMode when defined', () => {
673-
const validAuthModes = [AuthMode.OAuth, AuthMode.ApiKey, AuthMode.BotToken, undefined]
673+
const validAuthModes = [
674+
AuthMode.OAuth,
675+
AuthMode.ApiKey,
676+
AuthMode.BotToken,
677+
AuthMode.Basic,
678+
undefined,
679+
]
674680
const blocks = getAllBlocks()
675681
for (const block of blocks) {
676682
expect(validAuthModes).toContain(block.authMode)

0 commit comments

Comments
 (0)