Skip to content

Commit

Permalink
Automated build 'Automated commit 'Merge pull request #1779 from sail…
Browse files Browse the repository at this point in the history
…point/devrel-1724

Fix form definition objects' by github action: 10604060885' go sdk: 10604066954
  • Loading branch information
developer-relations-sp committed Aug 28, 2024
1 parent 3888339 commit 5ef48fb
Show file tree
Hide file tree
Showing 18 changed files with 194 additions and 166 deletions.
82 changes: 42 additions & 40 deletions api_beta/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73522,16 +73522,16 @@ components:
formElements:
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
key: department
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
Expand Down Expand Up @@ -73609,16 +73609,16 @@ components:
formElements:
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
key: department
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
Expand Down Expand Up @@ -73761,16 +73761,16 @@ components:
formElements:
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
key: department
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
Expand Down Expand Up @@ -73899,16 +73899,16 @@ components:
formElements:
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
key: department
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
Expand Down Expand Up @@ -74274,16 +74274,16 @@ components:
formElements:
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
key: department
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
Expand Down Expand Up @@ -74314,12 +74314,12 @@ components:
type: array
x-go-name: FormConditions
formData:
additionalProperties:
type: object
additionalProperties: true
description: FormData is the data provided by the form on submit. The data
is in a key -> value map
example:
department: Engineering
nullable: true
type: object
x-go-name: FormData
formDefinitionId:
Expand Down Expand Up @@ -80994,8 +80994,8 @@ components:
example:
id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
Expand Down Expand Up @@ -81029,8 +81029,7 @@ components:
type: string
x-go-name: ElementType
config:
additionalProperties:
type: object
additionalProperties: true
description: Config object.
example:
label: Department
Expand Down Expand Up @@ -82721,7 +82720,7 @@ components:
value:
description: Based on the ValueType.
example: Engineering
type: object
type: string
x-go-name: Value
type: object
x-go-package: github.com/sailpoint/sp-forms/domain
Expand Down Expand Up @@ -82775,9 +82774,11 @@ components:
FormElementValidationsSet:
description: Set of FormElementValidation items.
example:
- validationType: REQUIRED
validationType: REQUIRED
properties:
validationType:
description: "The type of data validation that you wish to enforce, e.g.,\
\ a required field, a minimum length, etc."
enum:
- REQUIRED
- MIN_LENGTH
Expand All @@ -82791,6 +82792,7 @@ components:
- EMAIL
- DATA_SOURCE
- TEXTAREA
example: REQUIRED
type: string
type: object
x-go-package: github.com/sailpoint/sp-forms/domain
Expand Down Expand Up @@ -83812,16 +83814,16 @@ components:
formElements:
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
key: department
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
Expand Down Expand Up @@ -83947,16 +83949,16 @@ components:
formElements:
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
key: department
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
Expand Down Expand Up @@ -84040,16 +84042,16 @@ components:
formElements:
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
key: department
- id: 00000000-0000-0000-0000-000000000000
validations:
- - validationType: REQUIRED
- - validationType: REQUIRED
- validationType: REQUIRED
- validationType: REQUIRED
elementType: TEXT
config:
label: Department
Expand Down
8 changes: 4 additions & 4 deletions api_beta/docs/ConditionRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**Source** | Pointer to **string** | Source - if the sourceType is ConditionRuleSourceTypeInput, the source type is the name of the form input to accept. However, if the sourceType is ConditionRuleSourceTypeElement, the source is the name of a technical key of an element to retrieve its value. | [optional]
**Operator** | Pointer to **string** | ConditionRuleComparisonOperatorType value. EQ ConditionRuleComparisonOperatorTypeEquals This comparison operator compares the source and target for equality. NE ConditionRuleComparisonOperatorTypeNotEquals This comparison operator compares the source and target for inequality. CO ConditionRuleComparisonOperatorTypeContains This comparison operator searches the source to see whether it contains the value. NOT_CO ConditionRuleComparisonOperatorTypeNotContains IN ConditionRuleComparisonOperatorTypeIncludes This comparison operator searches the source if it equals any of the values. NOT_IN ConditionRuleComparisonOperatorTypeNotIncludes EM ConditionRuleComparisonOperatorTypeEmpty NOT_EM ConditionRuleComparisonOperatorTypeNotEmpty SW ConditionRuleComparisonOperatorTypeStartsWith Checks whether a string starts with another substring of the same string. This operator is case-sensitive. NOT_SW ConditionRuleComparisonOperatorTypeNotStartsWith EW ConditionRuleComparisonOperatorTypeEndsWith Checks whether a string ends with another substring of the same string. This operator is case-sensitive. NOT_EW ConditionRuleComparisonOperatorTypeNotEndsWith | [optional]
**ValueType** | Pointer to **string** | ConditionRuleValueType type. STRING ConditionRuleValueTypeString This value is a static string. STRING_LIST ConditionRuleValueTypeStringList This value is an array of string values. INPUT ConditionRuleValueTypeInput This value is a reference to a form input. ELEMENT ConditionRuleValueTypeElement This value is a reference to a form element (by technical key). LIST ConditionRuleValueTypeList BOOLEAN ConditionRuleValueTypeBoolean | [optional]
**Value** | Pointer to **map[string]interface{}** | Based on the ValueType. | [optional]
**Value** | Pointer to **string** | Based on the ValueType. | [optional]

## Methods

Expand Down Expand Up @@ -131,20 +131,20 @@ HasValueType returns a boolean if a field has been set.

### GetValue

`func (o *ConditionRule) GetValue() map[string]interface{}`
`func (o *ConditionRule) GetValue() string`

