From 3ed0d41a6742341b3b1f8981d0b1c6937005ca2e Mon Sep 17 00:00:00 2001 From: Eddy Filip Date: Wed, 18 May 2022 13:27:18 +0300 Subject: [PATCH] Add support for excluding characters from the generator recipe --- onepassword/items.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/onepassword/items.go b/onepassword/items.go index e837419..3354bc1 100644 --- a/onepassword/items.go +++ b/onepassword/items.go @@ -96,8 +96,9 @@ type ItemSection struct { // GeneratorRecipe Representation of a "recipe" used to generate a field type GeneratorRecipe struct { - Length int `json:"length,omitempty"` - CharacterSets []string `json:"characterSets,omitempty"` + Length int `json:"length,omitempty"` + CharacterSets []string `json:"characterSets,omitempty"` + ExcludeCharacters string `json:"excludeCharacters,omitempty"` } // ItemField Representation of a single field on an Item