{"id":39943080,"url":"https://github.com/datawowio/k-sequencing-node","last_synced_at":"2026-01-18T19:34:08.993Z","repository":{"id":57287918,"uuid":"104966716","full_name":"datawowio/k-sequencing-node","owner":"datawowio","description":"An image and content moderation NodJS library for Kiyo.io","archived":false,"fork":false,"pushed_at":"2019-04-04T08:19:46.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-10-09T04:52:28.672Z","etag":null,"topics":["image-moderation","image-processing","saas"],"latest_commit_sha":null,"homepage":"https://kiyo.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datawowio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-27T03:17:31.000Z","updated_at":"2019-04-04T08:19:44.000Z","dependencies_parsed_at":"2022-09-18T19:28:37.008Z","dependency_job_id":null,"html_url":"https://github.com/datawowio/k-sequencing-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datawowio/k-sequencing-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawowio%2Fk-sequencing-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawowio%2Fk-sequencing-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawowio%2Fk-sequencing-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawowio%2Fk-sequencing-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datawowio","download_url":"https://codeload.github.com/datawowio/k-sequencing-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawowio%2Fk-sequencing-node/sbom","scorecard":{"id":324937,"data":{"date":"2025-08-11","repo":{"name":"github.com/datawowio/k-sequencing-node","commit":"8c82bd51d4e1f4f66d3b5a58569834a6495443cc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 5/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"51 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-42xw-2xvc-qx8m","Warn: Project is vulnerable to: GHSA-4w2v-q235-vp99","Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-qh2h-chj9-jffq","Warn: Project is vulnerable to: GHSA-q42p-pg8m-cqh6","Warn: Project is vulnerable to: GHSA-w457-6q6x-cgp9","Warn: Project is vulnerable to: GHSA-62gr-4qp9-h98f","Warn: Project is vulnerable to: GHSA-f52g-6jhx-586p","Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv","Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8","Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65","Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-4hpf-3wq7-5rpr","Warn: Project is vulnerable to: GHSA-f522-ffg8-j8r6","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-g6ww-v8xp-vmwg","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T02:12:33.565Z","repository_id":57287918,"created_at":"2025-08-18T02:12:33.565Z","updated_at":"2025-08-18T02:12:33.565Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28549431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T19:22:41.102Z","status":"ssl_error","status_checked_at":"2026-01-18T19:22:26.310Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-moderation","image-processing","saas"],"created_at":"2026-01-18T19:34:08.434Z","updated_at":"2026-01-18T19:34:08.987Z","avatar_url":"https://github.com/datawowio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# K-Sequencing for NodeJS \n\n[![CircleCI Build Status](https://circleci.com/gh/datawowio/k-sequencing-node.svg?style=shield)](https://circleci.com/gh/datawowio/k-sequencing-node)\n\nsupport or question support@datawow.io\n\n# Installation \n\nNPM \n```js\nnpm install k-sequencing\n```\n\nImport \n```js\nvar kseq = require('k-sequencing');\n```\n\n## Usage example \n\n###### Promise with then()\n\n\n```js\nvar kseq = require('k-sequencing');\n\nvar data = {\n    instruction: 'face',\n    categories: 'face ear eye',\n    data: 'www.your-image.url',\n    postback_url: 'www.your-callback.url', multiple: false\n};\n\nvar projectToken = \"your project token\"\n\nkseq.choice.create({ token: projectToken, data }).then(result =\u003e {\n    console.log(result.data);\n}).catch(err =\u003e {\n    console.error(err);\n});\n```\n## List of available Image Moderations\n\n#### Image Choices\n\n##### Get list\n```js \nchoice.list({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n\u003e - *id* **(string, optional)**\n\u003e - *page* **(string, optional)**: Default 0\n\u003e - *per_page* **(string, optional)**: Default 20\n\n\n \n##### Create\n```js\nchoice.create({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n\u003e - *instruction* **(string, required)**\n\u003e - *categories* **(string group, required)**: separate group by space ``` name1 name2 name3 ```\n\u003e - *data* **(string URL, required)**\n\u003e - *allow_empty* **(boolean, optional)**: Default is ``` false ```\n\u003e - *postback_url* **(string URL, optional)**\n\u003e - *multiple* **(boolean, optional)**: Default is ``` false ```\n\u003e - *postback_method* **(string, optional)**: Default with your project setting. if you set this parameter that will be override your default setting\n\u003e - *custom_id* **(string, optional)**: Use to custom ``` Primary key ``` of data row\n\u003e - *staff_id* **(string, optional)**\n\n----------\n#### Image Closed Question\n\n##### Get list\n```js \nclosedQuestion.list({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n\u003e - *id* **(string, optional)**\n\u003e - *page* **(string, optional)**: Default 0\n\u003e - *per_page* **(string, optional)**: Default 20\n\n \n##### Create\n```js\nclosedQuestion.create({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n\u003e - *data* **(string URL, required)**\n\u003e - *postback_url* **(string URL, optional)**\n\u003e - *postback_method* **(string, optional)**: Default with your project setting. if you set this parameter that will be override your default setting\n\u003e - *custom_id* **(string, optional)**: Use to custom ``` Primary key ``` of data row\n\u003e - *staff_id* **(string, optional)**\n\n\n----------\n#### Image Messages\n\n##### Get list\n```js \nmessage.list({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n\u003e - *id* **(string, optional)**\n\u003e - *page* **(string, optional)**: Default 0\n\u003e - *per_page* **(string, optional)**: Default 20\n\n\n##### Create\n```js\nmessage.create({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n\u003e - *instruction* **(string, required)**\n\u003e - *data* **(string URL, required)**\n\u003e - *postback_url* **(string URL, optional)**\n\u003e - *postback_method* **(string, optional)**: Default with your project setting. if you set this parameter that will be override your default setting\n\u003e - *custom_id* **(string, optional)**: Use to custom ``` Primary key ``` of data row\n\u003e - *staff_id* **(string, optional)**\n\n\n----------\n#### Photo Tags\n\n##### Get list\n```js \nphotoTag.list({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n\u003e - *id* **(string, optional)**\n\u003e - *page* **(string, optional)**: Default 0\n\u003e - *per_page* **(string, optional)**: Default 20\n\n\n \n##### Create\n```js\nphotoTag.create({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n\u003e - *instruction* **(string, required)**\n\u003e - *data* **(string URL, required)**\n\u003e - *postback_url* **(string URL, optional)**\n\u003e - *postback_method* **(string, optional)**: Default with your project setting. if you set this parameter that will be override your default setting\n\u003e - *custom_id* **(string, optional)**: Use to custom ``` Primary key ``` of data row\n\u003e - *staff_id* **(string, optional)**\n\n----------\n#### Predictions\n\n##### Get list\n  ```js \nprediction.list({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n  ```\n\n##### Authorization\n  \u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n  \u003e - *id* **(string, optional)**\n  \u003e - *page* **(int, optional)**: Default 0\n  \u003e - *per_page* **(int, optional)**: Default 20\n\n\n##### Create\n  ```js\nprediction.create({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n  ```\n##### Authorization\n  \u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n  \u003e - *data* **(string URL, required)**\n  \u003e - *postback_url* **(string URL, optional)**\n  \u003e - *postback_method* **(string, optional)**: Default with your project setting. if you set this parameter that will be override your default setting\n  \u003e - *custom_id* **(string, optional)**: Use to custom ``` Primary key ``` of data row\n\n----------\n\n#### Dynamically get image from project token\n```js\nimage.get({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### params object\n\u003e - *id* **(string URL, required)**: Image ID or Client's image ID.\n\n----------\n\n### _Customer Document Verification_\n\n#### Create a customer\n```js\nkseq.kyc.createCustomer({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *address* **(String, optional)**: The customer's address.\n\u003e - *dob* **(DateTime, optional)**: The customer's date of birth.\n\u003e - *first_name* **(String, optional)**: The customer's first name.\n\u003e - *last_name* **(String, optional)**: The customer's last name.\n\u003e - *gender* **(String, optional)**: The customer's gender.\n\u003e - *id_card* **(String, optional)**: The customer's ID Card.\n\u003e - *email* **(String, optional)**: The customer's email.\n\u003e - *custom_id* **(String, optional)**: The customize record ID.\n\n#### Create and upload a document\n```js\nkseq.kyc.createDocument({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *data* **(Array of hash, required)**: The customer's document images.\n\u003e - *type* **(String, required)**: The type of document. e.g. \n```\nPASSPORT\nDRIVING_LICENSE\nSOCIAL_SECURITY_NUMBER\nNATIONAL_ID_CARD\nNATIONAL_ID_CARD_COMPLETE\nVISA\nBOOK_BANK\nWEBSITE\nOTHER\n```\n\u003e - *customer_id* **(String, required)**: The customer's ID that belongs to document.\n\u003e - *custom_id* **(String, optional)**: The customize record ID.\n\n```js\n// Example create document\ndata: {\n  customer_id: '5b752f286e11576f13c0324a',\n  type: 'PASSPORT',\n  data: [\n    {\n      attr: \"front_side\",\n      url: \"front_pic_url\"\n    },\n    {\n      attr: \"back_side\",\n      url: \"back_pic_url\"\n    }\n  ]\n}\n```\n\n#### List Customers\n```js\nkseq.kyc.listCustomer({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *id* **(String, optional)**\n\u003e - *page* **(String, optional)**: Default 0\n\u003e - *per_page* **(String, optional)**: Default 20\n\n#### List Documents\n```js\nkseq.kyc.listDocument({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *customer_id* **(String, required)**\n\u003e - *id* **(String, optional)**\n\u003e - *page* **(String, optional)**: Default 0\n\u003e - *per_page* **(String, optional)**: Default 20\n\n----------\n\n## List of available Text Moderations\n\n### _Profanity Filter_\n\nFirst, you need to create profanity filter set which is the list of word that you want to\nfilter out by\n\n#### Create profanity filter set\n```js\nprofanity.createFilter({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### Params payload\n\u003e - *project_type* **(string, required)**: A project type ( for now default is `text_bad_word` )\n\u003e - *filter_set* **(array of string, optional)**: List of word you want to filter out\n\u003e - *use_default* **(boolean, optional)**: Select whether using predefined filter set or custom by your own\n\n#### Get profanity filter set\n```js\nprofanity.retrieveFilter({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### Params payload\n\u003e - *id* **(string, required)**: Custom filter set ID.\n\nAfter you have profanity filter set, you can send stream data of text to sanitize by\n\n#### Send text data to sanitize\n```js\nprofanity.sanitize({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### Params payload\n\u003e - *data* **(string, required)**: Stream of text to moderate.\n\u003e - *postback_url* **(string URL, optional)**: Where you want us to send result back to\n\u003e - *postback_method* **(string, optional)**: Default with your project setting. If you set this parameter that will be override your default setting\n\u003e - *custom_id* **(string, optional)**: Use to custom ``` Primary key ``` of data row\n\n####  Get profanity filtered text\n```js\nprofanity.result({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### Params payload\n\u003e - *id* **(string, optional)** Text Bad Word's Custom ID\n\n----------\n### _Text Human Categorization_\n\n#### Send text category data to categorize\n```js\ncategory.create({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### Params payload\n\u003e - *conversation* **(Array of hash, required)**: Stream of text to moderate.\n```json\n\"conversation\": [\n  {\n    \"name\": \"p1\",\n      \"message\": \"hello p2\"\n  },\n  {\n    \"name\": \"p2\",\n    \"message\": \"hello p1\"\n  }\n]\n```\n\u003e - *title* **(string, optional)**: Title of conversation\n\u003e - *postback_url* **(string URL, optional)**: Where you want us to send result back to\n\u003e - *postback_method* **(string, optional)**: Default with your project setting. If you set this parameter that will be override your default setting\n\u003e - *allow_empty* **(boolean, optional)**: Default is ``` false ```\n\u003e - *custom_id* **(string, optional)**: Use to custom ``` Primary key ``` of data row\n\n\n#### Get Text Human Categorization\n```js\ncategory.get({ token: \u003cauthorization\u003e, data: \u003cparams\u003e })\n```\n##### Authorization\n\u003e - *authorization* **(string, header, required)**: Token of your project\n##### Params payload\n\u003e - *id* **(string, optional)** Text Category's ID or Custom ID\n\n----------\n\n### _Text Closed Question_\n\n#### Create a Text Closed Question\n```js\nkseq.textClosedQuestion.create({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *data* **(String, required)**: The stream of text.\n\u003e - *custom_id* **(String, optional)**: The customize record ID.\n\u003e - *postback_url* **(String URL, optional)**: Postback's URL.\n\u003e - *postback_method* **(String, optional)**: Postback's method.\n\n#### List Text Closed Questions\n```js\nkseq.textClosedQuestion.list({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n\u003e - *id* **(String, optional)**\n\u003e - *page* **(String, optional)**: Default 0\n\u003e - *per_page* **(String, optional)**: Default 20\n\n----------\n\n### _Text Conversation_\n#### Create a Text Conversation\n```js\nkseq.conversation.create({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *conversation* **(Array of String, required)**: The list of conversation.\n\u003e - *custom_conversation_ids* **(Array of String, optional)**: The list of customization's conversation ID.\n\u003e - *postback_url* **(String URL, optional)**: Postback's URL.\n\u003e - *postback_method* **(String, optional)**: Postback's method.\n\n#### List Text Conversations\n```js\nkseq.conversation.list({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n\u003e - *id* **(String, optional)**\n\u003e - *page* **(String, optional)**: Default 0\n\u003e - *per_page* **(String, optional)**: Default 20\n\n----------\n\n### _Facebook Page monitoring_\n\n#### Create predefined keywords and actions\n```js\nkseq.facebookPage.create({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *page_id* **(String, required)**: The Facebook Page ID.\n\u003e - *actions* **(Hash, required)**: The hash of keyword and action.\n\n```js\n// Example of data's structure.\ndata: {\n  page_id: \"245473502860590\",\n  actions: { word: 'foo', action: 'removed' },\n}\n```\n\n#### Get keyword and action from Facebook Page's ID\n```js\nkseq.facebookPage.get({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *page_id* **(String, required)**: The Facebook Page ID.\n\n#### List Facebook's Feed histories\n```js\nkseq.facebookPage.getFeed({ data: \u003cpayload\u003e })\n```\n##### Payload\n\u003e - *page_id* **(String, required)**: The Facebook Page ID.\n\u003e - *start_date* **(DateTime, optional)**: The start range of feed date. (Default: Start date of current month)\n\u003e - *end_date* **(DateTime, optional)**: The end range of feed date. (Default: End date of current month)\n\n----------\n\n## Video Moderation\n\n### _Video Closed Question_\n\n#### Create a Video Closed Question\n```js\nkseq.video.create({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *data* **(String, required)**: The video's url.\n\u003e - *custom_id* **(String, optional)**: The customize record ID.\n\u003e - *postback_url* **(String URL, optional)**: Postback's URL.\n\u003e - *postback_method* **(String, optional)**: Postback's method.\n\u003e - *muted* **(Boolean, optional)**: Opiton to mute video's sound.\n\u003e - *allow_seeking* **(Boolean, optional)**: Option to be able to seek.\n\u003e - *play_at* **(Integer, optional)**: The specific video starter point.\n\n#### Get Video Closed Question\n```js\nkseq.video.get({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *id* **(String, required)**: The Video Closed Question's ID.\n\n#### List Video Closed Questions\n```js\nkseq.video.list({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *id* **(String, optional)**:\n\u003e - *page* **(String, optional)**: Default 0\n\u003e - *per_page* **(String, optional)**: Default 20\n\n----------\n\n## AI Consensus\n\n### _AI Consensus_\n\n#### Create AI Consensus task\n```js\nkseq.aiConsensus.create({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *data* **(String, required)**: The image's url.\n\u003e - *custom_id* **(String, optional)**: The customize record ID.\n\u003e - *postback_url* **(String URL, optional)**: Postback's URL.\n\u003e - *postback_method* **(String, optional)**: Postback's method.\n\n#### List AI Consensus\n```js\nkseq.aiConsensus.list({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *id* **(String, optional)**:\n\u003e - *page* **(String, optional)**: Default 0\n\u003e - *per_page* **(String, optional)**: Default 20\n\n----------\n\n## Document Verification\n\n### _Document Verification_\n\n#### Create Document Verification task\n```js\nkseq.documentVerification.create({\n  token: \u003cproject-token\u003e,\n  data: {\n    data: \"https://assets-cdn.github.com/images/modules/open_graph/github-mark.png\",\n    info: {\n      type: {\n        value: \"driver_license\"\n      },\n      dob: {\n        value: \"1983/12/26\"\n      }\n    }\n  }\n}).then(result =\u003e {\n  console.log(result.data.data);\n})\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *data* **(String, required)**: The document image's url.\n\u003e - *info* **(Hash, required)**: The Document information.\n\u003e - *custom_id* **(String, optional)**: The customize record ID.\n\u003e - *postback_url* **(String URL, optional)**: Postback's URL.\n\u003e - *postback_method* **(String, optional)**: Postback's method.\n\n#### List Document Verification\n```js\nkseq.documentVerification.list({ token: \u003cproject-token\u003e, data: \u003cpayload\u003e })\n```\n##### Authorization\n\u003e - *project-token* **(String, header, required)**: The token of your project.\n##### Payload\n\u003e - *id* **(String, optional)**:\n\u003e - *page* **(String, optional)**: Default 0\n\u003e - *per_page* **(String, optional)**: Default 20\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatawowio%2Fk-sequencing-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatawowio%2Fk-sequencing-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatawowio%2Fk-sequencing-node/lists"}