feat: expose premium trial form via CLI (#15054)

This PR closes https://github.com/coder/coder/issues/14856
This commit is contained in:
Joobi S B
2024-10-29 18:32:20 +05:30
committed by GitHub
parent 78ff375fed
commit 7982ad7659
6 changed files with 233 additions and 9 deletions

View File

@ -653,6 +653,16 @@ var FirstUserParams = codersdk.CreateFirstUserRequest{
Name: "Test User",
}
var TrialUserParams = codersdk.CreateFirstUserTrialInfo{
FirstName: "John",
LastName: "Doe",
PhoneNumber: "9999999999",
JobTitle: "Engineer",
CompanyName: "Acme Inc",
Country: "United States",
Developers: "10-50",
}
// CreateFirstUser creates a user with preset credentials and authenticates
// with the passed in codersdk client.
func CreateFirstUser(t testing.TB, client *codersdk.Client) codersdk.CreateFirstUserResponse {