Skip to content

Commit

Permalink
Merge branch 'dev' into feat/DEVTOOLING-926
Browse files Browse the repository at this point in the history
  • Loading branch information
charliecon committed Jan 30, 2025
2 parents e2952ec + 0997e25 commit aa89f19
Show file tree
Hide file tree
Showing 138 changed files with 10,432 additions and 2,131 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ builds:
goarch: arm64
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- format: zip
- formats: ['zip']
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
Expand Down
30 changes: 30 additions & 0 deletions docs/data-sources/externalcontacts_external_source.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "genesyscloud_externalcontacts_external_source Data Source - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Genesys Cloud external contacts external source data source. Select an external source by name
---

# genesyscloud_externalcontacts_external_source (Data Source)

Genesys Cloud external contacts external source data source. Select an external source by name

## Example Usage

```terraform
data "genesyscloud_externalcontacts_external_source" "external_source" {
name = "example-source-123"
}
```

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

### Required

- `name` (String) external source name

### Read-Only

- `id` (String) The ID of this resource.
6 changes: 6 additions & 0 deletions docs/data-sources/journey_views.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ description: |-

Data source for Genesys Cloud Journey Views. Select a Journey View by name.

## Example Usage

```terraform
data "genesyscloud_journey_views" "example_journey_view_data" {
name = "example_journey_view_name"
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
32 changes: 32 additions & 0 deletions docs/data-sources/task_management_worktype_flow_datebased_rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "genesyscloud_task_management_worktype_flow_datebased_rule Data Source - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Genesys Cloud task management datebased rule data source. Select a task management datebased rule by name
---

# genesyscloud_task_management_worktype_flow_datebased_rule (Data Source)

Genesys Cloud task management datebased rule data source. Select a task management datebased rule by name

## Example Usage

```terraform
data "genesyscloud_task_management_worktype_flow_datebased_rule" "datebased_rule_data" {
worktype_id = genesyscloud_task_management_worktype.example.id
name = "DateBased Rule"
}
```

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

### Required

- `name` (String) The name of the Rule.
- `worktype_id` (String) The Worktype ID of the Rule.

### Read-Only

- `id` (String) The ID of this resource.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "genesyscloud_task_management_worktype_flow_onattributechange_rule Data Source - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Genesys Cloud task management onattributechange rule data source. Select a task management onattributechange rule by name
---

# genesyscloud_task_management_worktype_flow_onattributechange_rule (Data Source)

Genesys Cloud task management onattributechange rule data source. Select a task management onattributechange rule by name

## Example Usage

```terraform
data "genesyscloud_task_management_worktype_flow_onattributechange_rule" "onattributechange_rule_data" {
worktype_id = genesyscloud_task_management_worktype.example.id
name = "OnAttributeChange Rule"
}
```

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

### Required

- `name` (String) The name of the Rule.
- `worktype_id` (String) The Worktype ID of the Rule.

### Read-Only

- `id` (String) The ID of this resource.
32 changes: 32 additions & 0 deletions docs/data-sources/task_management_worktype_flow_oncreate_rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "genesyscloud_task_management_worktype_flow_oncreate_rule Data Source - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Genesys Cloud task management oncreate rule data source. Select a task management oncreate rule by name
---

# genesyscloud_task_management_worktype_flow_oncreate_rule (Data Source)

Genesys Cloud task management oncreate rule data source. Select a task management oncreate rule by name

## Example Usage

```terraform
data "genesyscloud_task_management_worktype_flow_oncreate_rule" "oncreate_rule_data" {
worktype_id = genesyscloud_task_management_worktype.example.id
name = "OnCreate Rule"
}
```

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

### Required

- `name` (String) Task management oncreate rule name
- `worktype_id` (String) The Worktype ID of the Rule.

### Read-Only

- `id` (String) The ID of this resource.
6 changes: 4 additions & 2 deletions docs/resources/externalcontacts_contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ resource "genesyscloud_externalcontacts_contact" "contact" {
}
display_name = "facebookName"
}
survey_opt_out = false
external_system_url = "https://systemUrl.com"
survey_opt_out = false
external_system_url = "https://systemUrl.com"
external_organization_id = genesyscloud_externalcontacts_organization.example.id
}
```

