Skip to content

Commit

Permalink
Merge branch 'dev' into Bug/DEVTOOLING-606
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMoyles authored Jun 28, 2024
2 parents 481a812 + 83762bb commit 8086205
Show file tree
Hide file tree
Showing 436 changed files with 3,619 additions and 2,106 deletions.
2 changes: 1 addition & 1 deletion docs/resources/idp_adfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "genesyscloud_idp_adfs" "adfs" {
- `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
- `slo_uri` (String) Provided by ADFS on app creation
- `target_uri` (String) Target URI provided by ADFS.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

Expand Down
2 changes: 2 additions & 0 deletions docs/resources/idp_generic.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ resource "genesyscloud_idp_generic" "generic" {
- `logo_image_data` (String) Base64 encoded SVG image.
- `name_identifier_format` (String) SAML name identifier format. (urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified | urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress | urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName | urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName | urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos | urn:oasis:names:tc:SAML:2.0:nameid-format:entity | urn:oasis:names:tc:SAML:2.0:nameid-format:persistent | urn:oasis:names:tc:SAML:2.0:nameid-format:transient) Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`.
- `relying_party_identifier` (String) String used to identify Genesys Cloud to the identity provider.
- `slo_binding` (String) Valid values: HTTP Redirect, HTTP Post
- `slo_uri` (String) Provided on app creation.
- `target_uri` (String) Target URI provided by the provider.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

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

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

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

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

Expand Down
1 change: 1 addition & 0 deletions docs/resources/routing_queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ resource "genesyscloud_routing_queue" "example_queue" {
- `media_settings_message` (Block List, Max: 1) Message media settings. (see [below for nested schema](#nestedblock--media_settings_message))
- `members` (Set of Object) Users in the queue. If not set, this resource will not manage members. If a user is already assigned to this queue via a group, attempting to assign them using this field will cause an error to be thrown. (see [below for nested schema](#nestedatt--members))
- `message_in_queue_flow_id` (String) The in-queue flow ID to use for message conversations waiting in queue.
- `on_hold_prompt_id` (String) The audio to be played when calls on this queue are on hold. If not configured, the default on-hold music will play.
- `outbound_email_address` (Block List, Max: 1, Deprecated) The outbound email address settings for this queue. (see [below for nested schema](#nestedblock--outbound_email_address))
- `outbound_messaging_sms_address_id` (String) The unique ID of the outbound messaging SMS address for the queue.
- `queue_flow_id` (String) The in-queue flow ID to use for call conversations waiting in queue.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/routing_utilization.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ resource "genesyscloud_routing_utilization" "org-utilization" {
- `callback` (Block List, Max: 1) Callback media settings. If not set, this reverts to the default media type settings. (see [below for nested schema](#nestedblock--callback))
- `chat` (Block List, Max: 1) Chat media settings. If not set, this reverts to the default media type settings. (see [below for nested schema](#nestedblock--chat))
- `email` (Block List, Max: 1) Email media settings. If not set, this reverts to the default media type settings. (see [below for nested schema](#nestedblock--email))
- `label_utilizations` (Block List) Label utilization settings. If not set, default label settings will be applied. This is in PREVIEW and should not be used unless the feature is available to your organization. (see [below for nested schema](#nestedblock--label_utilizations))
- `label_utilizations` (Block List) Label utilization settings. If not set, default label settings will be applied. (see [below for nested schema](#nestedblock--label_utilizations))
- `message` (Block List, Max: 1) Message media settings. If not set, this reverts to the default media type settings. (see [below for nested schema](#nestedblock--message))
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/routing_utilization_label.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
page_title: "genesyscloud_routing_utilization_label Resource - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Genesys Cloud Routing Utilization Label. This resource is not yet widely available. Only use it if the feature is enabled.
Genesys Cloud Routing Utilization Label.
---
# genesyscloud_routing_utilization_label (Resource)

Genesys Cloud Routing Utilization Label. This resource is not yet widely available. Only use it if the feature is enabled.
Genesys Cloud Routing Utilization Label.

## 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:
Expand Down
14 changes: 14 additions & 0 deletions docs/resources/webdeployments_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ resource "genesyscloud_webdeployments_configuration" "exampleConfiguration" {
channels = ["Webmessaging", "Voice"]
mask_selectors = [".my-class", "#my-id"]
readonly_selectors = [".my-class", "#my-id"]
pause_criteria = {
url_fragment = "/sensitive"
condition = "includes"
}
}
journey_events {
enabled = true
Expand Down Expand Up @@ -213,8 +217,18 @@ Optional:
- `channels` (List of String) List of channels through which cobrowse is available (for now only Webmessaging and Voice)
- `enabled` (Boolean) Whether or not cobrowse is enabled
- `mask_selectors` (List of String) List of CSS selectors which should be masked when screen sharing is active
- `pause_criteria` (Block List) Pause criteria that will pause cobrowse if some of them are met in the user's URL (see [below for nested schema](#nestedblock--cobrowse--pause_criteria))
- `readonly_selectors` (List of String) List of CSS selectors which should be read-only when screen sharing is active

<a id="nestedblock--cobrowse--pause_criteria"></a>
### Nested Schema for `cobrowse.pause_criteria`

Required:

- `condition` (String) The condition to be applied to the `url_fragment`. Conditions are 'includes', 'does_not_include', 'starts_with', 'ends_with', 'equals'
- `url_fragment` (String) A string representing a part of the URL that, when matched according to the specified condition, will trigger a pause in the cobrowse session



<a id="nestedblock--custom_i18n_labels"></a>
### Nested Schema for `custom_i18n_labels`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ resource "genesyscloud_webdeployments_configuration" "exampleConfiguration" {
channels = ["Webmessaging", "Voice"]
mask_selectors = [".my-class", "#my-id"]
readonly_selectors = [".my-class", "#my-id"]
pause_criteria = {
url_fragment = "/sensitive"
condition = "includes"
}
}
journey_events {
enabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func DataSourceArchitectDatatableRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

type Datatableproperty struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"errors"
"net/http"

"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

// internalProxy holds a proxy instance that can be used throughout the package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func TestAccResourceArchitectDatatable(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

// Row IDs structured as {table-id}/{key-value}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

type Datatableproperty struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import (
"context"
"encoding/json"
"errors"
"github.com/mitchellh/mapstructure"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"log"
"net/http"
rc "terraform-provider-genesyscloud/genesyscloud/resource_cache"

"github.com/mitchellh/mapstructure"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

// internalProxy holds a proxy instance that can be used throughout the package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func TestAccResourceArchitectDatatableRow(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ package architect_emergencygroup
import (
"context"
"fmt"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"

"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

var internalProxy *architectEmergencyGroupProxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func getAllEmergencyGroups(ctx context.Context, clientConfig *platformclientv2.Configuration) (resourceExporter.ResourceIDMetaMap, diag.Diagnostics) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func TestAccResourceArchitectEmergencyGroups(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package architect_emergencygroup

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func buildSdkEmergencyGroupCallFlows(d *schema.ResourceData) *[]platformclientv2.Emergencycallflow {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package architect_flow
import (
"context"
"fmt"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"log"
rc "terraform-provider-genesyscloud/genesyscloud/resource_cache"

"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

var internalProxy *architectFlowProxy
Expand Down
2 changes: 1 addition & 1 deletion genesyscloud/architect_flow/resource_genesyscloud_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func getAllFlows(ctx context.Context, clientConfig *platformclientv2.Configuration) (resourceExporter.ResourceIDMetaMap, diag.Diagnostics) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

// lockFlow will search for a specific flow and then lock it. This is to specifically test the force_unlock flag where I want to create a flow, simulate some one locking it and then attempt to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
rc "terraform-provider-genesyscloud/genesyscloud/resource_cache"

"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func TestAccResourceArchitectGrammar(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"terraform-provider-genesyscloud/genesyscloud/util/files"
"time"

"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

type FileType int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func TestAccResourceArchitectGrammarLanguage(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"time"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
"github.com/stretchr/testify/assert"

"github.com/google/uuid"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
utillists "terraform-provider-genesyscloud/genesyscloud/util/lists"
"time"

"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"

"github.com/google/uuid"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func TestUnitUploadIvrDnisChunksSuccess(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

// getAllIvrConfigs retrieves all architect IVRs and is used for the exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

func TestAccResourceIvrConfigBasic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
"github.com/stretchr/testify/assert"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"terraform-provider-genesyscloud/genesyscloud/util/lists"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

type IvrConfigStruct struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ package architect_schedulegroups
import (
"context"
"fmt"
"github.com/mypurecloud/platform-client-sdk-go/v131/platformclientv2"
"log"

"github.com/mypurecloud/platform-client-sdk-go/v133/platformclientv2"
)

/*
Expand Down
Loading

0 comments on commit 8086205

Please sign in to comment.