mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: remove IndustryType and OrgSize from FirstUserOnboarding telemetry (#24018)
New `IndustryType` and `OrgSize` enums were added in #23989, but they are no longer desired in the onboarding/marketing telemetry data. This removes them. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
8369fa88fd
commit
2a1bef18e0
Generated
+7
-48
@@ -2282,30 +2282,19 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
|
||||
```json
|
||||
{
|
||||
"industry_type": "Technology",
|
||||
"is_business": true,
|
||||
"newsletter_marketing": true,
|
||||
"newsletter_releases": true,
|
||||
"org_size": "Just me"
|
||||
"newsletter_releases": true
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|------------------------|------------------------------------------------|----------|--------------|-------------|
|
||||
| `industry_type` | [codersdk.IndustryType](#codersdkindustrytype) | false | | |
|
||||
| `is_business` | boolean | false | | |
|
||||
| `newsletter_marketing` | boolean | false | | |
|
||||
| `newsletter_releases` | boolean | false | | |
|
||||
| `org_size` | [codersdk.OrgSizeRange](#codersdkorgsizerange) | false | | |
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
| Property | Value(s) |
|
||||
|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `industry_type` | `Consulting`, `Education`, `Energy`, `Financial Services`, `Government`, `Healthcare`, `Manufacturing`, `Media`, `Non-Profit`, `Other`, `Retail`, `Technology`, `Telecom`, `Transportation` |
|
||||
| `org_size` | `1001-5000`, `11-50`, `2-10`, `201-1000`, `5000+`, `51-200`, `Just me` |
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|------------------------|---------|----------|--------------|-------------|
|
||||
| `is_business` | boolean | false | | |
|
||||
| `newsletter_marketing` | boolean | false | | |
|
||||
| `newsletter_releases` | boolean | false | | |
|
||||
|
||||
## codersdk.CreateFirstUserRequest
|
||||
|
||||
@@ -2314,11 +2303,9 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
"email": "string",
|
||||
"name": "string",
|
||||
"onboarding_info": {
|
||||
"industry_type": "Technology",
|
||||
"is_business": true,
|
||||
"newsletter_marketing": true,
|
||||
"newsletter_releases": true,
|
||||
"org_size": "Just me"
|
||||
"newsletter_releases": true
|
||||
},
|
||||
"password": "string",
|
||||
"trial": true,
|
||||
@@ -5197,20 +5184,6 @@ Only certain features set these fields: - FeatureManagedAgentLimit|
|
||||
| `label` | string | false | | |
|
||||
| `url` | string | false | | |
|
||||
|
||||
## codersdk.IndustryType
|
||||
|
||||
```json
|
||||
"Technology"
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
| Value(s) |
|
||||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `Consulting`, `Education`, `Energy`, `Financial Services`, `Government`, `Healthcare`, `Manufacturing`, `Media`, `Non-Profit`, `Other`, `Retail`, `Technology`, `Telecom`, `Transportation` |
|
||||
|
||||
## codersdk.InsightsReportInterval
|
||||
|
||||
```json
|
||||
@@ -6442,20 +6415,6 @@ Only certain features set these fields: - FeatureManagedAgentLimit|
|
||||
|--------------------------------------------|
|
||||
| `bool`, `list(string)`, `number`, `string` |
|
||||
|
||||
## codersdk.OrgSizeRange
|
||||
|
||||
```json
|
||||
"Just me"
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
| Value(s) |
|
||||
|------------------------------------------------------------------------|
|
||||
| `1001-5000`, `11-50`, `2-10`, `201-1000`, `5000+`, `51-200`, `Just me` |
|
||||
|
||||
## codersdk.Organization
|
||||
|
||||
```json
|
||||
|
||||
Generated
+1
-3
@@ -246,11 +246,9 @@ curl -X POST http://coder-server:8080/api/v2/users/first \
|
||||
"email": "string",
|
||||
"name": "string",
|
||||
"onboarding_info": {
|
||||
"industry_type": "Technology",
|
||||
"is_business": true,
|
||||
"newsletter_marketing": true,
|
||||
"newsletter_releases": true,
|
||||
"org_size": "Just me"
|
||||
"newsletter_releases": true
|
||||
},
|
||||
"password": "string",
|
||||
"trial": true,
|
||||
|
||||
Reference in New Issue
Block a user