Skip to content

Commit 7ac6749

Browse files
committedMar 25, 2024
Update API Client
#### What's Changed --- ##### `GET` /admin/version/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `version_latest_valid` (boolean -> string) > Check if latest version is valid ##### `GET` /rac/connection_tokens/{connection_token_uuid}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` New optional properties: - `pk` * Changed property `pk` (string) * Changed property `endpoint` (string) ##### `PUT` /rac/connection_tokens/{connection_token_uuid}/ ###### Request: Changed content type : `application/json` New required properties: - `endpoint` * Added property `pk` (string) * Added property `endpoint` (string) ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` New optional properties: - `pk` * Changed property `pk` (string) * Changed property `endpoint` (string) ##### `PATCH` /rac/connection_tokens/{connection_token_uuid}/ ###### Request: Changed content type : `application/json` * Added property `pk` (string) * Added property `endpoint` (string) ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` New optional properties: - `pk` * Changed property `pk` (string) * Changed property `endpoint` (string) ##### `GET` /rac/connection_tokens/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > ConnectionToken Serializer New optional properties: - `pk` * Changed property `pk` (string) * Changed property `endpoint` (string) ##### `GET` /flows/executor/{flow_slug}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` Updated `ak-stage-identification` component: New required properties: - `flow_designation` * Added property `flow_designation` (string) > * `authentication` - Authentication > * `authorization` - Authorization > * `invalidation` - Invalidation > * `enrollment` - Enrollment > * `unenrollment` - Unrenollment > * `recovery` - Recovery > * `stage_configuration` - Stage Configuration Enum values: * `authentication` * `authorization` * `invalidation` * `enrollment` * `unenrollment` * `recovery` * `stage_configuration` ##### `POST` /flows/executor/{flow_slug}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` Updated `ak-stage-identification` component: New required properties: - `flow_designation` * Added property `flow_designation` (string) > * `authentication` - Authentication > * `authorization` - Authorization > * `invalidation` - Invalidation > * `enrollment` - Enrollment > * `unenrollment` - Unrenollment > * `recovery` - Recovery > * `stage_configuration` - Stage Configuration
1 parent 6f1d115 commit 7ac6749

14 files changed

+402
-49
lines changed
 

‎api/openapi.yaml

+26-7
Original file line numberDiff line numberDiff line change
@@ -35696,8 +35696,7 @@ components:
3569635696
properties:
3569735697
pk:
3569835698
format: uuid
35699-
readOnly: true
35700-
title: Pbm uuid
35699+
title: Connection token uuid
3570135700
type: string
3570235701
provider:
3570335702
type: integer
@@ -35707,7 +35706,6 @@ components:
3570735706
readOnly: true
3570835707
endpoint:
3570935708
format: uuid
35710-
readOnly: true
3571135709
type: string
3571235710
endpoint_obj:
3571335711
allOf:
@@ -35720,19 +35718,28 @@ components:
3572035718
required:
3572135719
- endpoint
3572235720
- endpoint_obj
35723-
- pk
3572435721
- provider
3572535722
- provider_obj
3572635723
- user
3572735724
type: object
3572835725
ConnectionTokenRequest:
3572935726
description: ConnectionToken Serializer
3573035727
example:
35728+
endpoint: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
3573135729
provider: 0
35730+
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
3573235731
properties:
35732+
pk:
35733+
format: uuid
35734+
title: Connection token uuid
35735+
type: string
3573335736
provider:
3573435737
type: integer
35738+
endpoint:
35739+
format: uuid
35740+
type: string
3573535741
required:
35742+
- endpoint
3573635743
- provider
3573735744
type: object
3573835745
ConsentChallenge:
@@ -38923,6 +38930,8 @@ components:
3892338930
type: boolean
3892438931
application_pre:
3892538932
type: string
38933+
flow_designation:
38934+
$ref: '#/components/schemas/FlowDesignationEnum'
3892638935
enroll_url:
3892738936
type: string
3892838937
recovery_url:
@@ -38938,6 +38947,7 @@ components:
3893838947
show_source_labels:
3893938948
type: boolean
3894038949
required:
38950+
- flow_designation
3894138951
- password_fields
3894238952
- primary_action
3894338953
- show_source_labels
@@ -49264,10 +49274,19 @@ components:
4926449274
PatchedConnectionTokenRequest:
4926549275
description: ConnectionToken Serializer
4926649276
example:
49277+
endpoint: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
4926749278
provider: 0
49279+
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
4926849280
properties:
49281+
pk:
49282+
format: uuid
49283+
title: Connection token uuid
49284+
type: string
4926949285
provider:
4927049286
type: integer
49287+
endpoint:
49288+
format: uuid
49289+
type: string
4927149290
type: object
4927249291
PatchedConsentStageRequest:
4927349292
description: ConsentStage Serializer
@@ -58753,7 +58772,7 @@ components:
5875358772
example:
5875458773
version_current: version_current
5875558774
outdated: true
58756-
version_latest_valid: true
58775+
version_latest_valid: version_latest_valid
5875758776
version_latest: version_latest
5875858777
build_hash: build_hash
5875958778
properties:
@@ -58766,9 +58785,9 @@ components:
5876658785
readOnly: true
5876758786
type: string
5876858787
version_latest_valid:
58769-
description: Latest version query is a valid non-default value
58788+
description: Check if latest version is valid
5877058789
readOnly: true
58771-
type: boolean
58790+
type: string
5877258791
build_hash:
5877358792
description: "Get build hash, if version is not latest or released"
5877458793
readOnly: true

