mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
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:
29
coderd/apidoc/docs.go
generated
29
coderd/apidoc/docs.go
generated
@ -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": {
|
||||
|
29
coderd/apidoc/swagger.json
generated
29
coderd/apidoc/swagger.json
generated
@ -7353,6 +7353,9 @@
|
||||
"trial": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"trial_info": {
|
||||
"$ref": "#/definitions/codersdk.CreateFirstUserTrialInfo"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
}
|
||||
@ -7371,6 +7374,32 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
|
Reference in New Issue
Block a user