Expand All @@ -104,6 +105,7 @@ resource "genesyscloud_externalcontacts_contact" "contact" {

- `address` (Block List, Max: 1) Contact address. (see [below for nested schema](#nestedblock--address))
- `cell_phone` (Block List, Max: 1) Contact call phone settings. (see [below for nested schema](#nestedblock--cell_phone))
- `external_organization_id` (String) External organization for this external contact
- `external_system_url` (String) Contact external system url.
- `facebook_id` (Block List, Max: 1) Contact facebook account informations. (see [below for nested schema](#nestedblock--facebook_id))
- `first_name` (String) The first name of the contact.
Expand Down
54 changes: 54 additions & 0 deletions docs/resources/externalcontacts_external_source.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
page_title: "genesyscloud_externalcontacts_external_source Resource - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Genesys Cloud external contacts external source
---
# genesyscloud_externalcontacts_external_source (Resource)

Genesys Cloud external contacts external source

## 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/externalcontacts/externalsources](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-externalcontacts-externalsources)
* [POST /api/v2/externalcontacts/externalsources](https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-externalcontacts-externalsources)
* [GET /api/v2/externalcontacts/externalsources/{externalSourceId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-externalcontacts-externalsources--externalSourceId-)
* [PUT /api/v2/externalcontacts/externalsources/{externalSourceId}](https://developer.genesys.cloud/devapps/api-explorer#put-api-v2-externalcontacts-externalsources--externalSourceId-)
* [DELETE /api/v2/externalcontacts/externalsources/{externalSourceId}](https://developer.genesys.cloud/devapps/api-explorer#delete-api-v2-externalcontacts-externalsources--externalSourceId-)

## Example Usage

```terraform
resource "genesyscloud_externalcontacts_external_source" "external_source" {
name = "some-external-source"
active = true
link_configuration {
uri_template = "https://some.host/{{externalId.value}}"
}
}
```

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

### Required

- `name` (String) The name of the external source.

### Optional

- `active` (Boolean) Whether the external source is active. Defaults to `true`.
- `link_configuration` (Block List, Max: 1) (see [below for nested schema](#nestedblock--link_configuration))

### Read-Only

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

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

Optional:

- `uri_template` (String)

36 changes: 15 additions & 21 deletions docs/resources/externalcontacts_organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,28 @@ The following Genesys Cloud APIs are used by this resource. Ensure your OAuth Cl

```terraform
resource "genesyscloud_externalcontacts_organization" "organization" {
first_name = "jean"
middle_name = "jacques"
last_name = "dupont"
salutation = "salutation"
title = "genesys staff"
name = "ExampleCorporation"
company_type = "Software"
employee_count = 450
phone_number {
display = "+33 0 00 00 00 00"
extension = 4
accepts_sms = false
e164 = "+330000000000"
country_code = "FR"
display = "+2 123-123-4567"
country_code = "US"
}
address {
address1 = "1 rue de la paix"
address2 = "2 rue de la paix"
city = "Paris"
state = "île-de-France"
postal_code = "75000"
country_code = "FR"
address1 = "51 Example Street"
city = "Irvine"
state = "California"
postal_code = "45678"
country_code = "US"
}
twitter {
twitter_id = "RealABCNews"
name = "ABCNews"
screen_name = "ABCNewsCorp"
twitter_id = "ExampleTwitterId"
name = "ExampleTwitterName"
screen_name = "ExampleScreenName"
}
tickers {
symbol = "ABC"
exchange = "NYSE"
symbol = "EXPC"
exchange = "NASDAQ"
}
external_system_url = "https://systemUrl.com"
}
Expand Down
Loading

0 comments on commit aa89f19

Please sign in to comment.