‎docs/ChallengeTypes.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Name | Type | Description | Notes
4040
**UserFields** | **[]string** | |
4141
**PasswordFields** | **bool** | |
4242
**ApplicationPre** | Pointer to **string** | | [optional]
43+
**FlowDesignation** | [**FlowDesignationEnum**](FlowDesignationEnum.md) | |
4344
**EnrollUrl** | Pointer to **string** | | [optional]
4445
**RecoveryUrl** | Pointer to **string** | | [optional]
4546
**PasswordlessUrl** | Pointer to **string** | | [optional]
@@ -55,7 +56,7 @@ Name | Type | Description | Notes
5556

5657
### NewChallengeTypes
5758

58-
`func NewChallengeTypes(type_ ChallengeChoices, pendingUser string, pendingUserAvatar string, clientId string, scope string, redirectUri string, state string, activationBarcode string, activationCode string, stageUuid string, codes []string, configUrl string, deviceChallenges []DeviceChallenge, configurationStages []SelectableStage, registration map[string]interface{}, url string, attrs map[string]string, siteKey string, jsUrl string, permissions []ConsentPermission, additionalPermissions []ConsentPermission, token string, name string, requestId string, userFields []string, passwordFields bool, primaryAction string, showSourceLabels bool, slug string, fields []StagePrompt, to string, body string, ) *ChallengeTypes`
59+
`func NewChallengeTypes(type_ ChallengeChoices, pendingUser string, pendingUserAvatar string, clientId string, scope string, redirectUri string, state string, activationBarcode string, activationCode string, stageUuid string, codes []string, configUrl string, deviceChallenges []DeviceChallenge, configurationStages []SelectableStage, registration map[string]interface{}, url string, attrs map[string]string, siteKey string, jsUrl string, permissions []ConsentPermission, additionalPermissions []ConsentPermission, token string, name string, requestId string, userFields []string, passwordFields bool, flowDesignation FlowDesignationEnum, primaryAction string, showSourceLabels bool, slug string, fields []StagePrompt, to string, body string, ) *ChallengeTypes`
5960

6061
NewChallengeTypes instantiates a new ChallengeTypes object
6162
This constructor will assign default values to properties that have it defined,
@@ -850,6 +851,26 @@ SetApplicationPre sets ApplicationPre field to given value.
850851

851852
HasApplicationPre returns a boolean if a field has been set.
852853

854+
### GetFlowDesignation
855+
856+
`func (o *ChallengeTypes) GetFlowDesignation() FlowDesignationEnum`
857+
858+
GetFlowDesignation returns the FlowDesignation field if non-nil, zero value otherwise.
859+
860+
### GetFlowDesignationOk
861+
862+
`func (o *ChallengeTypes) GetFlowDesignationOk() (*FlowDesignationEnum, bool)`
863+
864+
GetFlowDesignationOk returns a tuple with the FlowDesignation field if it's non-nil, zero value otherwise
865+
and a boolean to check if the value has been set.
866+
867+
### SetFlowDesignation
868+
869+
`func (o *ChallengeTypes) SetFlowDesignation(v FlowDesignationEnum)`
870+
871+
SetFlowDesignation sets FlowDesignation field to given value.
872+
873+
853874
### GetEnrollUrl
854875

855876
`func (o *ChallengeTypes) GetEnrollUrl() string`

‎docs/ConnectionToken.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**Pk** | **string** | | [readonly]
7+
**Pk** | Pointer to **string** | | [optional]
88
**Provider** | **int32** | |
99
**ProviderObj** | [**RACProvider**](RACProvider.md) | | [readonly]
10-
**Endpoint** | **string** | | [readonly]
10+
**Endpoint** | **string** | |
1111
**EndpointObj** | [**Endpoint**](Endpoint.md) | | [readonly]
1212
**User** | [**GroupMember**](GroupMember.md) | | [readonly]
1313

