Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@or-sdk/hitl
Advanced tools
$ npm i @or-sdk/hitl
const HitlApi = require('@or-sdk/hitl').HITL;
// with direct api url
const hitlApi = new HitlApi({
token: `FLOW ${this.config.flowToken}`,
hitlUrl: this.config.env.HITL_API_URL,
});
// with service discovery(slower)
const hitlApi = new HitlApi({
token: `FLOW ${this.config.flowToken}`,
discoveryUrl: this.config.env.SERVICE_DISCOVERY_API_URL,
});
const contactRuleGroupsList = await hitlApi.contactRuleGroups.searchContactRuleGroups();
After initializing HitL SDK various parts of the SDK become available to be used to make requests to HitL API
(all available HitL API part could be found in the api
folder)
const HitlApi = require('@or-sdk/hitl').HITL;
const { agents, cannedMessages, filters } = new HitlApi({
token: `FLOW ${this.config.flowToken}`,
discoveryUrl: this.config.env.SERVICE_DISCOVERY_API_URL,
});
const agentsList = await agents.getAgents();
const cannedMessages = cannedMessages.getCannedMessages({ id });
const HitlMigrationsApi = require('@or-sdk/hitl').EKS;
// with direct api url
const hitlMigrationsApi = new HitlEksApi({
token: `FLOW ${this.config.flowToken}`,
hitlEksUrl: 'https://hitl.svc.<client-env>.api.onereach.ai',
});
// with service discovery(slower)
const hitlMigrationsApi = new HitlEksApi({
token: `FLOW ${this.config.flowToken}`,
discoveryUrl: this.config.env.SERVICE_DISCOVERY_API_URL,
});
await hitlMigrationsApi.migrations.runAllMigrations();
const status = await hitlMigrationsApi.migrations.getRunMigrationsStatus();
FAQs
Unknown package
The npm package @or-sdk/hitl receives a total of 971 weekly downloads. As such, @or-sdk/hitl popularity was classified as not popular.
We found that @or-sdk/hitl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.