Skip to content

Commit

Permalink
Merge dev to main for v1.40.0 (MyPureCloud#1087)
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 routing queue
…
  • Loading branch information
22 people authored Jun 11, 2024
1 parent e2bdd0e commit 05703a4
Show file tree
Hide file tree
Showing 105 changed files with 3,680 additions and 1,273 deletions.
25 changes: 25 additions & 0 deletions docs/data-sources/routing_email_route.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "genesyscloud_routing_email_route Data Source - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Data source for Genesys Cloud Routing Email Route. Select a routing email route by pattern and domain ID.
---

# genesyscloud_routing_email_route (Data Source)

Data source for Genesys Cloud Routing Email Route. Select a routing email route by pattern and domain ID.



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `domain_id` (String) Domain of the route.
- `pattern` (String) Routing pattern.

### Read-Only

- `id` (String) The ID of this resource.
4 changes: 2 additions & 2 deletions docs/data-sources/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "genesyscloud_user Data Source - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Data source for Genesys Cloud Users. Select a user by email or name.
Data source for Genesys Cloud Users. Select a user by email or name. If both email & name are specified, the name won't be used for user lookup
---

# genesyscloud_user (Data Source)

Data source for Genesys Cloud Users. Select a user by email or name.
Data source for Genesys Cloud Users. Select a user by email or name. If both email & name are specified, the name won't be used for user lookup

## Example Usage

Expand Down
3 changes: 3 additions & 0 deletions docs/resources/idp_adfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ resource "genesyscloud_idp_adfs" "adfs" {
### Optional

- `disabled` (Boolean) True if ADFS is disabled. Defaults to `false`.
- `name` (String) IDP ADFS resource name
- `relying_party_identifier` (String) String used to identify Genesys Cloud to ADFS.
- `slo_binding` (String) Valid values: HTTP Redirect, HTTP Post
- `slo_uri` (String) Provided by ADSF on app creation
- `target_uri` (String) Target URI provided by ADFS.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

Expand Down
6 changes: 5 additions & 1 deletion docs/resources/idp_okta.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ resource "genesyscloud_idp_okta" "okta" {

### Optional

- `disabled` (Boolean) True if Okta is disabled. Defaults to `false`.
- `disabled` (Boolean) True if Okta is disabled.
- `name` (String) IDP Okta name
- `relying_party_identifier` (String) String used to identify Genesys Cloud to Okta.
- `slo_binding` (String) Valid values: HTTP Redirect, HTTP Post
- `slo_uri` (String) Provided by Okta on app creation.
- `target_uri` (String) Target URI provided by Okta.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

Expand Down
12 changes: 0 additions & 12 deletions docs/resources/journey_segment.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ resource "genesyscloud_journey_segment" "example_journey_segment_resource" {

### Optional

- `assignment_expiration_days` (Number) Time, in days, from when the segment is assigned until it is automatically unassigned.
- `context` (Block Set, Max: 1) The context of the segment. (see [below for nested schema](#nestedblock--context))
- `description` (String) A description of the segment.
- `external_segment` (Block Set, Max: 1) Details of an entity corresponding to this segment in an external system. (see [below for nested schema](#nestedblock--external_segment))
- `is_active` (Boolean) Whether or not the segment is active. Defaults to `true`.
- `journey` (Block Set, Max: 1) The pattern of rules defining the segment. (see [below for nested schema](#nestedblock--journey))
- `should_display_to_agent` (Boolean) Whether or not the segment should be displayed to agent/supervisor users.
Expand Down Expand Up @@ -107,16 +105,6 @@ Optional:



<a id="nestedblock--external_segment"></a>
### Nested Schema for `external_segment`

Required:

- `id` (String) Identifier for the external segment in the system where it originates from. Changing the id attribute will cause the journey_segment resource to be dropped and recreated with a new ID.
- `name` (String) Name for the external segment in the system where it originates from.
- `source` (String) The external system where the segment originates from.Valid values: AdobeExperiencePlatform, Custom. Changing the source attribute will cause the journey_segment resource to be dropped and recreated with a new ID.


<a id="nestedblock--journey"></a>
### Nested Schema for `journey`

Expand Down
147 changes: 147 additions & 0 deletions docs/resources/journey_views.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
---
page_title: "genesyscloud_journey_views Resource - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Genesys Cloud Directory JourneyView
---
# genesyscloud_journey_views (Resource)

Genesys Cloud Directory JourneyView

## API Usage
The following Genesys Cloud APIs are used by this resource. Ensure your OAuth Client has been granted the necessary scopes and permissions to perform these operations:

* [POST /api/v2/journey/views](https://developer.genesys.cloud/platform/preview-apis#post-api-v2-journey-views)
* [POST /api/v2/journey/views/{viewId}/versions](https://developer.genesys.cloud/platform/preview-apis#post-api-v2-journey-views--viewId--versions)
* [GET /api/v2/journey/views/{viewId}](https://developer.genesys.cloud/platform/preview-apis#get-api-v2-journey-views--viewId-)
* [DELETE /api/v2/journey/views/{viewId}](https://developer.genesys.cloud/platform/preview-apis#delete-api-v2-journey-views--viewId-)

## Example Usage

```terraform
resource "genesyscloud_journey_views" "journey_view" {
duration = "P1Y"
name = "Sample Journey 1"
elements {
id = "ac6c61b5-1cd4-4c6e-a8a5-edb74d9117eb"
name = "Wrap Up"
attributes {
type = "Event"
id = "a416328b-167c-0365-d0e1-f072cd5d4ded"
source = "Voice"
}
filter {
type = "And"
predicates {
dimension = "mediaType"
values = ["VOICE"]
operator = "Matches"
no_value = false
}
}
}
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) JourneyView name.

### Optional

- `description` (String) A description of the journey view.
- `duration` (String) A relative timeframe for the journey view, expressed as an ISO 8601 duration. Only one of interval or duration must be specified. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H.
- `elements` (Block List) The elements within the journey view. (see [below for nested schema](#nestedblock--elements))
- `interval` (String) An absolute timeframe for the journey view, expressed as an ISO 8601 interval. Only one of interval or duration must be specified. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss.

### Read-Only

- `id` (String) The ID of this resource.

<a id="nestedblock--elements"></a>
### Nested Schema for `elements`

Required:

- `attributes` (Block List, Min: 1, Max: 1) Attributes on an element in a journey view. (see [below for nested schema](#nestedblock--elements--attributes))
- `id` (String) The unique identifier of the element within the elements list.
- `name` (String) The unique name of the element within the view.

Optional:

- `filter` (Block List, Max: 1) A set of filters on an element within a journey view. (see [below for nested schema](#nestedblock--elements--filter))
- `followed_by` (Block List) A list of JourneyViewLink objects, listing the elements downstream of this element. (see [below for nested schema](#nestedblock--elements--followed_by))

<a id="nestedblock--elements--attributes"></a>
### Nested Schema for `elements.attributes`

Required:

- `type` (String) The type of the element (e.g. Event).Valid values: Event.

Optional:

- `id` (String) The identifier for the element based on its type.
- `source` (String) The source for the element (e.g. IVR, Voice, Chat). Used for informational purposes only.


<a id="nestedblock--elements--filter"></a>
### Nested Schema for `elements.filter`

Required:

- `type` (String) Boolean operation to apply to the provided predicates and clauses. Valid values: And.

Optional:

- `predicates` (Block List) A filter on an element within a journey view. (see [below for nested schema](#nestedblock--elements--filter--predicates))

<a id="nestedblock--elements--filter--predicates"></a>
### Nested Schema for `elements.filter.predicates`

Required:

- `dimension` (String) The element's attribute being filtered on
- `values` (List of String) The identifier for the element based on its type.

Optional:

- `no_value` (Boolean) set this to true if no specific value to be considered.
- `operator` (String) Optional operator, default is Matches. Valid values: Matches.Valid values: Matches, NotMatches. Defaults to `Matches`.



<a id="nestedblock--elements--followed_by"></a>
### Nested Schema for `elements.followed_by`

Required:

- `id` (String) The identifier of the element downstream.

Optional:

- `constraint_after` (Block List, Max: 1) A time constraint on this link, which requires a customer must complete the downstream element after this amount of time to be counted.. (see [below for nested schema](#nestedblock--elements--followed_by--constraint_after))
- `constraint_within` (Block List, Max: 1) A time constraint on this link, which requires a customer to complete the downstream element within this amount of time to be counted. (see [below for nested schema](#nestedblock--elements--followed_by--constraint_within))
- `event_count_type` (String) The type of events that will be counted. Note: Concurrent will override any JourneyViewLinkTimeConstraint. Default is Sequential.Valid values: All, Concurrent, Sequential.
- `join_attributes` (List of String) Other (secondary) attributes on which this link should join the customers being counted.

<a id="nestedblock--elements--followed_by--constraint_after"></a>
### Nested Schema for `elements.followed_by.constraint_after`

Optional:

- `unit` (String) The unit for the link's time constraint.Valid values: Seconds, Minutes, Hours, Days, Weeks, Months.
- `value` (Number) The value for the link's time constraint.


<a id="nestedblock--elements--followed_by--constraint_within"></a>
### Nested Schema for `elements.followed_by.constraint_within`

Optional:

- `unit` (String) The unit for the link's time constraint.Valid values: Seconds, Minutes, Hours, Days, Weeks, Months.
- `value` (Number) The value for the link's time constraint.

10 changes: 5 additions & 5 deletions docs/resources/recording_media_retention_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Genesys Cloud Media Retention Policies
## API Usage
The following Genesys Cloud APIs are used by this resource. Ensure your OAuth Client has been granted the necessary scopes and permissions to perform these operations:

* [GET /api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/analyticsdatamanagement/recording/#get-api-v2-recording-crossplatform-mediaretentionpolicies--policyId-)
* [GET /api/v2/recording/crossplatform/mediaretentionpolicies](https://developer.genesys.cloud/analyticsdatamanagement/recording/#get-api-v2-recording-crossplatform-mediaretentionpolicies)
* [PUT /api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/analyticsdatamanagement/recording/#put-api-v2-recording-crossplatform-mediaretentionpolicies--policyId-)
* [POST /api/v2/recording/crossplatform/mediaretentionpolicies](https://developer.genesys.cloud/analyticsdatamanagement/recording/#post-api-v2-recording-crossplatform-mediaretentionpolicies)
* [DELETE /api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/analyticsdatamanagement/recording/#delete-api-v2-recording-crossplatform-mediaretentionpolicies--policyId-)
* [GET /api/v2/recording/mediaretentionpolicies](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-recording-mediaretentionpolicies)
* [POST /api/v2/recording/mediaretentionpolicies](https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-recording-mediaretentionpolicies)
* [GET /api/v2/recording/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-recording-mediaretentionpolicies--policyId-)
* [PUT /api/v2/recording/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/devapps/api-explorer#put-api-v2-recording-mediaretentionpolicies--policyId-)
* [DELETE /api/v2/recording/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/devapps/api-explorer#delete-api-v2-recording-mediaretentionpolicies--policyId-)
* [GET /api/v2/quality/forms/evaluations/{formId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-quality-forms-evaluations--formId-)
* [GET /api/v2/quality/forms/evaluations/{formId}/versions](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-quality-forms-evaluations--formId--versions)
* [GET /api/v2/quality/forms/surveys](https://developer.genesys.cloud/api/rest/v2/quality/#get-api-v2-quality-forms-surveys)
Expand Down
4 changes: 4 additions & 0 deletions examples/resources/genesyscloud_journey_views/apis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* [POST /api/v2/journey/views](https://developer.genesys.cloud/platform/preview-apis#post-api-v2-journey-views)
* [POST /api/v2/journey/views/{viewId}/versions](https://developer.genesys.cloud/platform/preview-apis#post-api-v2-journey-views--viewId--versions)
* [GET /api/v2/journey/views/{viewId}](https://developer.genesys.cloud/platform/preview-apis#get-api-v2-journey-views--viewId-)
* [DELETE /api/v2/journey/views/{viewId}](https://developer.genesys.cloud/platform/preview-apis#delete-api-v2-journey-views--viewId-)
22 changes: 22 additions & 0 deletions examples/resources/genesyscloud_journey_views/resource.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
resource "genesyscloud_journey_views" "journey_view" {
duration = "P1Y"
name = "Sample Journey 1"
elements {
id = "ac6c61b5-1cd4-4c6e-a8a5-edb74d9117eb"
name = "Wrap Up"
attributes {
type = "Event"
id = "a416328b-167c-0365-d0e1-f072cd5d4ded"
source = "Voice"
}
filter {
type = "And"
predicates {
dimension = "mediaType"
values = ["VOICE"]
operator = "Matches"
no_value = false
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
* [GET /api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/analyticsdatamanagement/recording/#get-api-v2-recording-crossplatform-mediaretentionpolicies--policyId-)
* [GET /api/v2/recording/crossplatform/mediaretentionpolicies](https://developer.genesys.cloud/analyticsdatamanagement/recording/#get-api-v2-recording-crossplatform-mediaretentionpolicies)
* [PUT /api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/analyticsdatamanagement/recording/#put-api-v2-recording-crossplatform-mediaretentionpolicies--policyId-)
* [POST /api/v2/recording/crossplatform/mediaretentionpolicies](https://developer.genesys.cloud/analyticsdatamanagement/recording/#post-api-v2-recording-crossplatform-mediaretentionpolicies)
* [DELETE /api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/analyticsdatamanagement/recording/#delete-api-v2-recording-crossplatform-mediaretentionpolicies--policyId-)
* [GET /api/v2/recording/mediaretentionpolicies](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-recording-mediaretentionpolicies)
* [POST /api/v2/recording/mediaretentionpolicies](https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-recording-mediaretentionpolicies)
* [GET /api/v2/recording/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-recording-mediaretentionpolicies--policyId-)
* [PUT /api/v2/recording/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/devapps/api-explorer#put-api-v2-recording-mediaretentionpolicies--policyId-)
* [DELETE /api/v2/recording/mediaretentionpolicies/{policyId}](https://developer.genesys.cloud/devapps/api-explorer#delete-api-v2-recording-mediaretentionpolicies--policyId-)
* [GET /api/v2/quality/forms/evaluations/{formId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-quality-forms-evaluations--formId-)
* [GET /api/v2/quality/forms/evaluations/{formId}/versions](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-quality-forms-evaluations--formId--versions)
* [GET /api/v2/quality/forms/surveys](https://developer.genesys.cloud/api/rest/v2/quality/#get-api-v2-quality-forms-surveys)
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func createArchitectSchedules(ctx context.Context, d *schema.ResourceData, meta
msg = "\nYou must have all divisions and future divisions selected in your OAuth client role"
}

return util.BuildAPIDiagnosticError("genesyscloud_archiect_schedules", fmt.Sprintf("Failed to create schedule %s | Error: %s MSG: %s", *scheduleResponse.Name, err, msg), proxyResponse)
return util.BuildAPIDiagnosticError(resourceName, fmt.Sprintf("Failed to create schedule %s | Error: %s. %s", name, err, msg), proxyResponse)
}

d.SetId(*scheduleResponse.Id)
Expand Down Expand Up @@ -169,7 +169,7 @@ func updateArchitectSchedules(ctx context.Context, d *schema.ResourceData, meta
scheduleResponse, proxyResponse, err := proxy.getArchitectSchedulesById(ctx, d.Id())

if err != nil {
return proxyResponse, util.BuildAPIDiagnosticError("genesyscloud_archiect_schedules", fmt.Sprintf("Failed to read schedule %s error: %s", d.Id(), err), proxyResponse)
return proxyResponse, util.BuildAPIDiagnosticError(resourceName, fmt.Sprintf("Failed to read schedule %s error: %s", d.Id(), err), proxyResponse)
}

log.Printf("Updating schedule %s", name)
Expand All @@ -188,7 +188,7 @@ func updateArchitectSchedules(ctx context.Context, d *schema.ResourceData, meta
msg = "\nYou must have all divisions and future divisions selected in your OAuth client role"
}

return proxyUpdResponse, util.BuildAPIDiagnosticError("genesyscloud_archiect_schedules", fmt.Sprintf("Failed to update schedule %s | Error: %s MSG: %s", *scheduleResponse.Name, putErr, msg), proxyUpdResponse)
return proxyUpdResponse, util.BuildAPIDiagnosticError(resourceName, fmt.Sprintf("Failed to update schedule %s | Error: %s. %s", name, putErr, msg), proxyUpdResponse)
}
return proxyUpdResponse, nil
})
Expand All @@ -211,7 +211,7 @@ func deleteArchitectSchedules(ctx context.Context, d *schema.ResourceData, meta
log.Printf("Deleting schedule %s", d.Id())
proxyDelResponse, err := proxy.deleteArchitectSchedules(ctx, d.Id())
if err != nil {
return proxyDelResponse, util.BuildAPIDiagnosticError("genesyscloud_archiect_schedules", fmt.Sprintf("Failed to delete schedule %s error: %s", d.Id(), err), proxyDelResponse)
return proxyDelResponse, util.BuildAPIDiagnosticError(resourceName, fmt.Sprintf("Failed to delete schedule %s error: %s", d.Id(), err), proxyDelResponse)
}
return proxyDelResponse, nil
})
Expand Down
7 changes: 5 additions & 2 deletions genesyscloud/data_source_genesyscloud_auth_division_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ import (

func TestAccDataSourceAuthDivision(t *testing.T) {
var (
divResource = "auth-div"
divResource = "auth-division"
divDataSource = "auth-div-data"
divName = "Terraform Division-" + uuid.NewString()
divName = "Terraform Divisions-" + uuid.NewString()
)

resource.Test(t, resource.TestCase{
PreCheck: func() { util.TestAccPreCheck(t) },
ProviderFactories: provider.GetProviderFactories(providerResources, providerDataSources),
Steps: []resource.TestStep{
{
PreConfig: func() {
time.Sleep(30 * time.Second)
},
Config: GenerateAuthDivisionResource(
divResource,
divName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
)

func TestAccDataSourceJourneyActionMap(t *testing.T) {
t.Skip("Customer segment not implemented")
runDataJourneyActionMapTestCase(t, "find_by_name")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
)

func TestAccDataSourceJourneySegment(t *testing.T) {
t.Skip("Customer segment not implemented")
runDataJourneySegmentTestCase(t, "find_by_name")
}

Expand Down
Loading

0 comments on commit 05703a4

Please sign in to comment.