Skip to content

Commit

Permalink
fix(enterprise cloud): response data types for SCIM endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Dec 1, 2020
1 parent 366311d commit f149fc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/generated/Endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ type SuccessStatusesMap = {

type DataType<T> = "application/json" extends keyof T
? T["application/json"]
: // SCIM endpoints
"application/scim+json" extends keyof T
? T["application/scim+json"]
: unknown;
type ExtractFirstSuccessResponse<R> = "responses" extends keyof R
? FirstSuccessResponse<R["responses"]>
Expand Down

0 comments on commit f149fc5

Please sign in to comment.