Skip to content

Commit

Permalink
Add getInvite and updateProjectMember (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 authored Feb 29, 2024
1 parent 98a6987 commit d42c9b5
Show file tree
Hide file tree
Showing 16 changed files with 2,088 additions and 269 deletions.
190 changes: 189 additions & 1 deletion docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -10915,6 +10915,42 @@
"oneofdecl": "",
"defaultValue": ""
},
{
"name": "project_name",
"description": "ProjectName is the project name for which this invite was created",
"label": "",
"type": "string",
"longType": "string",
"fullType": "string",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": ""
},
{
"name": "tenant",
"description": "Tenant is the login of tenant who invites to join this project",
"label": "",
"type": "string",
"longType": "string",
"fullType": "string",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": ""
},
{
"name": "tenant_name",
"description": "TenantName is the name of tenant who invites to join this project",
"label": "",
"type": "string",
"longType": "string",
"fullType": "string",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": ""
},
{
"name": "expires_at",
"description": "ExpiresAt the date when this invite expires",
Expand Down Expand Up @@ -11324,6 +11360,54 @@
"extensions": [],
"fields": []
},
{
"name": "ProjectServiceInviteGetRequest",
"longName": "ProjectServiceInviteGetRequest",
"fullName": "api.v1.ProjectServiceInviteGetRequest",
"description": "ProjectServiceInviteGetRequest is the request payload to get a invite",
"hasExtensions": false,
"hasFields": true,
"hasOneofs": false,
"extensions": [],
"fields": [
{
"name": "secret",
"description": "Secret of the invite to list",
"label": "",
"type": "string",
"longType": "string",
"fullType": "string",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": ""
}
]
},
{
"name": "ProjectServiceInviteGetResponse",
"longName": "ProjectServiceInviteGetResponse",
"fullName": "api.v1.ProjectServiceInviteGetResponse",
"description": "ProjectServiceInviteGetResponse is the response payload to a get invite request",
"hasExtensions": false,
"hasFields": true,
"hasOneofs": false,
"extensions": [],
"fields": [
{
"name": "invite",
"description": "Invite is the invite",
"label": "",
"type": "ProjectInvite",
"longType": "ProjectInvite",
"fullType": "api.v1.ProjectInvite",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": ""
}
]
},
{
"name": "ProjectServiceInviteRequest",
"longName": "ProjectServiceInviteRequest",
Expand Down Expand Up @@ -11587,6 +11671,86 @@
"extensions": [],
"fields": []
},
{
"name": "ProjectServiceUpdateMemberRequest",
"longName": "ProjectServiceUpdateMemberRequest",
"fullName": "api.v1.ProjectServiceUpdateMemberRequest",
"description": "ProjectServiceUpdateMemberRequest is used to update a member of a project",
"hasExtensions": false,
"hasFields": true,
"hasOneofs": false,
"extensions": [],
"fields": [
{
"name": "project",
"description": "Project is the uuid of the project",
"label": "",
"type": "string",
"longType": "string",
"fullType": "string",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": "",
"options": {
"validate.rules": [
{
"name": "string.uuid",
"value": true
}
]
}
},
{
"name": "member_id",
"description": "MemberID is the id of the member to remove from this project",
"label": "",
"type": "string",
"longType": "string",
"fullType": "string",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": ""
},
{
"name": "role",
"description": "Role is the role in this project the user will get after the update",
"label": "",
"type": "ProjectRole",
"longType": "ProjectRole",
"fullType": "api.v1.ProjectRole",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": ""
}
]
},
{
"name": "ProjectServiceUpdateMemberResponse",
"longName": "ProjectServiceUpdateMemberResponse",
"fullName": "api.v1.ProjectServiceUpdateMemberResponse",
"description": "ProjectServiceUpdateMemberResponse is the response payload to a update member request",
"hasExtensions": false,
"hasFields": true,
"hasOneofs": false,
"extensions": [],
"fields": [
{
"name": "project_member",
"description": "ProjectMember is the updated project member",
"label": "",
"type": "ProjectMember",
"longType": "ProjectMember",
"fullType": "api.v1.ProjectMember",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": ""
}
]
},
{
"name": "ProjectServiceUpdateRequest",
"longName": "ProjectServiceUpdateRequest",
Expand Down Expand Up @@ -11761,7 +11925,7 @@
},
{
"name": "RemoveMember",
"description": "RemoveMember a user from a project",
"description": "RemoveMember remove a user from a project",
"requestType": "ProjectServiceRemoveMemberRequest",
"requestLongType": "ProjectServiceRemoveMemberRequest",
"requestFullType": "api.v1.ProjectServiceRemoveMemberRequest",
Expand All @@ -11771,6 +11935,18 @@
"responseFullType": "api.v1.ProjectServiceRemoveMemberResponse",
"responseStreaming": false
},
{
"name": "UpdateMember",
"description": "UpdateMember update a user for a project",
"requestType": "ProjectServiceUpdateMemberRequest",
"requestLongType": "ProjectServiceUpdateMemberRequest",
"requestFullType": "api.v1.ProjectServiceUpdateMemberRequest",
"requestStreaming": false,
"responseType": "ProjectServiceUpdateMemberResponse",
"responseLongType": "ProjectServiceUpdateMemberResponse",
"responseFullType": "api.v1.ProjectServiceUpdateMemberResponse",
"responseStreaming": false
},
{
"name": "Invite",
"description": "Invite a user to a project",
Expand Down Expand Up @@ -11818,6 +11994,18 @@
"responseLongType": "ProjectServiceInvitesListResponse",
"responseFullType": "api.v1.ProjectServiceInvitesListResponse",
"responseStreaming": false
},
{
"name": "InviteGet",
"description": "InviteGet get an invite",
"requestType": "ProjectServiceInviteGetRequest",
"requestLongType": "ProjectServiceInviteGetRequest",
"requestFullType": "api.v1.ProjectServiceInviteGetRequest",
"requestStreaming": false,
"responseType": "ProjectServiceInviteGetResponse",
"responseLongType": "ProjectServiceInviteGetResponse",
"responseFullType": "api.v1.ProjectServiceInviteGetResponse",
"responseStreaming": false
}
]
}
Expand Down
Loading

0 comments on commit d42c9b5

Please sign in to comment.