Skip to content

Commit

Permalink
[JM-1457]: Set element to nil if not given (#1098)
Browse files Browse the repository at this point in the history
* Bump golang.org/x/net from 0.22.0 to 0.23.0 (#951)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add team to custom resolver (#950)

* Devtooling 432: Refactor Conditional Group Routing Rules into its own resource (#921)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Fixed routing queue tests

* Removed accidental commits

* Rebased and fixed errors

* Made some requested changes

* Added evaluated_queue_id

* Added warning

* Fixed some things

* Fixed test

* Fixing exporter

* Fixed type

* Changing target branch of dependabot PRs to dev (#956)

* Fix User Resource Panics (#949)

* moving changes (#964)

* Reverting conditional group routing resoure (#965)

* Remove use_supported_content_profile (#962)

* bug/ DEVTOOLING-516: Allow Multiple inputs for BYMONTHDAY and BYMONTH (#953)

* Allow Multiple inputs for BYMONTHDAY and BYMONTH

* Update go.mod

* Added Error Message to Validator

* Bug/devtooling-530: Fixing panic during export caused by MemberGroupsResolver (#957)

* Changing groups.owner_ids to optional and computed

* Preventing panic inside MemberGroupsResolver with some refactoring

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag… (#946)

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag.  This is pulling the index.md out of git hub and overriding what ever is being generated.

* DEVTOOLING-417: Fixed a mispelling in a package alias

* DEVTOOLING-417 Accidently added cache code

* avoiding infinite loop in flow data source read (#966)

* feat/Devtooling-448 oauth cred cache (#945)

* DEVTOOLING-448:  Initial commit of code

* DEVTOOLING-448:  Added caching while creating a Genesys Cloud OAuth Client specific so we dont have to force the user embed a secret

* DEVTOOLING-448: Refactored retrieveCachedOauthClientSecret code

* DEVTOOLING-448: Committing interm work

* DEVTOOLING-448:  Reworked how we handle the addition of roles for user credentials

* DEVTOOLING-448: Removed the ToPtrStr function

* Fixing go.mod and running go generate (#967)

* feat/Devtooling-459: Added BuildAPIDiagnosticError function calls (#959)

* added buildDiag function p1

* Adding call to BuildApiDiag

* BuildAPIDiag functions added

* Added util.BuildAPIDiag function to refactored resources

* Added call to BuildAPIDiag in resources

* Update go.mod

* Fixed tests

* Update go.mod

* Added err

* Added err

* Update go.mod

* Requested Changes

* Fix for BotFlows dependencies (#961)

* feat/Devtooling-531: Add proxy and cache to routing queue (#958)

* Added cache to routing queue

* Added proxy and caching to routing queue

* Removed log

* Add consistency checker back

* Fix group cache

* Fix Export cyclic deps (#968)

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Feat/devtooling-177: Refactored orgAuthorization_pairing  (#975)

* refactored orgauthorization_pairing

* Added exporter for response management response asset

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Fixed test

* using resource mutexes in init_test files & linting errors (#973)

* Feature/devtooling 63 (#974)

* Introduce new Elements

* Update Attribs

* Introduce scoring Method

* Upgrade ssdk

* remove unwanted logs

* Feature/devtooling 63 (#978)

* Fix exports

* Feat/add flow log level resource (#948)

* add code changes

* add flow log level changes

* testing commit

* getting there, have a create test together

* still trying to get a passing test

* tests have passed! but getting the plan was not empty errors now

* flow log level test

* finally got tests passing

* remove debug logging

* rerun go generate

* rerun go generate

* apply suggestions from PR review

* address PR review

* remove characteristics

* address PR comments

* return total flow log levels when no more are found

---------

Co-authored-by: dginty4 <[email protected]>

* NO-JIRA: Small Change to flow log level (#984)

* Small Change to flow log level

* Fixing typo

* Merge hotfix changes on main into dev (#983)

* moving changes (#960)

* Revert "moving changes (#960)" (#963)

This reverts commit 70d8a8036c52ae2f91aee081fe0d1c4c5451a58f.

* Release Merge to Main (#977)

* Bump golang.org/x/net from 0.22.0 to 0.23.0 (#951)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add team to custom resolver (#950)

* Devtooling 432: Refactor Conditional Group Routing Rules into its own resource (#921)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Fixed routing queue tests

* Removed accidental commits

* Rebased and fixed errors

* Made some requested changes

* Added evaluated_queue_id

* Added warning

* Fixed some things

* Fixed test

* Fixing exporter

* Fixed type

* Changing target branch of dependabot PRs to dev (#956)

* Fix User Resource Panics (#949)

* moving changes (#964)

* Reverting conditional group routing resoure (#965)

* Remove use_supported_content_profile (#962)

* bug/ DEVTOOLING-516: Allow Multiple inputs for BYMONTHDAY and BYMONTH (#953)

* Allow Multiple inputs for BYMONTHDAY and BYMONTH

* Update go.mod

* Added Error Message to Validator

* Bug/devtooling-530: Fixing panic during export caused by MemberGroupsResolver (#957)

* Changing groups.owner_ids to optional and computed

* Preventing panic inside MemberGroupsResolver with some refactoring

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag… (#946)

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag.  This is pulling the index.md out of git hub and overriding what ever is being generated.

* DEVTOOLING-417: Fixed a mispelling in a package alias

* DEVTOOLING-417 Accidently added cache code

* avoiding infinite loop in flow data source read (#966)

* feat/Devtooling-448 oauth cred cache (#945)

* DEVTOOLING-448:  Initial commit of code

* DEVTOOLING-448:  Added caching while creating a Genesys Cloud OAuth Client specific so we dont have to force the user embed a secret

* DEVTOOLING-448: Refactored retrieveCachedOauthClientSecret code

* DEVTOOLING-448: Committing interm work

* DEVTOOLING-448:  Reworked how we handle the addition of roles for user credentials

* DEVTOOLING-448: Removed the ToPtrStr function

* Fixing go.mod and running go generate (#967)

* feat/Devtooling-459: Added BuildAPIDiagnosticError function calls (#959)

* added buildDiag function p1

* Adding call to BuildApiDiag

* BuildAPIDiag functions added

* Added util.BuildAPIDiag function to refactored resources

* Added call to BuildAPIDiag in resources

* Update go.mod

* Fixed tests

* Update go.mod

* Added err

* Added err

* Update go.mod

* Requested Changes

* Fix for BotFlows dependencies (#961)

* feat/Devtooling-531: Add proxy and cache to routing queue (#958)

* Added cache to routing queue

* Added proxy and caching to routing queue

* Removed log

* Add consistency checker back

* Fix group cache

* Fix Export cyclic deps (#968)

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Feat/devtooling-177: Refactored orgAuthorization_pairing  (#975)

* refactored orgauthorization_pairing

* Added exporter for response management response asset

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Fixed test

* using resource mutexes in init_test files & linting errors (#973)

* Feature/devtooling 63 (#974)

* Introduce new Elements

* Update Attribs

* Introduce scoring Method

* Upgrade ssdk

* remove unwanted logs

* Feature/devtooling 63 (#978)

* Fix exports

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dginty4 <[email protected]>
Co-authored-by: Charlie Conneely <[email protected]>
Co-authored-by: kavinbalagen <[email protected]>
Co-authored-by: Brian Moyles <[email protected]>
Co-authored-by: carnellj-genesys <[email protected]>
Co-authored-by: BrianMoyles <[email protected]>

* Fix Exporter for non-flow resources (#982)

* Fix Exporter for non-flow resources

* Added check (#981)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kavinbalagen <[email protected]>
Co-authored-by: HemanthDogiparthi12 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dginty4 <[email protected]>
Co-authored-by: Brian Moyles <[email protected]>
Co-authored-by: carnellj-genesys <[email protected]>
Co-authored-by: BrianMoyles <[email protected]>

* Bump github.com/hashicorp/terraform-plugin-docs from 0.18.0 to 0.19.1 (#992)

* Bump github.com/hashicorp/terraform-plugin-docs from 0.18.0 to 0.19.1

Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.18.0 to 0.19.1.
- [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-docs/compare/v0.18.0...v0.19.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-docs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* rerunning go generate after tf-docs package upgrade

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charlie Conneely <[email protected]>

* Devtooling 432: Conditonal Group Routing (#970)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Removed accidental commits

* Rebased and fixed errors

* Made some requested changes

* Added evaluated_queue_id

* Added warning

* Fixed some things

* Fixed test

* Fixing exporter

* Added CGR and toggle

* Fixed some errors

* Added queue proxy to CGR

* Added toggle to get all

* Made some changes

* Added CGR toggle package

* Moved CGR toggle package

* Ran linter

* Checking queue id in tests

* Small change

* bug/Devtooling-458: media retention policy creation failing with error on time interval (#980)

* added checks

* Checks for time interval attributes

* Fixing TimeInterval

* Added BuildFunc for timeInterval

* Added returned errors for invalid time Interval

* Fixed buildFunctions

* Generate Docs

* Fixed exporter

* Getting rid of go vet warning about copying a lock value to a variable (#991)

* No jira: util function for getting cursor value from next uri  (#990)

* moving changes (#960)

* Revert "moving changes (#960)" (#963)

This reverts commit 70d8a8036c52ae2f91aee081fe0d1c4c5451a58f.

* Release Merge to Main (#977)

* Bump golang.org/x/net from 0.22.0 to 0.23.0 (#951)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add team to custom resolver (#950)

* Devtooling 432: Refactor Conditional Group Routing Rules into its own resource (#921)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Fixed routing queue tests

* Removed accidental commits

* Rebased and fixed errors

* Made some requested changes

* Added evaluated_queue_id

* Added warning

* Fixed some things

* Fixed test

* Fixing exporter

* Fixed type

* Changing target branch of dependabot PRs to dev (#956)

* Fix User Resource Panics (#949)

* moving changes (#964)

* Reverting conditional group routing resoure (#965)

* Remove use_supported_content_profile (#962)

* bug/ DEVTOOLING-516: Allow Multiple inputs for BYMONTHDAY and BYMONTH (#953)

* Allow Multiple inputs for BYMONTHDAY and BYMONTH

* Update go.mod

* Added Error Message to Validator

* Bug/devtooling-530: Fixing panic during export caused by MemberGroupsResolver (#957)

* Changing groups.owner_ids to optional and computed

* Preventing panic inside MemberGroupsResolver with some refactoring

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag… (#946)

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag.  This is pulling the index.md out of git hub and overriding what ever is being generated.

* DEVTOOLING-417: Fixed a mispelling in a package alias

* DEVTOOLING-417 Accidently added cache code

* avoiding infinite loop in flow data source read (#966)

* feat/Devtooling-448 oauth cred cache (#945)

* DEVTOOLING-448:  Initial commit of code

* DEVTOOLING-448:  Added caching while creating a Genesys Cloud OAuth Client specific so we dont have to force the user embed a secret

* DEVTOOLING-448: Refactored retrieveCachedOauthClientSecret code

* DEVTOOLING-448: Committing interm work

* DEVTOOLING-448:  Reworked how we handle the addition of roles for user credentials

* DEVTOOLING-448: Removed the ToPtrStr function

* Fixing go.mod and running go generate (#967)

* feat/Devtooling-459: Added BuildAPIDiagnosticError function calls (#959)

* added buildDiag function p1

* Adding call to BuildApiDiag

* BuildAPIDiag functions added

* Added util.BuildAPIDiag function to refactored resources

* Added call to BuildAPIDiag in resources

* Update go.mod

* Fixed tests

* Update go.mod

* Added err

* Added err

* Update go.mod

* Requested Changes

* Fix for BotFlows dependencies (#961)

* feat/Devtooling-531: Add proxy and cache to routing queue (#958)

* Added cache to routing queue

* Added proxy and caching to routing queue

* Removed log

* Add consistency checker back

* Fix group cache

* Fix Export cyclic deps (#968)

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Feat/devtooling-177: Refactored orgAuthorization_pairing  (#975)

* refactored orgauthorization_pairing

* Added exporter for response management response asset

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Fixed test

* using resource mutexes in init_test files & linting errors (#973)

* Feature/devtooling 63 (#974)

* Introduce new Elements

* Update Attribs

* Introduce scoring Method

* Upgrade ssdk

* remove unwanted logs

* Feature/devtooling 63 (#978)

* Fix exports

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dginty4 <[email protected]>
Co-authored-by: Charlie Conneely <[email protected]>
Co-authored-by: kavinbalagen <[email protected]>
Co-authored-by: Brian Moyles <[email protected]>
Co-authored-by: carnellj-genesys <[email protected]>
Co-authored-by: BrianMoyles <[email protected]>

* Fix Exporter for non-flow resources (#982)

* Fix Exporter for non-flow resources

* Added check (#981)

* Made function for parsing cursor from next uri

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kavinbalagen <[email protected]>
Co-authored-by: HemanthDogiparthi12 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dginty4 <[email protected]>
Co-authored-by: Brian Moyles <[email protected]>
Co-authored-by: carnellj-genesys <[email protected]>
Co-authored-by: BrianMoyles <[email protected]>

* Fix acceptance tests (#979)

* fix acceptance test

fix test

fix test

fix test

fix test

fix tests

fix tests

fix tests

fix tests

fix tests

fix test

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix routing test

fix routing test

fix routing test

fix routing test

fix routing test

fix routing test

fix routing test

fix routing test

fix tests

fix tests

restore files

fix team test

* fix comments

* fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

* fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

* fix tests

fix tests

fix tests

* fix tests

* fix conditional routing test

fix conditional routing test

---------

Co-authored-by: Monisha Padmavathi Ragavan <[email protected]>

* Bump hashicorp/setup-terraform from 3.0.0 to 3.1.0 (#995)

Bumps [hashicorp/setup-terraform](https://github.com/hashicorp/setup-terraform) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/hashicorp/setup-terraform/releases)
- [Changelog](https://github.com/hashicorp/setup-terraform/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/setup-terraform/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: hashicorp/setup-terraform
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Improvise exclude attributes to Regex (#988)

* Fix Media call back Read Attributes (#987)

* DEVTOOLING-445: User Roles not returning duplicate roles (#989)

* NO-JIRA-Upgrading-Go-SDK

* Fixed errors

* Fixed conditional group routing

* Fixed some tests

* feat/Devtooling 496: Routing queue Outbound email address independent resource (#954)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Removed accidental commits

* Rebased and fixed errors

* Added evaluated_queue_id

* Fixed some things

* Added CGR and toggle

* Made some changes

* Added CGR toggle package

* Moved CGR toggle package

* Feature/devtooling 63 (#974)

* Introduce new Elements

* Update Attribs

* Introduce scoring Method

* Upgrade ssdk

* remove unwanted logs

* Routing queue outbound email address package

* Made changes

* Added tests

* Added more to test

* Fixed test

* Finished resource

* Finished resource

* Made some requested changes

* Added feature toggle stuff

* Added feature toggle

* Made changes

* Fixing change in queue exporter

---------

Co-authored-by: HemanthDogiparthi12 <[email protected]>

* bug/devtooling-498: [CX as Code] genesyscloud_outbound_settings export contains only null data (#996)

* Fixing null export

* Fixing Test

* Added check for export

* Added attribute and fixed test

* Removed Computed attribute

* Added check for reschedule_time_zone_skipped_contacts in test

* Update Export Guide (#971)

* update export uide

* update tf_export.md and resource.tf

* cross check resource.tf and schema, add missing attributes

* update

* update export.md.tmp

* Removed duplicate paragraph and ran go generate

---------

Co-authored-by: Charlie Conneely <[email protected]>

* NO-JIRA: Fixing dev (#1000)

* Fixing dev

* Fixes some errors

* Fixing flow outcome description (#998)

* Devtooling 561 - Members not being added correctly to teams (#1001)

* Fixed bug

* Fixed problem deleting members

* Removed print

* Fix Version Problem in WebDeployments (#997)

* Fix Version Problem in WebDeployments

* Add test cases

* Fix review comments

* no jira: Fixing merge conflicts on dev branch  (#1009)

* moving changes (#960)

* Revert "moving changes (#960)" (#963)

This reverts commit 70d8a8036c52ae2f91aee081fe0d1c4c5451a58f.

* Release Merge to Main (#977)

* Bump golang.org/x/net from 0.22.0 to 0.23.0 (#951)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add team to custom resolver (#950)

* Devtooling 432: Refactor Conditional Group Routing Rules into its own resource (#921)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Fixed routing queue tests

* Removed accidental commits

* Rebased and fixed errors

* Made some requested changes

* Added evaluated_queue_id

* Added warning

* Fixed some things

* Fixed test

* Fixing exporter

* Fixed type

* Changing target branch of dependabot PRs to dev (#956)

* Fix User Resource Panics (#949)

* moving changes (#964)

* Reverting conditional group routing resoure (#965)

* Remove use_supported_content_profile (#962)

* bug/ DEVTOOLING-516: Allow Multiple inputs for BYMONTHDAY and BYMONTH (#953)

* Allow Multiple inputs for BYMONTHDAY and BYMONTH

* Update go.mod

* Added Error Message to Validator

* Bug/devtooling-530: Fixing panic during export caused by MemberGroupsResolver (#957)

* Changing groups.owner_ids to optional and computed

* Preventing panic inside MemberGroupsResolver with some refactoring

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag… (#946)

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag.  This is pulling the index.md out of git hub and overriding what ever is being generated.

* DEVTOOLING-417: Fixed a mispelling in a package alias

* DEVTOOLING-417 Accidently added cache code

* avoiding infinite loop in flow data source read (#966)

* feat/Devtooling-448 oauth cred cache (#945)

* DEVTOOLING-448:  Initial commit of code

* DEVTOOLING-448:  Added caching while creating a Genesys Cloud OAuth Client specific so we dont have to force the user embed a secret

* DEVTOOLING-448: Refactored retrieveCachedOauthClientSecret code

* DEVTOOLING-448: Committing interm work

* DEVTOOLING-448:  Reworked how we handle the addition of roles for user credentials

* DEVTOOLING-448: Removed the ToPtrStr function

* Fixing go.mod and running go generate (#967)

* feat/Devtooling-459: Added BuildAPIDiagnosticError function calls (#959)

* added buildDiag function p1

* Adding call to BuildApiDiag

* BuildAPIDiag functions added

* Added util.BuildAPIDiag function to refactored resources

* Added call to BuildAPIDiag in resources

* Update go.mod

* Fixed tests

* Update go.mod

* Added err

* Added err

* Update go.mod

* Requested Changes

* Fix for BotFlows dependencies (#961)

* feat/Devtooling-531: Add proxy and cache to routing queue (#958)

* Added cache to routing queue

* Added proxy and caching to routing queue

* Removed log

* Add consistency checker back

* Fix group cache

* Fix Export cyclic deps (#968)

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Feat/devtooling-177: Refactored orgAuthorization_pairing  (#975)

* refactored orgauthorization_pairing

* Added exporter for response management response asset

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Fixed test

* using resource mutexes in init_test files & linting errors (#973)

* Feature/devtooling 63 (#974)

* Introduce new Elements

* Update Attribs

* Introduce scoring Method

* Upgrade ssdk

* remove unwanted logs

* Feature/devtooling 63 (#978)

* Fix exports

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dginty4 <[email protected]>
Co-authored-by: Charlie Conneely <[email protected]>
Co-authored-by: kavinbalagen <[email protected]>
Co-authored-by: Brian Moyles <[email protected]>
Co-authored-by: carnellj-genesys <[email protected]>
Co-authored-by: BrianMoyles <[email protected]>

* Fix Exporter for non-flow resources (#982)

* Fix Exporter for non-flow resources

* Added check (#981)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kavinbalagen <[email protected]>
Co-authored-by: HemanthDogiparthi12 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dginty4 <[email protected]>
Co-authored-by: Brian Moyles <[email protected]>
Co-authored-by: carnellj-genesys <[email protected]>
Co-authored-by: BrianMoyles <[email protected]>

* Bump github.com/hashicorp/terraform-plugin-docs from 0.19.1 to 0.19.2 (#1008)

* Bump github.com/hashicorp/terraform-plugin-docs from 0.19.1 to 0.19.2

Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.19.1 to 0.19.2.
- [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-docs/compare/v0.19.1...v0.19.2)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-docs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ran go generate

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charlie Conneely <[email protected]>

* DEVTOOLING-352 - provider oauth credential rate limit exceeded (#1004)

* Testing something

* Adding retry

* Fixed retry

* Moved functionality to retries package

* Fixed inport cycle

* Extending sleep

* Added retry to AuthorizeSdk

* Using with retries

* Remving old function

* Feat/devtooling 461 - WithRetries errors include improved logging (#1012)

* calling diag func

* Changed retryable functions to call Diagnostic function

* Converted all withRetries errors to have improved wrapper

* Made requested Changes

* fixing unit test

* Bump golang.org/x/net from 0.23.0 to 0.25.0 (#1017)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.25.0.
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix for issue 993 : Changed message_column to optional and add verification logic (#1013)

* Changed message_column to optional and add verification logic

* applied safer nil value handling

* go generate (#1018)

* bug/devtooling 560 - Nil error in telephony_providers_edges_phone (#1015)

* Removed Print Statement that throws Nil error and added random id to test to prevent failing

* golint changes made

* Revert "bug/devtooling 560 - Nil error in telephony_providers_edges_phone (#1…" (#1019)

This reverts commit 3ff66d472071905b18b4f66f6ee4b3d3725600e7.

* bug/devtooling 560 - CX as Code crash when creating phones (#1020)

* Removed Print Statement that throws Nil error and added random id to test to prevent failing

* golint changes made

* Made requested Change

* feat/devtooling 579 - Improved Logging for Non-API errors (#1021)

* Adding improved non-api diag errors

* Pulling Merged PR

* Added improved error

* Added more logging

* Ran go vet

* Updated docs

* Bump hashicorp/setup-terraform from 3.1.0 to 3.1.1 (#1024)

Bumps [hashicorp/setup-terraform](https://github.com/hashicorp/setup-terraform) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/hashicorp/setup-terraform/releases)
- [Changelog](https://github.com/hashicorp/setup-terraform/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/setup-terraform/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: hashicorp/setup-terraform
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* bug/devtooling 362 - Evaluation forms incorrectly assigning published attribute (#1022)

* Correctly sets published feature

* Added functionality to set published field correctly

* Fixed docs

* Bug/devtooling 444: Custom resolver function for outbound campaign script_id (#1014)

* Resolving campaign script_id to default outbound script data source when appropriate

* Created constants package

* editing scripts proxy so that the datasource catches Default scripts

* Finished writing tests for new campaign field custom resolver

* Fixed linting errors in campaigns package

* implemented caching for campaigns exporter

* minor changes to a comment

* Add deleteCacheItem func + some refactoring work

* Refactoring call to resolveToDataSource function and added unit test

* Fixing script data source test

* Bump github.com/nyaruka/phonenumbers from 1.3.4 to 1.3.5 (#1026)

Bumps [github.com/nyaruka/phonenumbers](https://github.com/nyaruka/phonenumbers) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/nyaruka/phonenumbers/releases)
- [Changelog](https://github.com/nyaruka/phonenumbers/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nyaruka/phonenumbers/compare/v1.3.4...v1.3.5)

---
updated-dependencies:
- dependency-name: github.com/nyaruka/phonenumbers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Devtooling-162: Refactored idp salesforce (#999)

* Refactored idp salesforce

* Fixing docs

* Changed function name

* Removed original file

* Changed Build Function Call to fix type difference (#1029)

* fixing test for published attribute (#1030)

* No jira: fixing up a few acceptance tests (#1031)

* fixed journey segment update

* Adding check to journey segment tests to validate is feature is supported

* preventing panic in export helper function

* Adding sleep to milestone data source test

* Cleaning up fmt.Print statements appearing in export tests

* undoing changes to segment resource file

* Fix routing queue (#1028)

* README update (#1025)

* Pre-verify if the tfState is in sync with the exporter (#1027)

* Add state comapartors

* Upddate review comments

* Devtooling-591: Consistency Checker Refactor (#1032)

* Moved where consistency checker is created in resources

* Cleaned up consitency checker file

* Added resource name to message

* Conditionally adding name

* Made requested changes

* Feature/devtooling 589 1 (#1035)

* update doc

* fix reviews

* Fix acceptance tests - TCA and Prod (#1033)

* Fix edge,export,script test,Jenkin to run tca&prod

* Fix export & integration tests

* Fix auth tests

Fix auth tests

* fix tests

* resolve conflicts

* move assignregion func, remove commented function

modify to return empty string - assignregion func

return default region

---------

Co-authored-by: Monisha Padmavathi Ragavan <[email protected]>

* Bug/devtooling 597 - Routing email route test failing  (#1039)

* Added call to cleanup function

* linter

* adding hotfix to pr labeler config file (#1042)

* bug/DEVTOOLING-436 - Added cleanup function for webdeployments resources (#1038)

* Added cleanup function for webdeployments resources

* fixing conflict

* Made requested changes

* Made requested changes

* Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.33.0 to 2.34.0 (#1047)

Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.33.0 to 2.34.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-sdk/compare/v2.33.0...v2.34.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bug/devtooling 287 temp disable cchecker (#1037)

* removed consistency checker

* changed DID number

* phoneUpdated

* Merging dev to main for v1.38.0 (#1036)

* Bump golang.org/x/net from 0.22.0 to 0.23.0 (#951)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add team to custom resolver (#950)

* Devtooling 432: Refactor Conditional Group Routing Rules into its own resource (#921)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Fixed routing queue tests

* Removed accidental commits

* Rebased and fixed errors

* Made some requested changes

* Added evaluated_queue_id

* Added warning

* Fixed some things

* Fixed test

* Fixing exporter

* Fixed type

* Changing target branch of dependabot PRs to dev (#956)

* Fix User Resource Panics (#949)

* moving changes (#964)

* Reverting conditional group routing resoure (#965)

* Remove use_supported_content_profile (#962)

* bug/ DEVTOOLING-516: Allow Multiple inputs for BYMONTHDAY and BYMONTH (#953)

* Allow Multiple inputs for BYMONTHDAY and BYMONTH

* Update go.mod

* Added Error Message to Validator

* Bug/devtooling-530: Fixing panic during export caused by MemberGroupsResolver (#957)

* Changing groups.owner_ids to optional and computed

* Preventing panic inside MemberGroupsResolver with some refactoring

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag… (#946)

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag.  This is pulling the index.md out of git hub and overriding what ever is being generated.

* DEVTOOLING-417: Fixed a mispelling in a package alias

* DEVTOOLING-417 Accidently added cache code

* avoiding infinite loop in flow data source read (#966)

* feat/Devtooling-448 oauth cred cache (#945)

* DEVTOOLING-448:  Initial commit of code

* DEVTOOLING-448:  Added caching while creating a Genesys Cloud OAuth Client specific so we dont have to force the user embed a secret

* DEVTOOLING-448: Refactored retrieveCachedOauthClientSecret code

* DEVTOOLING-448: Committing interm work

* DEVTOOLING-448:  Reworked how we handle the addition of roles for user credentials

* DEVTOOLING-448: Removed the ToPtrStr function

* Fixing go.mod and running go generate (#967)

* feat/Devtooling-459: Added BuildAPIDiagnosticError function calls (#959)

* added buildDiag function p1

* Adding call to BuildApiDiag

* BuildAPIDiag functions added

* Added util.BuildAPIDiag function to refactored resources

* Added call to BuildAPIDiag in resources

* Update go.mod

* Fixed tests

* Update go.mod

* Added err

* Added err

* Update go.mod

* Requested Changes

* Fix for BotFlows dependencies (#961)

* feat/Devtooling-531: Add proxy and cache to routing queue (#958)

* Added cache to routing queue

* Added proxy and caching to routing queue

* Removed log

* Add consistency checker back

* Fix group cache

* Fix Export cyclic deps (#968)

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Feat/devtooling-177: Refactored orgAuthorization_pairing  (#975)

* refactored orgauthorization_pairing

* Added exporter for response management response asset

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Fixed test

* using resource mutexes in init_test files & linting errors (#973)

* Feature/devtooling 63 (#974)

* Introduce new Elements

* Update Attribs

* Introduce scoring Method

* Upgrade ssdk

* remove unwanted logs

* Feature/devtooling 63 (#978)

* Fix exports

* Feat/add flow log level resource (#948)

* add code changes

* add flow log level changes

* testing commit

* getting there, have a create test together

* still trying to get a passing test

* tests have passed! but getting the plan was not empty errors now

* flow log level test

* finally got tests passing

* remove debug logging

* rerun go generate

* rerun go generate

* apply suggestions from PR review

* address PR review

* remove characteristics

* address PR comments

* return total flow log levels when no more are found

---------

Co-authored-by: dginty4 <[email protected]>

* NO-JIRA: Small Change to flow log level (#984)

* Small Change to flow log level

* Fixing typo

* Merge hotfix changes on main into dev (#983)

* moving changes (#960)

* Revert "moving changes (#960)" (#963)

This reverts commit 70d8a8036c52ae2f91aee081fe0d1c4c5451a58f.

* Release Merge to Main (#977)

* Bump golang.org/x/net from 0.22.0 to 0.23.0 (#951)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add team to custom resolver (#950)

* Devtooling 432: Refactor Conditional Group Routing Rules into its own resource (#921)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Fixed routing queue tests

* Removed accidental commits

* Rebased and fixed errors

* Made some requested changes

* Added evaluated_queue_id

* Added warning

* Fixed some things

* Fixed test

* Fixing exporter

* Fixed type

* Changing target branch of dependabot PRs to dev (#956)

* Fix User Resource Panics (#949)

* moving changes (#964)

* Reverting conditional group routing resoure (#965)

* Remove use_supported_content_profile (#962)

* bug/ DEVTOOLING-516: Allow Multiple inputs for BYMONTHDAY and BYMONTH (#953)

* Allow Multiple inputs for BYMONTHDAY and BYMONTH

* Update go.mod

* Added Error Message to Validator

* Bug/devtooling-530: Fixing panic during export caused by MemberGroupsResolver (#957)

* Changing groups.owner_ids to optional and computed

* Preventing panic inside MemberGroupsResolver with some refactoring

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag… (#946)

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag.  This is pulling the index.md out of git hub and overriding what ever is being generated.

* DEVTOOLING-417: Fixed a mispelling in a package alias

* DEVTOOLING-417 Accidently added cache code

* avoiding infinite loop in flow data source read (#966)

* feat/Devtooling-448 oauth cred cache (#945)

* DEVTOOLING-448:  Initial commit of code

* DEVTOOLING-448:  Added caching while creating a Genesys Cloud OAuth Client specific so we dont have to force the user embed a secret

* DEVTOOLING-448: Refactored retrieveCachedOauthClientSecret code

* DEVTOOLING-448: Committing interm work

* DEVTOOLING-448:  Reworked how we handle the addition of roles for user credentials

* DEVTOOLING-448: Removed the ToPtrStr function

* Fixing go.mod and running go generate (#967)

* feat/Devtooling-459: Added BuildAPIDiagnosticError function calls (#959)

* added buildDiag function p1

* Adding call to BuildApiDiag

* BuildAPIDiag functions added

* Added util.BuildAPIDiag function to refactored resources

* Added call to BuildAPIDiag in resources

* Update go.mod

* Fixed tests

* Update go.mod

* Added err

* Added err

* Update go.mod

* Requested Changes

* Fix for BotFlows dependencies (#961)

* feat/Devtooling-531: Add proxy and cache to routing queue (#958)

* Added cache to routing queue

* Added proxy and caching to routing queue

* Removed log

* Add consistency checker back

* Fix group cache

* Fix Export cyclic deps (#968)

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Feat/devtooling-177: Refactored orgAuthorization_pairing  (#975)

* refactored orgauthorization_pairing

* Added exporter for response management response asset

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Fixed test

* using resource mutexes in init_test files & linting errors (#973)

* Feature/devtooling 63 (#974)

* Introduce new Elements

* Update Attribs

* Introduce scoring Method

* Upgrade ssdk

* remove unwanted logs

* Feature/devtooling 63 (#978)

* Fix exports

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dginty4 <[email protected]>
Co-authored-by: Charlie Conneely <[email protected]>
Co-authored-by: kavinbalagen <[email protected]>
Co-authored-by: Brian Moyles <[email protected]>
Co-authored-by: carnellj-genesys <[email protected]>
Co-authored-by: BrianMoyles <[email protected]>

* Fix Exporter for non-flow resources (#982)

* Fix Exporter for non-flow resources

* Added check (#981)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kavinbalagen <[email protected]>
Co-authored-by: HemanthDogiparthi12 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dginty4 <[email protected]>
Co-authored-by: Brian Moyles <[email protected]>
Co-authored-by: carnellj-genesys <[email protected]>
Co-authored-by: BrianMoyles <[email protected]>

* Bump github.com/hashicorp/terraform-plugin-docs from 0.18.0 to 0.19.1 (#992)

* Bump github.com/hashicorp/terraform-plugin-docs from 0.18.0 to 0.19.1

Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.18.0 to 0.19.1.
- [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-docs/compare/v0.18.0...v0.19.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-docs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* rerunning go generate after tf-docs package upgrade

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charlie Conneely <[email protected]>

* Devtooling 432: Conditonal Group Routing (#970)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Removed accidental commits

* Rebased and fixed errors

* Made some requested changes

* Added evaluated_queue_id

* Added warning

* Fixed some things

* Fixed test

* Fixing exporter

* Added CGR and toggle

* Fixed some errors

* Added queue proxy to CGR

* Added toggle to get all

* Made some changes

* Added CGR toggle package

* Moved CGR toggle package

* Ran linter

* Checking queue id in tests

* Small change

* bug/Devtooling-458: media retention policy creation failing with error on time interval (#980)

* added checks

* Checks for time interval attributes

* Fixing TimeInterval

* Added BuildFunc for timeInterval

* Added returned errors for invalid time Interval

* Fixed buildFunctions

* Generate Docs

* Fixed exporter

* Getting rid of go vet warning about copying a lock value to a variable (#991)

* No jira: util function for getting cursor value from next uri  (#990)

* moving changes (#960)

* Revert "moving changes (#960)" (#963)

This reverts commit 70d8a8036c52ae2f91aee081fe0d1c4c5451a58f.

* Release Merge to Main (#977)

* Bump golang.org/x/net from 0.22.0 to 0.23.0 (#951)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add team to custom resolver (#950)

* Devtooling 432: Refactor Conditional Group Routing Rules into its own resource (#921)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Fixed routing queue tests

* Removed accidental commits

* Rebased and fixed errors

* Made some requested changes

* Added evaluated_queue_id

* Added warning

* Fixed some things

* Fixed test

* Fixing exporter

* Fixed type

* Changing target branch of dependabot PRs to dev (#956)

* Fix User Resource Panics (#949)

* moving changes (#964)

* Reverting conditional group routing resoure (#965)

* Remove use_supported_content_profile (#962)

* bug/ DEVTOOLING-516: Allow Multiple inputs for BYMONTHDAY and BYMONTH (#953)

* Allow Multiple inputs for BYMONTHDAY and BYMONTH

* Update go.mod

* Added Error Message to Validator

* Bug/devtooling-530: Fixing panic during export caused by MemberGroupsResolver (#957)

* Changing groups.owner_ids to optional and computed

* Preventing panic inside MemberGroupsResolver with some refactoring

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag… (#946)

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag.  This is pulling the index.md out of git hub and overriding what ever is being generated.

* DEVTOOLING-417: Fixed a mispelling in a package alias

* DEVTOOLING-417 Accidently added cache code

* avoiding infinite loop in flow data source read (#966)

* feat/Devtooling-448 oauth cred cache (#945)

* DEVTOOLING-448:  Initial commit of code

* DEVTOOLING-448:  Added caching while creating a Genesys Cloud OAuth Client specific so we dont have to force the user embed a secret

* DEVTOOLING-448: Refactored retrieveCachedOauthClientSecret code

* DEVTOOLING-448: Committing interm work

* DEVTOOLING-448:  Reworked how we handle the addition of roles for user credentials

* DEVTOOLING-448: Removed the ToPtrStr function

* Fixing go.mod and running go generate (#967)

* feat/Devtooling-459: Added BuildAPIDiagnosticError function calls (#959)

* added buildDiag function p1

* Adding call to BuildApiDiag

* BuildAPIDiag functions added

* Added util.BuildAPIDiag function to refactored resources

* Added call to BuildAPIDiag in resources

* Update go.mod

* Fixed tests

* Update go.mod

* Added err

* Added err

* Update go.mod

* Requested Changes

* Fix for BotFlows dependencies (#961)

* feat/Devtooling-531: Add proxy and cache to routing queue (#958)

* Added cache to routing queue

* Added proxy and caching to routing queue

* Removed log

* Add consistency checker back

* Fix group cache

* Fix Export cyclic deps (#968)

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Feat/devtooling-177: Refactored orgAuthorization_pairing  (#975)

* refactored orgauthorization_pairing

* Added exporter for response management response asset

* Added refactor label to pr-labeler-config

* Feat/devtooling-499: Added getAll Functionality to ResponseManagement_ResponseAsset (#969)

* adding getALl functionality

* adding exporter

* adding export

* Added getAll functionality

* Update go.mod

* Added Caching

* Added file_content_hash

* Fixed test

* using resource mutexes in init_test files & linting errors (#973)

* Feature/devtooling 63 (#974)

* Introduce new Elements

* Update Attribs

* Introduce scoring Method

* Upgrade ssdk

* remove unwanted logs

* Feature/devtooling 63 (#978)

* Fix exports

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dginty4 <[email protected]>
Co-authored-by: Charlie Conneely <[email protected]>
Co-authored-by: kavinbalagen <[email protected]>
Co-authored-by: Brian Moyles <[email protected]>
Co-authored-by: carnellj-genesys <[email protected]>
Co-authored-by: BrianMoyles <[email protected]>

* Fix Exporter for non-flow resources (#982)

* Fix Exporter for non-flow resources

* Added check (#981)

* Made function for parsing cursor from next uri

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kavinbalagen <[email protected]>
Co-authored-by: HemanthDogiparthi12 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dginty4 <[email protected]>
Co-authored-by: Brian Moyles <[email protected]>
Co-authored-by: carnellj-genesys <[email protected]>
Co-authored-by: BrianMoyles <[email protected]>

* Fix acceptance tests (#979)

* fix acceptance test

fix test

fix test

fix test

fix test

fix tests

fix tests

fix tests

fix tests

fix tests

fix test

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix routing test

fix routing test

fix routing test

fix routing test

fix routing test

fix routing test

fix routing test

fix routing test

fix tests

fix tests

restore files

fix team test

* fix comments

* fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

* fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

fix tests

* fix tests

fix tests

fix tests

* fix tests

* fix conditional routing test

fix conditional routing test

---------

Co-authored-by: Monisha Padmavathi Ragavan <[email protected]>

* Bump hashicorp/setup-terraform from 3.0.0 to 3.1.0 (#995)

Bumps [hashicorp/setup-terraform](https://github.com/hashicorp/setup-terraform) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/hashicorp/setup-terraform/releases)
- [Changelog](https://github.com/hashicorp/setup-terraform/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/setup-terraform/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: hashicorp/setup-terraform
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Improvise exclude attributes to Regex (#988)

* Fix Media call back Read Attributes (#987)

* DEVTOOLING-445: User Roles not returning duplicate roles (#989)

* NO-JIRA-Upgrading-Go-SDK

* Fixed errors

* Fixed conditional group routing

* Fixed some tests

* feat/Devtooling 496: Routing queue Outbound email address independent resource (#954)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Removed accidental commits

* Rebased and fixed errors

* Added evaluated_queue_id

* Fixed some things

* Added CGR and toggle

* Made some changes

* Added CGR toggle package

* Moved CGR toggle package

* Feature/devtooling 63 (#974)

* Introduce new Elements

* Update Attribs

* Introduce scoring Method

* Upgrade ssdk

* remove unwanted logs

* Routing queue outbound email address package

* Made changes

* Added tests

* Added more to test

* Fixed test

* Finished resource

* Finished resource

* Made some requested changes

* Added feature toggle stuff

* Added feature toggle

* Made changes

* Fixing change in queue exporter

---------

Co-authored-by: HemanthDogiparthi12 <[email protected]>

* bug/devtooling-498: [CX as Code] genesyscloud_outbound_settings export contains only null data (#996)

* Fixing null export

* Fixing Test

* Added check for export

* Added attribute and fixed test

* Removed Computed attribute

* Added check for reschedule_time_zone_skipped_contacts in test

* Update Export Guide (#971)

* update export uide

* update tf_export.md and resource.tf

* cross check resource.tf and schema, add missing attributes

* update

* update export.md.tmp

* Removed duplicate paragraph and ran go generate

---------

Co-authored-by: Charlie Conneely <[email protected]>

* NO-JIRA: Fixing dev (#1000)

* Fixing dev

* Fixes some errors

* Fixing flow outcome description (#998)

* Devtooling 561 - Members not being added correctly to teams (#1001)

* Fixed bug

* Fixed problem deleting members

* Removed print

* Fix Version Problem in WebDeployments (#997)

* Fix Version Problem in WebDeployments

* Add test cases

* Fix review comments

* no jira: Fixing merge conflicts on dev branch  (#1009)

* moving changes (#960)

* Revert "moving changes (#960)" (#963)

This reverts commit 70d8a8036c52ae2f91aee081fe0d1c4c5451a58f.

* Release Merge to Main (#977)

* Bump golang.org/x/net from 0.22.0 to 0.23.0 (#951)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add team to custom resolver (#950)

* Devtooling 432: Refactor Conditional Group Routing Rules into its own resource (#921)

* Added routing_queue_conditional_group_routing resource

* Rebased

* Fixed routing queue tests

* Removed accidental commits

* Rebased and fixed errors

* Made some requested changes

* Added evaluated_queue_id

* Added warning

* Fixed some things

* Fixed test

* Fixing exporter

* Fixed type

* Changing target branch of dependabot PRs to dev (#956)

* Fix User Resource Panics (#949)

* moving changes (#964)

* Reverting conditional group routing resoure (#965)

* Remove use_supported_content_profile (#962)

* bug/ DEVTOOLING-516: Allow Multiple inputs for BYMONTHDAY and BYMONTH (#953)

* Allow Multiple inputs for BYMONTHDAY and BYMONTH

* Update go.mod

* Added Error Message to Validator

* Bug/devtooling-530: Fixing panic during export caused by MemberGroupsResolver (#957)

* Changing groups.owner_ids to optional and computed

* Preventing panic inside MemberGroupsResolver with some refactoring

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag… (#946)

* DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag.  This is pulling the index.md out of git hub and overriding what ever is being generated.

* DEVTOOLING-417: Fixed a mispelling in a package alias

* DEVTOOLING-417 Accidently added cache code

* avoiding infinite loop in flow data source read (#966)

* feat/Devtooling-448 oauth cred cache (#945)

* DEVTOOLING-448:  Initial commit of code

* DEVTOOLING-448:  Added caching while creating a Genesys Cloud OAuth Client specific so we dont have to force the user embed a secret

* DEVTOOLING-448: Refactored retrieveCachedOauthClientSecret code

* DEVTOOLING-448: Committing interm work

* DEVTOOLING-448:  Reworked how we handle the addition of roles for user credentials

* DEVTOOLING-448: Removed the ToPtrStr function

* Fixing go.mod and running go generate (#967)

* feat/Devtooling-459: Added BuildAPIDiagnosticError function calls (#959)

* added buildDiag function p1

* Adding call to BuildApiDiag

* BuildAPIDiag functions added

* Added util.BuildAPIDiag function to refactored resources

* Added call to BuildAPIDiag in resources

* Update go.mod

* Fixed tests

* Update go.mod

* Added err

* Added err

* Update go.mod

* Requested Changes

* Fix for BotFlows dependencies (#961)

* feat/Devtooling-531: Add proxy and cache to routing queue (#958)

* Added cache to routing queue

* Added proxy and caching to r…
  • Loading branch information
23 people committed Jun 13, 2024
1 parent acc941f commit fa84028
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,26 @@ func TestAccResourceJourneyViewsBasic(t *testing.T) {
resource.TestCheckResourceAttr("genesyscloud_journey_views."+journeyResource, "elements.0.filter.0.predicates.0.no_value", fmt.Sprintf("%t", predicatesNoValue)),
),
},
{
//Update without filter
Config: generateUserWithCustomAttrs(testUserResource, testUserEmail, testUserName) + generateJourneyView(journeyResource, name, duration, generateElements(
elementsId,
elementsName,
generateAttributes(attributeType, attributeId, attributeSource),
"",
)),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("genesyscloud_journey_views."+journeyResource, "name", name),
resource.TestCheckResourceAttr("genesyscloud_journey_views."+journeyResource, "duration", duration),
resource.TestCheckResourceAttr("genesyscloud_journey_views."+journeyResource, "elements.0.id", elementsId),
resource.TestCheckResourceAttr("genesyscloud_journey_views."+journeyResource, "elements.0.name", elementsName),
resource.TestCheckResourceAttr("genesyscloud_journey_views."+journeyResource, "elements.0.attributes.#", "1"),
resource.TestCheckResourceAttr("genesyscloud_journey_views."+journeyResource, "elements.0.attributes.0.type", attributeType),
resource.TestCheckResourceAttr("genesyscloud_journey_views."+journeyResource, "elements.0.attributes.0.id", attributeId),
resource.TestCheckResourceAttr("genesyscloud_journey_views."+journeyResource, "elements.0.attributes.0.source", attributeSource),
resource.TestCheckResourceAttr("genesyscloud_journey_views."+journeyResource, "elements.0.filter.#", "0"),
),
},
{
// Import/Read
ResourceName: "genesyscloud_journey_views." + journeyResource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func buildElements(d *schema.ResourceData) (*[]platformclientv2.Journeyvieweleme

if filterSlice, ok := elemMap["filter"].([]interface{}); ok {
filter := buildJourneyViewElementFilter(filterSlice)
element.Filter = &filter
element.Filter = filter
}

if followedBySlice, ok := elemMap["followed_by"].([]interface{}); ok {
Expand Down Expand Up @@ -65,7 +65,7 @@ func buildJourneyViewElementAttributes(attributesSlice []interface{}) platformcl
return attributes
}

func buildJourneyViewElementFilter(filterSlice []interface{}) platformclientv2.Journeyviewelementfilter {
func buildJourneyViewElementFilter(filterSlice []interface{}) *platformclientv2.Journeyviewelementfilter {
var filter platformclientv2.Journeyviewelementfilter
for _, elem := range filterSlice {
if filterMap, ok := elem.(map[string]interface{}); ok {
Expand All @@ -82,7 +82,10 @@ func buildJourneyViewElementFilter(filterSlice []interface{}) platformclientv2.J
}
}
}
return filter
if len(filterSlice) == 0 {
return nil
}
return &filter
}

func buildJourneyviewelementfilterpredicate(predicateMap map[string]interface{}) platformclientv2.Journeyviewelementfilterpredicate {
Expand Down

0 comments on commit fa84028

Please sign in to comment.