Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the InspectionType property to the `GovernmentIdConfiguration… #278

Merged
merged 4 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Release (Unreleased)

* `github.com/patrickcping/pingone-go-sdk-v2/verify` : [v0.4.0](./verify/CHANGELOG.md)
* **Enhancement** Added the `InspectionType` property to the `GovernmentIdConfiguration` object model. [#278](https://github.com/patrickcping/pingone-go-sdk-v2/pull/278)

# Release (2023-11-01)

* `github.com/patrickcping/pingone-go-sdk-v2` : v0.10.9
Expand Down
2 changes: 2 additions & 0 deletions verify/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ api_voice_phrases.go
configuration.go
docs/EntityArray.md
docs/EntityArrayEmbedded.md
docs/EnumInspectionType.md
docs/EnumThreshold.md
docs/EnumTimeUnit.md
docs/EnumVerify.md
Expand Down Expand Up @@ -46,6 +47,7 @@ go.mod
go.sum
model_entity_array.go
model_entity_array__embedded.go
model_enum_inspection_type.go
model_enum_threshold.go
model_enum_time_unit.go
model_enum_verify.go
Expand Down
2 changes: 1 addition & 1 deletion verify/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1
0.4.0
4 changes: 4 additions & 0 deletions verify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.4.0 (Unreleased)

* **Enhancement** Added the `InspectionType` property to the `GovernmentIdConfiguration` object model. [#278](https://github.com/patrickcping/pingone-go-sdk-v2/pull/278)

# v0.3.1 (2023-10-16)

* **Note** Unskip read only attributes when converting API models to maps. [#255](https://github.com/patrickcping/pingone-go-sdk-v2/pull/255)
Expand Down
3 changes: 2 additions & 1 deletion verify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Verify service
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023-07-20
- Package version: 0.3.1
- Package version: 0.4.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down Expand Up @@ -98,6 +98,7 @@ Class | Method | HTTP request | Description

- [EntityArray](docs/EntityArray.md)
- [EntityArrayEmbedded](docs/EntityArrayEmbedded.md)
- [EnumInspectionType](docs/EnumInspectionType.md)
- [EnumThreshold](docs/EnumThreshold.md)
- [EnumTimeUnit](docs/EnumTimeUnit.md)
- [EnumVerify](docs/EnumVerify.md)
Expand Down
16 changes: 16 additions & 0 deletions verify/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,7 @@ components:
duration: 2
timeUnit: null
governmentId:
inspectionType: null
verify: null
updatedAt: 2000-01-23T04:56:07.000+00:00
- voice:
Expand Down Expand Up @@ -1354,6 +1355,7 @@ components:
duration: 2
timeUnit: null
governmentId:
inspectionType: null
verify: null
updatedAt: 2000-01-23T04:56:07.000+00:00
voicePhrases:
Expand All @@ -1377,6 +1379,14 @@ components:
size:
type: number
type: object
EnumInspectionType:
description: "A string that defines the mechanism used to authenticate a `governmentId`\
\ document. Options are `AUTOMATIC`, `MANUAL`, or `STEP_UP`."
enum:
- AUTOMATIC
- MANUAL
- STEP_UP
type: string
EnumTimeUnit:
description: A string that defines the time unit of a specified duration in
`SECONDS` or `MINUTES`.
Expand Down Expand Up @@ -1415,8 +1425,11 @@ components:
type: object
GovernmentIdConfiguration:
example:
inspectionType: null
verify: null
properties:
inspectionType:
$ref: '#/components/schemas/EnumInspectionType'
verify:
$ref: '#/components/schemas/EnumVerify'
required:
Expand Down Expand Up @@ -1741,6 +1754,7 @@ components:
duration: 2
timeUnit: null
governmentId:
inspectionType: null
verify: null
updatedAt: 2000-01-23T04:56:07.000+00:00
properties:
Expand Down Expand Up @@ -1907,6 +1921,7 @@ components:
duration: 2
timeUnit: null
governmentId:
inspectionType: null
verify: null
updatedAt: 2000-01-23T04:56:07.000+00:00
- voice:
Expand Down Expand Up @@ -1986,6 +2001,7 @@ components:
duration: 2
timeUnit: null
governmentId:
inspectionType: null
verify: null
updatedAt: 2000-01-23T04:56:07.000+00:00
voicePhrases:
Expand Down
2 changes: 1 addition & 1 deletion verify/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions verify/docs/EnumInspectionType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EnumInspectionType

## Enum


* `AUTOMATIC` (value: `"AUTOMATIC"`)

* `MANUAL` (value: `"MANUAL"`)

* `STEP_UP` (value: `"STEP_UP"`)


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


26 changes: 26 additions & 0 deletions verify/docs/GovernmentIdConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**InspectionType** | Pointer to [**EnumInspectionType**](EnumInspectionType.md) | | [optional]
**Verify** | [**EnumVerify**](EnumVerify.md) | |

## Methods
Expand All @@ -25,6 +26,31 @@ NewGovernmentIdConfigurationWithDefaults instantiates a new GovernmentIdConfigur
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set

### GetInspectionType

`func (o *GovernmentIdConfiguration) GetInspectionType() EnumInspectionType`

GetInspectionType returns the InspectionType field if non-nil, zero value otherwise.

### GetInspectionTypeOk

`func (o *GovernmentIdConfiguration) GetInspectionTypeOk() (*EnumInspectionType, bool)`

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

### SetInspectionType

`func (o *GovernmentIdConfiguration) SetInspectionType(v EnumInspectionType)`

SetInspectionType sets InspectionType field to given value.

### HasInspectionType

`func (o *GovernmentIdConfiguration) HasInspectionType() bool`

HasInspectionType returns a boolean if a field has been set.

### GetVerify

`func (o *GovernmentIdConfiguration) GetVerify() EnumVerify`
Expand Down
7 changes: 7 additions & 0 deletions verify/generate/pingone-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ components:
$ref: '#/components/schemas/VoicePhraseContents'
size:
type: number
EnumInspectionType:
type: string
enum: [AUTOMATIC, MANUAL, STEP_UP]
description: A string that defines the mechanism used to authenticate a `governmentId` document. Options are `AUTOMATIC`, `MANUAL`, or `STEP_UP`.
EnumTimeUnit:
type: string
enum: [SECONDS, MINUTES]
Expand Down Expand Up @@ -106,6 +110,9 @@ components:
GovernmentIdConfiguration:
type: object
properties:
inspectionType:
$ref: '#/components/schemas/EnumInspectionType'
description: Determines whether document authentication is automated, manual, or a combination of both where manual authentication is performed if automated inspection fails. Can be AUTOMATIC, MANUAL, or STEP_UP.
verify:
$ref: '#/components/schemas/EnumVerify'
description: Controls if Government ID verification is REQUIRED, OPTIONAL, or DISABLED.
Expand Down
2 changes: 1 addition & 1 deletion verify/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/verify

go 1.18

require golang.org/x/exp v0.0.0-20230905200255-921286631fa9
require golang.org/x/exp v0.0.0-20231006140011-7918f672742d
4 changes: 2 additions & 2 deletions verify/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g=
golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k=
golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI=
golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo=
114 changes: 114 additions & 0 deletions verify/model_enum_inspection_type.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions verify/model_government_id_configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading