{"id":26811389,"url":"https://github.com/eyedea-io/syncano-socket-user-invitation","last_synced_at":"2025-06-29T21:05:55.052Z","repository":{"id":74004563,"uuid":"94612799","full_name":"eyedea-io/syncano-socket-user-invitation","owner":"eyedea-io","description":"Syncano Socket for managing inviting user to the resource","archived":false,"fork":false,"pushed_at":"2018-10-03T08:43:02.000Z","size":220,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-12T05:07:34.731Z","etag":null,"topics":["invitation","serverless","syncano","syncano-socket","user"],"latest_commit_sha":null,"homepage":"https://syncano.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eyedea-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-17T09:11:10.000Z","updated_at":"2018-10-03T08:43:03.000Z","dependencies_parsed_at":"2023-06-03T13:03:28.292Z","dependency_job_id":null,"html_url":"https://github.com/eyedea-io/syncano-socket-user-invitation","commit_stats":{"total_commits":36,"total_committers":5,"mean_commits":7.2,"dds":0.3055555555555556,"last_synced_commit":"d87f0585a54746f55fc0a0fde24ca902626153ac"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eyedea-io/syncano-socket-user-invitation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyedea-io%2Fsyncano-socket-user-invitation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyedea-io%2Fsyncano-socket-user-invitation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyedea-io%2Fsyncano-socket-user-invitation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyedea-io%2Fsyncano-socket-user-invitation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eyedea-io","download_url":"https://codeload.github.com/eyedea-io/syncano-socket-user-invitation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyedea-io%2Fsyncano-socket-user-invitation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261414464,"owners_count":23154869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["invitation","serverless","syncano","syncano-socket","user"],"created_at":"2025-03-30T01:38:29.116Z","updated_at":"2025-06-29T21:05:54.953Z","avatar_url":"https://github.com/eyedea-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Syncano Socket for managing inviting user to the resource\n\n[![Syncano Socket](https://img.shields.io/badge/syncano-socket-blue.svg)](https://syncano.io)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/eyedea-io/syncano-socket-user-invitation/master.svg)](https://circleci.com/gh/eyedea-io/syncano-socket-user-invitation/tree/master)\n[![Codecov branch](https://img.shields.io/codecov/c/github/eyedea-io/syncano-socket-user-invitation/master.svg)](https://codecov.io/gh/eyedea-io/syncano-socket-simple-user-invitation)\n[![npm](https://img.shields.io/npm/dw/@eyedea-sockets/user-invitation.svg)](https://www.npmjs.com/package/@eyedea-sockets/user-invitation)\n![license](https://img.shields.io/github/license/eyedea-io/syncano-socket-user-invitation.svg)\n\nMain Socket features:\n\n* **user-invitation/invite** — invite user to the resource\n* **user-invitation/get** — get user invitation\n* **user-invitation/list** — list invitation for a given resource\n* **user-invitation/update** — change invitation status\n\n## Getting Started\n\nInstall package in your project:\n\n```sh\ncd my_project\nnpm install @syncano/cli --save-dev\nnpm install @eyedea-sockets/user-invitation --save\nnpx s deploy\n```\n\nUse it:\n\n```js\nimport Syncano from '@syncano/client'\n\nconst s = new Syncano(\u003cinstaneName\u003e)\n\nconst params = {\n    email: 'test@email.com',\n    resourceID: '1234',\n    resourceType: 'company',\n    details: {\n      company_id: 1234\n    }\n  }\nconst invitation = await s.post('user-invitation/invite', params)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyedea-io%2Fsyncano-socket-user-invitation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feyedea-io%2Fsyncano-socket-user-invitation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyedea-io%2Fsyncano-socket-user-invitation/lists"}