Skip to content

Commit

Permalink
πŸ”„ Synced file(s) with polarsignals/polarsignals
Browse files Browse the repository at this point in the history
  • Loading branch information
manojVivek committed Aug 3, 2023
1 parent cb5910f commit b4a5064
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions polarsignals/organization/v1alpha1/organization.proto
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ service OrganizationService {
body: "*"
};
}

// InviteUsersViaEmail invites users to the organization with the given email addresses.
rpc InviteUsersViaEmail(InviteUsersViaEmailRequest) returns (InviteUsersViaEmailResponse) {
option (google.api.http) = {
post: "/v1/{id}/invite-users-via-email"
body: "*"
};
}

}

// Organization represents an organization.
Expand Down Expand Up @@ -238,3 +247,14 @@ message ActivateFreeTrialRequest {

// ActivateFreeTrialResponse is the response for the ActivateFreeTrial method.
message ActivateFreeTrialResponse {}

// InviteUsersViaEmailRequest is the request for the InviteUsersViaEmail method.
message InviteUsersViaEmailRequest {
// The ID of the organization.
string id = 1;
// The email addresses of the users.
repeated string emails = 2;
}

// InviteUsersViaEmailResponse is the response for the InviteUsersViaEmail method.
message InviteUsersViaEmailResponse {}

0 comments on commit b4a5064

Please sign in to comment.