1414
## Methods
1515

1616
### NewConnectionToken
1717

18-
`func NewConnectionToken(pk string, provider int32, providerObj RACProvider, endpoint string, endpointObj Endpoint, user GroupMember, ) *ConnectionToken`
18+
`func NewConnectionToken(provider int32, providerObj RACProvider, endpoint string, endpointObj Endpoint, user GroupMember, ) *ConnectionToken`
1919

2020
NewConnectionToken instantiates a new ConnectionToken object
2121
This constructor will assign default values to properties that have it defined,
@@ -49,6 +49,11 @@ and a boolean to check if the value has been set.
4949

5050
SetPk sets Pk field to given value.
5151

52+
### HasPk
53+
54+
`func (o *ConnectionToken) HasPk() bool`
55+
56+
HasPk returns a boolean if a field has been set.
5257

5358
### GetProvider
5459

‎docs/ConnectionTokenRequest.md

+48-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**Pk** | Pointer to **string** | | [optional]
78
**Provider** | **int32** | |
9+
**Endpoint** | **string** | |
810

911
## Methods
1012

1113
### NewConnectionTokenRequest
1214

13-
`func NewConnectionTokenRequest(provider int32, ) *ConnectionTokenRequest`
15+
`func NewConnectionTokenRequest(provider int32, endpoint string, ) *ConnectionTokenRequest`
1416

1517
NewConnectionTokenRequest instantiates a new ConnectionTokenRequest object
1618
This constructor will assign default values to properties that have it defined,
@@ -25,6 +27,31 @@ NewConnectionTokenRequestWithDefaults instantiates a new ConnectionTokenRequest
2527
This constructor will only assign default values to properties that have it defined,
2628
but it doesn't guarantee that properties required by API are set
2729

30+
### GetPk
31+
32+
`func (o *ConnectionTokenRequest) GetPk() string`
33+
34+
GetPk returns the Pk field if non-nil, zero value otherwise.
35+
36+
### GetPkOk
37+
38+
`func (o *ConnectionTokenRequest) GetPkOk() (*string, bool)`
39+
40+
GetPkOk returns a tuple with the Pk field if it's non-nil, zero value otherwise
41+
and a boolean to check if the value has been set.
42+
43+
### SetPk
44+
45+
`func (o *ConnectionTokenRequest) SetPk(v string)`
46+
47+
SetPk sets Pk field to given value.
48+
49+
### HasPk
50+
51+
`func (o *ConnectionTokenRequest) HasPk() bool`
52+
53+
HasPk returns a boolean if a field has been set.
54+
2855
### GetProvider
2956

3057
`func (o *ConnectionTokenRequest) GetProvider() int32`
@@ -45,6 +72,26 @@ and a boolean to check if the value has been set.
4572
SetProvider sets Provider field to given value.
4673

4774

75+
### GetEndpoint
76+
77+
`func (o *ConnectionTokenRequest) GetEndpoint() string`
78+
79+
GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.
80+
81+
### GetEndpointOk
82+
83+
`func (o *ConnectionTokenRequest) GetEndpointOk() (*string, bool)`
84+
85+
GetEndpointOk returns a tuple with the Endpoint field if it's non-nil, zero value otherwise
86+
and a boolean to check if the value has been set.
87+
88+
### SetEndpoint
89+
90+
`func (o *ConnectionTokenRequest) SetEndpoint(v string)`
91+
92+
SetEndpoint sets Endpoint field to given value.
93+
94+
4895

4996
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
5097

‎docs/IdentificationChallenge.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**UserFields** | **[]string** | |
1212
**PasswordFields** | **bool** | |
1313
**ApplicationPre** | Pointer to **string** | | [optional]
14+
**FlowDesignation** | [**FlowDesignationEnum**](FlowDesignationEnum.md) | |
1415
**EnrollUrl** | Pointer to **string** | | [optional]
1516
**RecoveryUrl** | Pointer to **string** | | [optional]
1617
**PasswordlessUrl** | Pointer to **string** | | [optional]
@@ -22,7 +23,7 @@ Name | Type | Description | Notes
2223

2324
### NewIdentificationChallenge
2425

25-
`func NewIdentificationChallenge(type_ ChallengeChoices, userFields []string, passwordFields bool, primaryAction string, showSourceLabels bool, ) *IdentificationChallenge`
26+
`func NewIdentificationChallenge(type_ ChallengeChoices, userFields []string, passwordFields bool, flowDesignation FlowDesignationEnum, primaryAction string, showSourceLabels bool, ) *IdentificationChallenge`
2627

