feat: add additional fields to first time setup trial flow (#11533)

* feat: add additional fields to first time setup trial flow

* trial generator typo
This commit is contained in:
Colin Adler
2024-01-16 18:19:16 -06:00
committed by GitHub
parent 1196f83ebd
commit be43d6247d
17 changed files with 1329 additions and 28 deletions

29
coderd/apidoc/docs.go generated
View File

@ -8261,6 +8261,9 @@ const docTemplate = `{
"trial": {
"type": "boolean"
},
"trial_info": {
"$ref": "#/definitions/codersdk.CreateFirstUserTrialInfo"
},
"username": {
"type": "string"
}
@ -8279,6 +8282,32 @@ const docTemplate = `{
}
}
},
"codersdk.CreateFirstUserTrialInfo": {
"type": "object",
"properties": {
"company_name": {
"type": "string"
},
"country": {
"type": "string"
},
"developers": {
"type": "string"
},
"first_name": {
"type": "string"
},
"job_title": {
"type": "string"
},
"last_name": {
"type": "string"
},
"phone_number": {
"type": "string"
}
}
},
"codersdk.CreateGroupRequest": {
"type": "object",
"properties": {