GetValue returns the Value field if non-nil, zero value otherwise.

### GetValueOk

`func (o *ConditionRule) GetValueOk() (*map[string]interface{}, bool)`
`func (o *ConditionRule) GetValueOk() (*string, bool)`

GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetValue

`func (o *ConditionRule) SetValue(v map[string]interface{})`
`func (o *ConditionRule) SetValue(v string)`

SetValue sets Value field to given value.

Expand Down
8 changes: 4 additions & 4 deletions api_beta/docs/FormElement.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | Pointer to **string** | Form element identifier. | [optional]
**ElementType** | Pointer to **string** | FormElementType value. TEXT FormElementTypeText TOGGLE FormElementTypeToggle TEXTAREA FormElementTypeTextArea HIDDEN FormElementTypeHidden PHONE FormElementTypePhone EMAIL FormElementTypeEmail SELECT FormElementTypeSelect DATE FormElementTypeDate SECTION FormElementTypeSection COLUMN_SET FormElementTypeColumns IMAGE FormElementTypeImage DESCRIPTION FormElementTypeDescription | [optional]
**Config** | Pointer to **map[string]map[string]interface{}** | Config object. | [optional]
**Config** | Pointer to **map[string]interface{}** | Config object. | [optional]
**Key** | Pointer to **string** | Technical key. | [optional]
**Validations** | Pointer to [**[]FormElementValidationsSet**](FormElementValidationsSet.md) | | [optional]

Expand Down Expand Up @@ -81,20 +81,20 @@ HasElementType returns a boolean if a field has been set.

### GetConfig

`func (o *FormElement) GetConfig() map[string]map[string]interface{}`
`func (o *FormElement) GetConfig() map[string]interface{}`

GetConfig returns the Config field if non-nil, zero value otherwise.

### GetConfigOk

`func (o *FormElement) GetConfigOk() (*map[string]map[string]interface{}, bool)`
`func (o *FormElement) GetConfigOk() (*map[string]interface{}, bool)`

GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetConfig

`func (o *FormElement) SetConfig(v map[string]map[string]interface{})`
`func (o *FormElement) SetConfig(v map[string]interface{})`

SetConfig sets Config field to given value.

Expand Down
2 changes: 1 addition & 1 deletion api_beta/docs/FormElementValidationsSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ValidationType** | Pointer to **string** | | [optional]
**ValidationType** | Pointer to **string** | The type of data validation that you wish to enforce, e.g., a required field, a minimum length, etc. | [optional]

## Methods

Expand Down
18 changes: 14 additions & 4 deletions api_beta/docs/FormInstanceResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**CreatedBy** | Pointer to [**FormInstanceCreatedBy**](FormInstanceCreatedBy.md) | | [optional]
**Expire** | Pointer to **string** | Expire is the maximum amount of time that a form can be in progress. After this time is reached then the form will be moved to a CANCELED state automatically. The user will no longer be able to complete the submission. When a form instance is expires an audit log will be generated for that record | [optional]
**FormConditions** | Pointer to [**[]FormCondition**](FormCondition.md) | FormConditions is the conditional logic that modify the form dynamically modify the form as the recipient is interacting out the form | [optional]
**FormData** | Pointer to **map[string]map[string]interface{}** | FormData is the data provided by the form on submit. The data is in a key -> value map | [optional]
**FormData** | Pointer to **map[string]interface{}** | FormData is the data provided by the form on submit. The data is in a key -> value map | [optional]
**FormDefinitionId** | Pointer to **string** | FormDefinitionID is the id of the form definition that created this form | [optional]
**FormElements** | Pointer to [**[]FormElement**](FormElement.md) | FormElements is the configuration of the form, this would be a repeat of the fields from the form-config | [optional]
**FormErrors** | Pointer to [**[]FormError**](FormError.md) | FormErrors is an array of form validation errors from the last time the form instance was transitioned to the SUBMITTED state. If the form instance had validation errors then it would be moved to the IN PROGRESS state where the client can retrieve these errors | [optional]
Expand Down Expand Up @@ -141,20 +141,20 @@ HasFormConditions returns a boolean if a field has been set.

### GetFormData

`func (o *FormInstanceResponse) GetFormData() map[string]map[string]interface{}`
`func (o *FormInstanceResponse) GetFormData() map[string]interface{}`

GetFormData returns the FormData field if non-nil, zero value otherwise.

### GetFormDataOk

`func (o *FormInstanceResponse) GetFormDataOk() (*map[string]map[string]interface{}, bool)`
`func (o *FormInstanceResponse) GetFormDataOk() (*map[string]interface{}, bool)`

GetFormDataOk returns a tuple with the FormData field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetFormData

`func (o *FormInstanceResponse) SetFormData(v map[string]map[string]interface{})`
`func (o *FormInstanceResponse) SetFormData(v map[string]interface{})`

SetFormData sets FormData field to given value.

Expand All @@ -164,6 +164,16 @@ SetFormData sets FormData field to given value.

HasFormData returns a boolean if a field has been set.

### SetFormDataNil

`func (o *FormInstanceResponse) SetFormDataNil(b bool)`

SetFormDataNil sets the value for FormData to be an explicit nil

### UnsetFormData
`func (o *FormInstanceResponse) UnsetFormData()`

UnsetFormData ensures that no value is present for FormData, not even an explicit nil
### GetFormDefinitionId

`func (o *FormInstanceResponse) GetFormDefinitionId() string`
Expand Down
Loading

0 comments on commit 5ef48fb

Please sign in to comment.