2728
NewIdentificationChallenge instantiates a new IdentificationChallenge object
2829
This constructor will assign default values to properties that have it defined,
@@ -207,6 +208,26 @@ SetApplicationPre sets ApplicationPre field to given value.
207208

208209
HasApplicationPre returns a boolean if a field has been set.
209210

211+
### GetFlowDesignation
212+
213+
`func (o *IdentificationChallenge) GetFlowDesignation() FlowDesignationEnum`
214+
215+
GetFlowDesignation returns the FlowDesignation field if non-nil, zero value otherwise.
216+
217+
### GetFlowDesignationOk
218+
219+
`func (o *IdentificationChallenge) GetFlowDesignationOk() (*FlowDesignationEnum, bool)`
220+
221+
GetFlowDesignationOk returns a tuple with the FlowDesignation field if it's non-nil, zero value otherwise
222+
and a boolean to check if the value has been set.
223+
224+
### SetFlowDesignation
225+
226+
`func (o *IdentificationChallenge) SetFlowDesignation(v FlowDesignationEnum)`
227+
228+
SetFlowDesignation sets FlowDesignation field to given value.
229+
230+
210231
### GetEnrollUrl
211232

212233
`func (o *IdentificationChallenge) GetEnrollUrl() string`

‎docs/PatchedConnectionTokenRequest.md

+52
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**Pk** | Pointer to **string** | | [optional]
78
**Provider** | Pointer to **int32** | | [optional]
9+
**Endpoint** | Pointer to **string** | | [optional]
810

911
## Methods
1012

@@ -25,6 +27,31 @@ NewPatchedConnectionTokenRequestWithDefaults instantiates a new PatchedConnectio
2527
This constructor will only assign default values to properties that have it defined,
2628
but it doesn't guarantee that properties required by API are set
2729

30+
### GetPk
31+
32+
`func (o *PatchedConnectionTokenRequest) GetPk() string`
33+
34+
GetPk returns the Pk field if non-nil, zero value otherwise.
35+
36+
### GetPkOk
37+
38+
`func (o *PatchedConnectionTokenRequest) GetPkOk() (*string, bool)`
39+
40+
GetPkOk returns a tuple with the Pk field if it's non-nil, zero value otherwise
41+
and a boolean to check if the value has been set.
42+
43+
### SetPk
44+
45+
`func (o *PatchedConnectionTokenRequest) SetPk(v string)`
46+
47+
SetPk sets Pk field to given value.
48+
49+
### HasPk
50+
51+
`func (o *PatchedConnectionTokenRequest) HasPk() bool`
52+
53+
HasPk returns a boolean if a field has been set.
54+
2855
### GetProvider
2956

3057
`func (o *PatchedConnectionTokenRequest) GetProvider() int32`
@@ -50,6 +77,31 @@ SetProvider sets Provider field to given value.
5077

5178
HasProvider returns a boolean if a field has been set.
5279

80+
### GetEndpoint
81+
82+
`func (o *PatchedConnectionTokenRequest) GetEndpoint() string`
83+
84+
GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.
85+
86+
### GetEndpointOk
87+
88+
`func (o *PatchedConnectionTokenRequest) GetEndpointOk() (*string, bool)`
89+
90+
GetEndpointOk returns a tuple with the Endpoint field if it's non-nil, zero value otherwise
91+
and a boolean to check if the value has been set.
92+
93+
### SetEndpoint
94+
95+
`func (o *PatchedConnectionTokenRequest) SetEndpoint(v string)`
96+
97+
SetEndpoint sets Endpoint field to given value.
98+
99+
### HasEndpoint
100+
101+
`func (o *PatchedConnectionTokenRequest) HasEndpoint() bool`
102+
103+
HasEndpoint returns a boolean if a field has been set.
104+
53105

54106
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
55107

‎docs/RacApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ import (
330330

331331
func main() {
332332
connectionTokenUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Connection token.
333-
connectionTokenRequest := *openapiclient.NewConnectionTokenRequest(int32(123)) // ConnectionTokenRequest |
333+
connectionTokenRequest := *openapiclient.NewConnectionTokenRequest(int32(123), "Endpoint_example") // ConnectionTokenRequest |
334334

335335
configuration := openapiclient.NewConfiguration()
336336
apiClient := openapiclient.NewAPIClient(configuration)

0 commit comments

Comments
 (0)
Please sign in to comment.