Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Update API Client
Browse files Browse the repository at this point in the history
#### What's Changed
---

##### `GET` /events/events/actions/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Changed items (object):
        > Types of an object that can be created

    * Added property `requires_enterprise` (boolean)

##### `GET` /outposts/service_connections/all/types/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Changed items (object):
        > Types of an object that can be created

    * Added property `requires_enterprise` (boolean)

##### `GET` /policies/all/types/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Changed items (object):
        > Types of an object that can be created

    * Added property `requires_enterprise` (boolean)

##### `GET` /propertymappings/all/types/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Changed items (object):
        > Types of an object that can be created

    * Added property `requires_enterprise` (boolean)

##### `GET` /providers/all/types/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Changed items (object):
        > Types of an object that can be created

    * Added property `requires_enterprise` (boolean)

##### `GET` /schema/

###### Parameters:

Changed: `lang` in `query`

##### `GET` /sources/all/types/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Changed items (object):
        > Types of an object that can be created

    * Added property `requires_enterprise` (boolean)

##### `GET` /stages/all/types/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Changed items (object):
        > Types of an object that can be created

    * Added property `requires_enterprise` (boolean)

##### `GET` /stages/email/templates/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    Changed items (object):
        > Types of an object that can be created

    * Added property `requires_enterprise` (boolean)
  • Loading branch information
authentik-automation[bot] committed Jan 4, 2024
1 parent a9aefe8 commit abc3526
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/SchemaApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | **kotlin.String**| | [optional] [enum: json, yaml]
**lang** | **kotlin.String**| | [optional] [enum: af, ar, ar-dz, ast, az, be, bg, bn, br, bs, ca, ckb, cs, cy, da, de, dsb, el, en, en-au, en-gb, eo, es, es-ar, es-co, es-mx, es-ni, es-ve, et, eu, fa, fi, fr, fy, ga, gd, gl, he, hi, hr, hsb, hu, hy, ia, id, ig, io, is, it, ja, ka, kab, kk, km, kn, ko, ky, lb, lt, lv, mk, ml, mn, mr, ms, my, nb, ne, nl, nn, os, pa, pl, pt, pt-br, ro, ru, sk, sl, sq, sr, sr-latn, sv, sw, ta, te, tg, th, tk, tr, tt, udm, uk, ur, uz, vi, zh-hans, zh-hant]
**lang** | **kotlin.String**| | [optional] [enum: af, ar, ar-dz, ast, az, be, bg, bn, br, bs, ca, ckb, cs, cy, da, de, dsb, el, en, en-au, en-gb, eo, es, es-ar, es-co, es-mx, es-ni, es-ve, et, eu, fa, fi, fr, fy, ga, gd, gl, he, hi, hr, hsb, hu, hy, ia, id, ig, io, is, it, ja, ka, kab, kk, km, kn, ko, ky, lb, lt, lv, mk, ml, mn, mr, ms, my, nb, ne, nl, nn, os, pa, pl, pt, pt-br, ro, ru, sk, sl, sq, sr, sr-latn, sv, sw, ta, te, tg, th, tk, tr, tt, udm, ug, uk, ur, uz, vi, zh-hans, zh-hant]

### Return type

Expand Down
1 change: 1 addition & 0 deletions docs/TypeCreate.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**description** | **kotlin.String** | |
**component** | **kotlin.String** | |
**modelName** | **kotlin.String** | |
**requiresEnterprise** | **kotlin.Boolean** | | [optional]



4 changes: 4 additions & 0 deletions schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19158,6 +19158,7 @@ paths:
- tr
- tt
- udm
- ug
- uk
- ur
- uz
Expand Down Expand Up @@ -42957,6 +42958,9 @@ components:
type: string
model_name:
type: string
requires_enterprise:
type: boolean
default: false
required:
- component
- description
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/io/goauthentik/api/apis/SchemaApi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ class SchemaApi(basePath: kotlin.String = defaultBasePath, client: OkHttpClient
@Json(name = "tr") tr("tr"),
@Json(name = "tt") tt("tt"),
@Json(name = "udm") udm("udm"),
@Json(name = "ug") ug("ug"),
@Json(name = "uk") uk("uk"),
@Json(name = "ur") ur("ur"),
@Json(name = "uz") uz("uz"),
Expand Down
6 changes: 5 additions & 1 deletion src/main/kotlin/io/goauthentik/api/models/TypeCreate.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import com.squareup.moshi.JsonClass
* @param description
* @param component
* @param modelName
* @param requiresEnterprise
*/


Expand All @@ -41,7 +42,10 @@ data class TypeCreate (
val component: kotlin.String,

@Json(name = "model_name")
val modelName: kotlin.String
val modelName: kotlin.String,

@Json(name = "requires_enterprise")
val requiresEnterprise: kotlin.Boolean? = false

)

0 comments on commit abc3526

Please sign in to comment.