diff --git a/internal/auth0/action/resource_trigger_action.go b/internal/auth0/action/resource_trigger_action.go index b0fdf9551..7f4333033 100644 --- a/internal/auth0/action/resource_trigger_action.go +++ b/internal/auth0/action/resource_trigger_action.go @@ -204,7 +204,7 @@ func deleteTriggerAction(_ context.Context, d *schema.ResourceData, m interface{ return diag.FromErr(err) } - var updatedBindings []*management.ActionBinding + updatedBindings := make([]*management.ActionBinding, 0) for _, binding := range triggerBindings.Bindings { if binding.Action.GetID() == actionID { continue @@ -219,9 +219,5 @@ func deleteTriggerAction(_ context.Context, d *schema.ResourceData, m interface{ }) } - if err := api.Action.UpdateBindings(trigger, updatedBindings); err != nil { - return diag.FromErr(err) - } - - return nil + return diag.FromErr(api.Action.UpdateBindings(trigger, updatedBindings)) } diff --git a/internal/auth0/action/resource_trigger_action_test.go b/internal/auth0/action/resource_trigger_action_test.go index ede868e47..c1222c229 100644 --- a/internal/auth0/action/resource_trigger_action_test.go +++ b/internal/auth0/action/resource_trigger_action_test.go @@ -1,60 +1,88 @@ package action_test import ( - "os" - "strings" + "fmt" "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/plancheck" + "github.com/hashicorp/terraform-plugin-testing/terraform" + "github.com/stretchr/testify/assert" "github.com/auth0/terraform-provider-auth0/internal/acctest" ) -const givenAnAction = ` resource auth0_action my_action { - name = "Test Action {{.testName}}" - code = "exports.onExecutePostLogin = async (event, api) => {};" +const testAccCreateTriggerAction = testAccGivenTwoActions + ` +resource "auth0_trigger_action" "my_action_post_login" { + depends_on = [ auth0_action.action_bar ] - supported_triggers { - id = "post-login" - version = "v3" - } - - deploy = true + action_id = auth0_action.action_foo.id + trigger = auth0_action.action_foo.supported_triggers[0].id } ` -const testAccCreateTriggerAction = givenAnAction + ` - resource auth0_trigger_action my_action_post_login { - action_id = auth0_action.my_action.id - trigger = auth0_action.my_action.supported_triggers[0].id - } +const testAccUpdateTriggerAction = testAccGivenTwoActions + ` +resource "auth0_trigger_action" "my_action_post_login" { + depends_on = [ auth0_action.action_bar ] + + action_id = auth0_action.action_foo.id + trigger = auth0_action.action_foo.supported_triggers[0].id + display_name = format("%s %s", auth0_action.action_foo.name,"(new display name)") +} ` -const testAccUpdateTriggerAction = givenAnAction + ` - resource auth0_trigger_action my_action_post_login { - action_id = auth0_action.my_action.id - trigger = auth0_action.my_action.supported_triggers[0].id - display_name = format("%s %s", auth0_action.my_action.name,"(new display name)") - } +const testAccCreateAnotherTriggerAction = testAccGivenTwoActions + ` +resource "auth0_trigger_action" "my_action_post_login" { + depends_on = [ auth0_action.action_bar ] + + action_id = auth0_action.action_foo.id + trigger = auth0_action.action_foo.supported_triggers[0].id + display_name = format("%s %s", auth0_action.action_foo.name,"(new display name)") +} + +resource "auth0_trigger_action" "another_action_post_login" { + depends_on = [ auth0_trigger_action.my_action_post_login ] + + action_id = auth0_action.action_bar.id + trigger = auth0_action.action_bar.supported_triggers[0].id + display_name = auth0_action.action_bar.name +} ` -const testAccCreateAnotherTriggerAction = ` - resource auth0_action another_action { - name = "Test Action {{.testName}} (another)" - code = "exports.onExecutePostLogin = async (event, api) => {};" +const testAccTriggerActionImportSetup = testAccGivenTwoActions + ` +resource "auth0_trigger_actions" "login_flow" { + depends_on = [ auth0_action.action_bar ] + + trigger = "post-login" - supported_triggers { - id = "post-login" - version = "v3" - } - deploy = true + actions { + id = auth0_action.action_foo.id + display_name = auth0_action.action_foo.name } - resource auth0_trigger_action another_action_post_login { - action_id = auth0_action.another_action.id - trigger = auth0_action.another_action.supported_triggers[0].id - display_name = auth0_action.another_action.name + actions { + id = auth0_action.action_bar.id + display_name = auth0_action.action_bar.name } +} +` + +const testAccTriggerActionImportCheck = testAccTriggerActionImportSetup + ` +resource "auth0_trigger_action" "action_1" { + depends_on = [ auth0_trigger_actions.login_flow ] + + action_id = auth0_action.action_foo.id + trigger = auth0_action.action_foo.supported_triggers[0].id + display_name = auth0_action.action_foo.name +} + +resource "auth0_trigger_action" "action_2" { + depends_on = [ auth0_trigger_action.action_1 ] + + action_id = auth0_action.action_bar.id + trigger = auth0_action.action_bar.supported_triggers[0].id + display_name = auth0_action.action_bar.name +} ` func TestAccTriggerAction(t *testing.T) { @@ -64,86 +92,66 @@ func TestAccTriggerAction(t *testing.T) { Config: acctest.ParseTestName(testAccCreateTriggerAction, t.Name()), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_trigger_action.my_action_post_login", "trigger", "post-login"), - resource.TestCheckResourceAttrSet("auth0_trigger_action.my_action_post_login", "action_id"), - resource.TestCheckResourceAttr("auth0_trigger_action.my_action_post_login", "display_name", "Test Action TestAccTriggerAction"), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_action.my_action_post_login", "action_id", "auth0_action.action_foo", "id"), + resource.TestCheckResourceAttr("auth0_trigger_action.my_action_post_login", "display_name", fmt.Sprintf("Test Trigger Binding Foo %s", t.Name())), ), }, { Config: acctest.ParseTestName(testAccUpdateTriggerAction, t.Name()), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_trigger_action.my_action_post_login", "trigger", "post-login"), - resource.TestCheckResourceAttr("auth0_trigger_action.my_action_post_login", "display_name", "Test Action TestAccTriggerAction (new display name)"), - resource.TestCheckResourceAttrSet("auth0_trigger_action.my_action_post_login", "action_id"), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_action.my_action_post_login", "action_id", "auth0_action.action_foo", "id"), + resource.TestCheckResourceAttr("auth0_trigger_action.my_action_post_login", "display_name", fmt.Sprintf("Test Trigger Binding Foo %s (new display name)", t.Name())), ), }, { Config: acctest.ParseTestName(testAccCreateAnotherTriggerAction, t.Name()), Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_trigger_action.my_action_post_login", "trigger", "post-login"), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_action.my_action_post_login", "action_id", "auth0_action.action_foo", "id"), + resource.TestCheckResourceAttr("auth0_trigger_action.my_action_post_login", "display_name", fmt.Sprintf("Test Trigger Binding Foo %s (new display name)", t.Name())), resource.TestCheckResourceAttr("auth0_trigger_action.another_action_post_login", "trigger", "post-login"), - resource.TestCheckResourceAttrSet("auth0_trigger_action.another_action_post_login", "action_id"), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_action.another_action_post_login", "action_id", "auth0_action.action_bar", "id"), + resource.TestCheckResourceAttr("auth0_trigger_action.another_action_post_login", "display_name", fmt.Sprintf("Test Trigger Binding Bar %s", t.Name())), ), }, { - Config: acctest.ParseTestName(testAccCreateTriggerAction, t.Name()), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_trigger_action.my_action_post_login", "trigger", "post-login"), - resource.TestCheckResourceAttrSet("auth0_trigger_action.my_action_post_login", "action_id"), - ), + Config: acctest.ParseTestName(testAccGivenTwoActions, t.Name()), }, - }, - }) -} - -const testAccImportTriggerAction = ` - resource auth0_action my_action { - name = "Test Action {{.testName}}" - code = "exports.onExecutePostLogin = async (event, api) => {};" - - supported_triggers { - id = "post-login" - version = "v3" - } - } - - resource auth0_trigger_action my_action_post_login { - action_id = auth0_action.my_action.id - trigger = tolist(auth0_action.my_action.supported_triggers)[0].id - } -` - -func TestAccTriggerActionImport(t *testing.T) { - if os.Getenv("AUTH0_DOMAIN") != acctest.RecordingsDomain { - // The test runs only with recordings as it requires an initial setup. - t.Skip() - } - - testName := strings.ToLower(t.Name()) - - importedActionID := "a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2" - - acctest.Test(t, resource.TestCase{ - PreventPostDestroyRefresh: true, - Steps: []resource.TestStep{ { - Config: acctest.ParseTestName(testAccImportTriggerAction, testName), - ResourceName: "auth0_action.my_action", - ImportState: true, - ImportStateId: importedActionID, + Config: acctest.ParseTestName(testAccTriggerActionImportSetup, t.Name()), + }, + { + Config: acctest.ParseTestName(testAccTriggerActionImportCheck, t.Name()), + ResourceName: "auth0_trigger_action.action_1", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + actionID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_action.action_foo", "id") + assert.NoError(t, err) + + return "post-login::" + actionID, nil + }, ImportStatePersist: true, }, { - Config: acctest.ParseTestName(testAccImportTriggerAction, testName), - ResourceName: "auth0_trigger_action.my_action_post_login", - ImportState: true, - ImportStateId: "post-login::" + importedActionID, + Config: acctest.ParseTestName(testAccTriggerActionImportCheck, t.Name()), + ResourceName: "auth0_trigger_action.action_2", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + actionID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_action.action_bar", "id") + assert.NoError(t, err) + + return "post-login::" + actionID, nil + }, ImportStatePersist: true, }, { - Config: acctest.ParseTestName(testAccImportTriggerAction, testName), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_trigger_action.my_action_post_login", "trigger", "post-login"), - resource.TestCheckResourceAttrSet("auth0_trigger_action.my_action_post_login", "action_id"), - ), + Config: acctest.ParseTestName(testAccTriggerActionImportCheck, t.Name()), + ConfigPlanChecks: resource.ConfigPlanChecks{ + PreApply: []plancheck.PlanCheck{ + plancheck.ExpectEmptyPlan(), + }, + }, }, }, }) diff --git a/internal/auth0/action/resource_trigger_actions.go b/internal/auth0/action/resource_trigger_actions.go index 25d858fa0..95cfbe740 100644 --- a/internal/auth0/action/resource_trigger_actions.go +++ b/internal/auth0/action/resource_trigger_actions.go @@ -100,8 +100,9 @@ func readTriggerBinding(_ context.Context, d *schema.ResourceData, m interface{} } func updateTriggerBinding(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - triggerBindings := expandTriggerBindings(d.GetRawConfig().GetAttr("actions")) api := m.(*config.Config).GetAPI() + + triggerBindings := expandTriggerBindings(d.GetRawConfig().GetAttr("actions")) if err := api.Action.UpdateBindings(d.Id(), triggerBindings); err != nil { return diag.FromErr(err) } @@ -111,9 +112,5 @@ func updateTriggerBinding(ctx context.Context, d *schema.ResourceData, m interfa func deleteTriggerBinding(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.Action.UpdateBindings(d.Id(), []*management.ActionBinding{}); err != nil { - return diag.FromErr(err) - } - - return nil + return diag.FromErr(api.Action.UpdateBindings(d.Id(), []*management.ActionBinding{})) } diff --git a/internal/auth0/action/resource_trigger_actions_test.go b/internal/auth0/action/resource_trigger_actions_test.go index 9a35e1404..e976d79e8 100644 --- a/internal/auth0/action/resource_trigger_actions_test.go +++ b/internal/auth0/action/resource_trigger_actions_test.go @@ -2,88 +2,143 @@ package action_test import ( "fmt" - "os" "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/plancheck" "github.com/auth0/terraform-provider-auth0/internal/acctest" ) -const testAccTriggerActionsAction = ` -resource auth0_action action_foo { +const testAccGivenTwoActions = ` +resource "auth0_action" "action_foo" { name = "Test Trigger Binding Foo {{.testName}}" + deploy = true + supported_triggers { id = "post-login" - version = "v2" + version = "v3" } + code = <<-EOT exports.onContinuePostLogin = async (event, api) => { console.log("foo") };" EOT - deploy = true } -resource auth0_action action_bar { - depends_on = [auth0_action.action_foo] +resource "auth0_action" "action_bar" { + depends_on = [ auth0_action.action_foo ] + name = "Test Trigger Binding Bar {{.testName}}" + deploy = true + supported_triggers { id = "post-login" - version = "v2" + version = "v3" } + code = <<-EOT exports.onContinuePostLogin = async (event, api) => { console.log("bar") };" EOT - deploy = true } ` -const testAccTriggerActionsConfigCreate = testAccTriggerActionsAction + ` -resource auth0_trigger_actions login_flow { +const testAccTriggerActionsConfigCreateWithOneAction = testAccGivenTwoActions + ` +resource "auth0_trigger_actions" "login_flow" { + depends_on = [ auth0_action.action_bar ] + trigger = "post-login" + actions { - id = auth0_action.action_foo.id + id = auth0_action.action_foo.id display_name = auth0_action.action_foo.name } } ` -const testAccTriggerActionsConfigUpdate = testAccTriggerActionsAction + ` -resource auth0_trigger_actions login_flow { +const testAccTriggerActionsConfigUpdateWithTwoActions = testAccGivenTwoActions + ` +resource "auth0_trigger_actions" "login_flow" { + depends_on = [ auth0_action.action_bar ] + trigger = "post-login" + actions { - id = auth0_action.action_foo.id + id = auth0_action.action_foo.id display_name = auth0_action.action_foo.name } + actions { - id = auth0_action.action_bar.id + id = auth0_action.action_bar.id display_name = auth0_action.action_bar.name } } ` -const testAccTriggerActionsConfigUpdateAgain = testAccTriggerActionsAction + ` -resource auth0_trigger_actions login_flow { +const testAccTriggerActionsConfigUpdateAgain = testAccGivenTwoActions + ` +resource "auth0_trigger_actions" "login_flow" { + depends_on = [ auth0_action.action_bar ] + trigger = "post-login" + actions { - id = auth0_action.action_bar.id # <----- change the order of the actions + id = auth0_action.action_bar.id # <----- change the order of the actions display_name = auth0_action.action_bar.name } + actions { - id = auth0_action.action_foo.id + id = auth0_action.action_foo.id display_name = auth0_action.action_foo.name } } ` -const testAccTriggerActionsConfigRemoveAction = testAccTriggerActionsAction + ` -resource auth0_trigger_actions login_flow { +const testAccTriggerActionsConfigRemoveOneAction = testAccGivenTwoActions + ` +resource "auth0_trigger_actions" "login_flow" { + depends_on = [ auth0_action.action_bar ] + + trigger = "post-login" + + actions { + id = auth0_action.action_bar.id + display_name = auth0_action.action_bar.name + } +} +` + +const testAccTriggerActionsImportSetup = testAccGivenTwoActions + ` +resource "auth0_trigger_action" "action_1" { + depends_on = [ auth0_action.action_bar ] + + action_id = auth0_action.action_foo.id + trigger = auth0_action.action_foo.supported_triggers[0].id + display_name = auth0_action.action_foo.name +} + +resource "auth0_trigger_action" "action_2" { + depends_on = [ auth0_trigger_action.action_1 ] + + action_id = auth0_action.action_bar.id + trigger = auth0_action.action_bar.supported_triggers[0].id + display_name = auth0_action.action_bar.name +} +` + +const testAccTriggerActionsImportCheck = testAccTriggerActionsImportSetup + ` +resource "auth0_trigger_actions" "login_flow" { + depends_on = [ auth0_trigger_action.action_2 ] + trigger = "post-login" + actions { - id = auth0_action.action_bar.id + id = auth0_action.action_foo.id + display_name = auth0_action.action_foo.name + } + + actions { + id = auth0_action.action_bar.id display_name = auth0_action.action_bar.name } } @@ -93,86 +148,67 @@ func TestAccTriggerActions(t *testing.T) { acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ { - Config: acctest.ParseTestName(testAccTriggerActionsConfigCreate, t.Name()), + Config: acctest.ParseTestName(testAccTriggerActionsConfigCreateWithOneAction, t.Name()), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_action.action_foo", "name", fmt.Sprintf("Test Trigger Binding Foo %s", t.Name())), - resource.TestCheckResourceAttr("auth0_action.action_bar", "name", fmt.Sprintf("Test Trigger Binding Bar %s", t.Name())), resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.#", "1"), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_actions.login_flow", "actions.0.id", "auth0_action.action_foo", "id"), resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.0.display_name", fmt.Sprintf("Test Trigger Binding Foo %s", t.Name())), ), }, { - Config: acctest.ParseTestName(testAccTriggerActionsConfigUpdate, t.Name()), + Config: acctest.ParseTestName(testAccTriggerActionsConfigUpdateWithTwoActions, t.Name()), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_action.action_foo", "name", fmt.Sprintf("Test Trigger Binding Foo %s", t.Name())), - resource.TestCheckResourceAttr("auth0_action.action_bar", "name", fmt.Sprintf("Test Trigger Binding Bar %s", t.Name())), resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.#", "2"), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_actions.login_flow", "actions.0.id", "auth0_action.action_foo", "id"), resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.0.display_name", fmt.Sprintf("Test Trigger Binding Foo %s", t.Name())), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_actions.login_flow", "actions.1.id", "auth0_action.action_bar", "id"), resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.1.display_name", fmt.Sprintf("Test Trigger Binding Bar %s", t.Name())), ), }, { Config: acctest.ParseTestName(testAccTriggerActionsConfigUpdateAgain, t.Name()), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_action.action_foo", "name", fmt.Sprintf("Test Trigger Binding Foo %s", t.Name())), - resource.TestCheckResourceAttr("auth0_action.action_bar", "name", fmt.Sprintf("Test Trigger Binding Bar %s", t.Name())), resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.#", "2"), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_actions.login_flow", "actions.0.id", "auth0_action.action_bar", "id"), resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.0.display_name", fmt.Sprintf("Test Trigger Binding Bar %s", t.Name())), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_actions.login_flow", "actions.1.id", "auth0_action.action_foo", "id"), resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.1.display_name", fmt.Sprintf("Test Trigger Binding Foo %s", t.Name())), ), }, { - Config: acctest.ParseTestName(testAccTriggerActionsConfigRemoveAction, t.Name()), + Config: acctest.ParseTestName(testAccTriggerActionsConfigRemoveOneAction, t.Name()), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_action.action_foo", "name", fmt.Sprintf("Test Trigger Binding Foo %s", t.Name())), - resource.TestCheckResourceAttr("auth0_action.action_bar", "name", fmt.Sprintf("Test Trigger Binding Bar %s", t.Name())), resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.#", "1"), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_actions.login_flow", "actions.0.id", "auth0_action.action_bar", "id"), resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.0.display_name", fmt.Sprintf("Test Trigger Binding Bar %s", t.Name())), ), }, - }, - }) -} - -func TestAccTriggerActions_Import(t *testing.T) { - if os.Getenv("AUTH0_DOMAIN") != acctest.RecordingsDomain { - // Only run with recorded HTTP requests, as it is required to import an already - // existing trigger binding that is created outside the scope of terraform. - t.Skip() - } - - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ { - Config: ` - resource "auth0_trigger_actions" "test_flow"{ - trigger = "post-user-registration" - actions { - id = "c2d5b219-4390-4bea-8a1f-c61672b54db3" - display_name = "Test" - } - } - `, - ResourceName: "auth0_trigger_actions.test_flow", + Config: acctest.ParseTestName(testAccGivenTwoActions, t.Name()), + }, + { + Config: acctest.ParseTestName(testAccTriggerActionsImportSetup, t.Name()), + }, + { + Config: acctest.ParseTestName(testAccTriggerActionsImportCheck, t.Name()), + ResourceName: "auth0_trigger_actions.login_flow", ImportState: true, - ImportStateId: "post-user-registration", + ImportStateId: "post-login", ImportStatePersist: true, }, { - Config: ` - resource "auth0_trigger_actions" "test_flow"{ - trigger = "post-user-registration" - actions { - id = "c2d5b219-4390-4bea-8a1f-c61672b54db3" - display_name = "Test" - } - } - `, + Config: acctest.ParseTestName(testAccTriggerActionsImportCheck, t.Name()), + ConfigPlanChecks: resource.ConfigPlanChecks{ + PreApply: []plancheck.PlanCheck{ + plancheck.ExpectEmptyPlan(), + }, + }, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_trigger_actions.test_flow", "id", "post-user-registration"), - resource.TestCheckResourceAttr("auth0_trigger_actions.test_flow", "trigger", "post-user-registration"), - resource.TestCheckResourceAttr("auth0_trigger_actions.test_flow", "actions.#", "1"), - resource.TestCheckResourceAttr("auth0_trigger_actions.test_flow", "actions.0.display_name", "Test"), + resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.#", "2"), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_actions.login_flow", "actions.0.id", "auth0_action.action_foo", "id"), + resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.0.display_name", fmt.Sprintf("Test Trigger Binding Foo %s", t.Name())), + resource.TestCheckTypeSetElemAttrPair("auth0_trigger_actions.login_flow", "actions.1.id", "auth0_action.action_bar", "id"), + resource.TestCheckResourceAttr("auth0_trigger_actions.login_flow", "actions.1.display_name", fmt.Sprintf("Test Trigger Binding Bar %s", t.Name())), ), }, }, diff --git a/test/data/recordings/TestAccTriggerAction.yaml b/test/data/recordings/TestAccTriggerAction.yaml index 1d1874073..69fd9278a 100644 --- a/test/data/recordings/TestAccTriggerAction.yaml +++ b/test/data/recordings/TestAccTriggerAction.yaml @@ -6,14 +6,14 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 202 + content_length: 246 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onExecutePostLogin = async (event, api) =\u003e {};","dependencies":[],"secrets":[]} + {"name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"secrets":[]} form: {} headers: Content-Type: @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 399 + content_length: 443 uncompressed: false - body: '{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.381500069Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 139.472958ms + duration: 156.239542ms - id: 1 request: proto: HTTP/1.1 @@ -56,7 +56,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/077b061d-bd7b-4885-83ef-8194cd2ca156 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.381500069Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.771667ms + duration: 130.758791ms - id: 2 request: proto: HTTP/1.1 @@ -92,7 +92,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/077b061d-bd7b-4885-83ef-8194cd2ca156/deploy + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391/deploy method: POST response: proto: HTTP/2.0 @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":false,"number":1,"secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.615123189Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","all_changes_deployed":false}}' + body: '{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":false,"number":1,"secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.266930013Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","all_changes_deployed":false}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.953083ms + duration: 116.8085ms - id: 3 request: proto: HTTP/1.1 @@ -128,7 +128,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/077b061d-bd7b-4885-83ef-8194cd2ca156 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 method: GET response: proto: HTTP/2.0 @@ -138,49 +138,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.381500069Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.425917ms + duration: 120.485792ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 246 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"secrets":[]} form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"9fc50545-6083-41fc-b673-6fdab075e40f","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:41:31.350270438Z","updated_at":"2023-06-07T23:41:31.350270438Z","display_name":"Bar1"},{"id":"ceb84746-b095-43ce-939d-96be67dc7c8f","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:41:31.353893173Z","updated_at":"2023-06-07T23:41:31.353893173Z","display_name":"Test action"}],"total":2,"per_page":50}' + content_length: 443 + uncompressed: false + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.384333ms + status: 201 Created + code: 201 + duration: 133.225542ms - id: 5 request: proto: HTTP/1.1 @@ -200,7 +200,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/077b061d-bd7b-4885-83ef-8194cd2ca156 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 method: GET response: proto: HTTP/2.0 @@ -210,34 +210,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.381500069Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.934583ms + duration: 113.23225ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 344 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"bindings":[{"display_name":"Bar1","ref":{"type":"action_id","value":"d23fe951-aa23-4c09-8f71-444a9ec14e53"}},{"display_name":"Test action","ref":{"type":"action_id","value":"3b131daf-af26-4fbc-88a0-d0f93d71ad11"}},{"display_name":"Test Action TestAccTriggerAction","ref":{"type":"action_id","value":"077b061d-bd7b-4885-83ef-8194cd2ca156"}}]} + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755/deploy + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"a4c900cd-59dd-49b2-8282-661d2fa3555f","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.150434491Z","updated_at":"2023-06-07T23:44:17.150434491Z","display_name":"Bar1"},{"id":"5ccb92bf-cb02-4e6c-bcd2-37baea8ce06b","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.154743314Z","updated_at":"2023-06-07T23:44:17.154743314Z","display_name":"Test action"},{"id":"69eb3334-4a0e-46aa-93ac-ea29b745011f","trigger_id":"post-login","action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.158809449Z","updated_at":"2023-06-07T23:44:17.158809449Z","display_name":"Test Action TestAccTriggerAction"}]}' + body: '{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":false,"number":1,"secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.775238556Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","all_changes_deployed":false}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 245.89675ms + duration: 160.850667ms - id: 7 request: proto: HTTP/1.1 @@ -272,7 +272,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 method: GET response: proto: HTTP/2.0 @@ -282,13 +282,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"a4c900cd-59dd-49b2-8282-661d2fa3555f","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.150434491Z","updated_at":"2023-06-07T23:44:17.150434491Z","display_name":"Bar1"},{"id":"5ccb92bf-cb02-4e6c-bcd2-37baea8ce06b","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.154743314Z","updated_at":"2023-06-07T23:44:17.154743314Z","display_name":"Test action"},{"id":"69eb3334-4a0e-46aa-93ac-ea29b745011f","trigger_id":"post-login","action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.158809449Z","updated_at":"2023-06-07T23:44:17.158809449Z","display_name":"Test Action TestAccTriggerAction"}],"total":3,"per_page":50}' + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.184875ms + duration: 125.869625ms - id: 8 request: proto: HTTP/1.1 @@ -308,7 +308,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/077b061d-bd7b-4885-83ef-8194cd2ca156 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 method: GET response: proto: HTTP/2.0 @@ -318,13 +318,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.381500069Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"bindings":[],"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.125792ms + duration: 105.363167ms - id: 9 request: proto: HTTP/1.1 @@ -344,7 +344,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 method: GET response: proto: HTTP/2.0 @@ -354,34 +354,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"a4c900cd-59dd-49b2-8282-661d2fa3555f","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.150434491Z","updated_at":"2023-06-07T23:44:17.150434491Z","display_name":"Bar1"},{"id":"5ccb92bf-cb02-4e6c-bcd2-37baea8ce06b","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.154743314Z","updated_at":"2023-06-07T23:44:17.154743314Z","display_name":"Test action"},{"id":"69eb3334-4a0e-46aa-93ac-ea29b745011f","trigger_id":"post-login","action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.158809449Z","updated_at":"2023-06-07T23:44:17.158809449Z","display_name":"Test Action TestAccTriggerAction"}],"total":3,"per_page":50}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.638875ms + duration: 113.054792ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 154 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerAction","ref":{"type":"action_id","value":"71faaec4-d0d5-4261-81c2-a48a94501391"}}]} form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/077b061d-bd7b-4885-83ef-8194cd2ca156 - method: GET + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.381500069Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"bindings":[{"id":"06ad1df0-9aa5-4003-b72e-4ffb44ac3882","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:06.317063276Z","updated_at":"2023-06-14T14:37:06.317063276Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.606625ms + duration: 388.034167ms - id: 11 request: proto: HTTP/1.1 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"a4c900cd-59dd-49b2-8282-661d2fa3555f","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.150434491Z","updated_at":"2023-06-07T23:44:17.150434491Z","display_name":"Bar1"},{"id":"5ccb92bf-cb02-4e6c-bcd2-37baea8ce06b","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.154743314Z","updated_at":"2023-06-07T23:44:17.154743314Z","display_name":"Test action"},{"id":"69eb3334-4a0e-46aa-93ac-ea29b745011f","trigger_id":"post-login","action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.158809449Z","updated_at":"2023-06-07T23:44:17.158809449Z","display_name":"Test Action TestAccTriggerAction"}],"total":3,"per_page":50}' + body: '{"bindings":[{"id":"06ad1df0-9aa5-4003-b72e-4ffb44ac3882","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:06.317063276Z","updated_at":"2023-06-14T14:37:06.317063276Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"}],"total":1,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.303625ms + duration: 119.967917ms - id: 12 request: proto: HTTP/1.1 @@ -452,7 +452,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 method: GET response: proto: HTTP/2.0 @@ -462,34 +462,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"a4c900cd-59dd-49b2-8282-661d2fa3555f","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.150434491Z","updated_at":"2023-06-07T23:44:17.150434491Z","display_name":"Bar1"},{"id":"5ccb92bf-cb02-4e6c-bcd2-37baea8ce06b","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.154743314Z","updated_at":"2023-06-07T23:44:17.154743314Z","display_name":"Test action"},{"id":"69eb3334-4a0e-46aa-93ac-ea29b745011f","trigger_id":"post-login","action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:17.158809449Z","updated_at":"2023-06-07T23:44:17.158809449Z","display_name":"Test Action TestAccTriggerAction"}],"total":3,"per_page":50}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.621917ms + duration: 102.833125ms - id: 13 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 363 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"bindings":[{"display_name":"Bar1","ref":{"type":"action_id","value":"d23fe951-aa23-4c09-8f71-444a9ec14e53"}},{"display_name":"Test action","ref":{"type":"action_id","value":"3b131daf-af26-4fbc-88a0-d0f93d71ad11"}},{"display_name":"Test Action TestAccTriggerAction (new display name)","ref":{"type":"action_id","value":"077b061d-bd7b-4885-83ef-8194cd2ca156"}}]} + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"a13a1f8e-ef94-4b53-b551-9c67db4915ce","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.073682925Z","updated_at":"2023-06-07T23:44:19.073682925Z","display_name":"Bar1"},{"id":"c8f8abd9-5c46-4eeb-91d0-f5c8a1a088d9","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.075139644Z","updated_at":"2023-06-07T23:44:19.075139644Z","display_name":"Test action"},{"id":"fee14b24-c36a-4723-9cf5-fce8ae287e7c","trigger_id":"post-login","action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.076637354Z","updated_at":"2023-06-07T23:44:19.076637354Z","display_name":"Test Action TestAccTriggerAction (new display name)"}]}' + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.63425ms + duration: 129.305583ms - id: 14 request: proto: HTTP/1.1 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"a13a1f8e-ef94-4b53-b551-9c67db4915ce","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.073682925Z","updated_at":"2023-06-07T23:44:19.073682925Z","display_name":"Bar1"},{"id":"c8f8abd9-5c46-4eeb-91d0-f5c8a1a088d9","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.075139644Z","updated_at":"2023-06-07T23:44:19.075139644Z","display_name":"Test action"},{"id":"fee14b24-c36a-4723-9cf5-fce8ae287e7c","trigger_id":"post-login","action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.076637354Z","updated_at":"2023-06-07T23:44:19.076637354Z","display_name":"Test Action TestAccTriggerAction (new display name)"}],"total":3,"per_page":50}' + body: '{"bindings":[{"id":"06ad1df0-9aa5-4003-b72e-4ffb44ac3882","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:06.317063276Z","updated_at":"2023-06-14T14:37:06.317063276Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"}],"total":1,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.705917ms + duration: 94.592042ms - id: 15 request: proto: HTTP/1.1 @@ -560,7 +560,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/077b061d-bd7b-4885-83ef-8194cd2ca156 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.381500069Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.423958ms + duration: 135.636125ms - id: 16 request: proto: HTTP/1.1 @@ -596,7 +596,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"a13a1f8e-ef94-4b53-b551-9c67db4915ce","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.073682925Z","updated_at":"2023-06-07T23:44:19.073682925Z","display_name":"Bar1"},{"id":"c8f8abd9-5c46-4eeb-91d0-f5c8a1a088d9","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.075139644Z","updated_at":"2023-06-07T23:44:19.075139644Z","display_name":"Test action"},{"id":"fee14b24-c36a-4723-9cf5-fce8ae287e7c","trigger_id":"post-login","action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.076637354Z","updated_at":"2023-06-07T23:44:19.076637354Z","display_name":"Test Action TestAccTriggerAction (new display name)"}],"total":3,"per_page":50}' + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.452667ms + duration: 112.558042ms - id: 17 request: proto: HTTP/1.1 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"a13a1f8e-ef94-4b53-b551-9c67db4915ce","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.073682925Z","updated_at":"2023-06-07T23:44:19.073682925Z","display_name":"Bar1"},{"id":"c8f8abd9-5c46-4eeb-91d0-f5c8a1a088d9","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.075139644Z","updated_at":"2023-06-07T23:44:19.075139644Z","display_name":"Test action"},{"id":"fee14b24-c36a-4723-9cf5-fce8ae287e7c","trigger_id":"post-login","action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.076637354Z","updated_at":"2023-06-07T23:44:19.076637354Z","display_name":"Test Action TestAccTriggerAction (new display name)"}],"total":3,"per_page":50}' + body: '{"bindings":[{"id":"06ad1df0-9aa5-4003-b72e-4ffb44ac3882","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:06.317063276Z","updated_at":"2023-06-14T14:37:06.317063276Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"}],"total":1,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.344834ms + duration: 114.107625ms - id: 18 request: proto: HTTP/1.1 @@ -668,7 +668,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/077b061d-bd7b-4885-83ef-8194cd2ca156 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 method: GET response: proto: HTTP/2.0 @@ -678,34 +678,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.381500069Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"bindings":[{"id":"06ad1df0-9aa5-4003-b72e-4ffb44ac3882","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:06.317063276Z","updated_at":"2023-06-14T14:37:06.317063276Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"}],"total":1,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.910667ms + duration: 114.943625ms - id: 19 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 173 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)","ref":{"type":"action_id","value":"71faaec4-d0d5-4261-81c2-a48a94501391"}}]} form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -714,49 +714,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"a13a1f8e-ef94-4b53-b551-9c67db4915ce","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.073682925Z","updated_at":"2023-06-07T23:44:19.073682925Z","display_name":"Bar1"},{"id":"c8f8abd9-5c46-4eeb-91d0-f5c8a1a088d9","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.075139644Z","updated_at":"2023-06-07T23:44:19.075139644Z","display_name":"Test action"},{"id":"fee14b24-c36a-4723-9cf5-fce8ae287e7c","trigger_id":"post-login","action":{"id":"077b061d-bd7b-4885-83ef-8194cd2ca156","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:16.364115743Z","updated_at":"2023-06-07T23:44:16.364115743Z","current_version":{"id":"4c840eee-856e-4831-9d32-d842cfb33d62","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:16.679846635Z","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"4c840eee-856e-4831-9d32-d842cfb33d62","deployed":true,"number":1,"built_at":"2023-06-07T23:44:16.679846635Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:16.615123189Z","updated_at":"2023-06-07T23:44:16.681566414Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:19.076637354Z","updated_at":"2023-06-07T23:44:19.076637354Z","display_name":"Test Action TestAccTriggerAction (new display name)"}],"total":3,"per_page":50}' + body: '{"bindings":[{"id":"4ff85bf1-0a95-4ac0-9134-aec01236a6b7","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:08.899152642Z","updated_at":"2023-06-14T14:37:08.899152642Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.165375ms + duration: 224.228834ms - id: 20 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 212 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onExecutePostLogin = async (event, api) =\u003e {};","dependencies":[],"secrets":[]} + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions - method: POST + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 409 - uncompressed: false - body: '{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.780677542Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"4ff85bf1-0a95-4ac0-9134-aec01236a6b7","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:08.899152642Z","updated_at":"2023-06-14T14:37:08.899152642Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"}],"total":1,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 113.082667ms + status: 200 OK + code: 200 + duration: 260.670792ms - id: 21 request: proto: HTTP/1.1 @@ -776,7 +776,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 method: GET response: proto: HTTP/2.0 @@ -786,34 +786,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.780677542Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.90975ms + duration: 135.559583ms - id: 22 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 218 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"bindings":[{"display_name":"Bar1","ref":{"type":"action_id","value":"d23fe951-aa23-4c09-8f71-444a9ec14e53"}},{"display_name":"Test action","ref":{"type":"action_id","value":"3b131daf-af26-4fbc-88a0-d0f93d71ad11"}}]} + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"272132f9-0461-449a-9a30-da62bd8a53fa","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:20.877859634Z","updated_at":"2023-06-07T23:44:20.877859634Z","display_name":"Bar1"},{"id":"7f7b5848-ac22-4767-9323-fc4a5feb9ec0","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:20.879688630Z","updated_at":"2023-06-07T23:44:20.879688630Z","display_name":"Test action"}]}' + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.550542ms + duration: 92.552875ms - id: 23 request: proto: HTTP/1.1 @@ -848,8 +848,8 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a/deploy - method: POST + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -858,48 +858,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"6577c357-b54b-441a-b822-f1017534e92e","deployed":false,"number":1,"secrets":[],"status":"built","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.016285676Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.774036512Z","all_changes_deployed":false}}' + body: '{"bindings":[{"id":"4ff85bf1-0a95-4ac0-9134-aec01236a6b7","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:08.899152642Z","updated_at":"2023-06-14T14:37:08.899152642Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"}],"total":1,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.692291ms + duration: 97.668167ms - id: 24 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/077b061d-bd7b-4885-83ef-8194cd2ca156 - method: DELETE + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 145.56375ms + status: 200 OK + code: 200 + duration: 138.345834ms - id: 25 request: proto: HTTP/1.1 @@ -919,7 +920,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 method: GET response: proto: HTTP/2.0 @@ -929,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.780677542Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"6577c357-b54b-441a-b822-f1017534e92e","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:21.090122618Z","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"6577c357-b54b-441a-b822-f1017534e92e","deployed":true,"number":1,"built_at":"2023-06-07T23:44:21.090122618Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.287292ms + duration: 90.698209ms - id: 26 request: proto: HTTP/1.1 @@ -965,34 +966,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"272132f9-0461-449a-9a30-da62bd8a53fa","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:20.877859634Z","updated_at":"2023-06-07T23:44:20.877859634Z","display_name":"Bar1"},{"id":"7f7b5848-ac22-4767-9323-fc4a5feb9ec0","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:20.879688630Z","updated_at":"2023-06-07T23:44:20.879688630Z","display_name":"Test action"}],"total":2,"per_page":50}' + body: '{"bindings":[{"id":"4ff85bf1-0a95-4ac0-9134-aec01236a6b7","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:08.899152642Z","updated_at":"2023-06-14T14:37:08.899152642Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"}],"total":1,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.705875ms + duration: 99.375292ms - id: 27 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 354 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"bindings":[{"display_name":"Bar1","ref":{"type":"action_id","value":"d23fe951-aa23-4c09-8f71-444a9ec14e53"}},{"display_name":"Test action","ref":{"type":"action_id","value":"3b131daf-af26-4fbc-88a0-d0f93d71ad11"}},{"display_name":"Test Action TestAccTriggerAction (another)","ref":{"type":"action_id","value":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a"}}]} + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1001,34 +1002,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"ebc1a4ad-bdbc-4a04-a665-4a42162fd3fa","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.424844790Z","updated_at":"2023-06-07T23:44:21.424844790Z","display_name":"Bar1"},{"id":"f958ed59-76a8-45bd-8e14-373cbdb7231d","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.426498768Z","updated_at":"2023-06-07T23:44:21.426498768Z","display_name":"Test action"},{"id":"143a6102-1bcb-44a5-8e27-49ce42f7d278","trigger_id":"post-login","action":{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.774036512Z","current_version":{"id":"6577c357-b54b-441a-b822-f1017534e92e","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:21.090122618Z","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"6577c357-b54b-441a-b822-f1017534e92e","deployed":true,"number":1,"built_at":"2023-06-07T23:44:21.090122618Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.427983534Z","updated_at":"2023-06-07T23:44:21.427983534Z","display_name":"Test Action TestAccTriggerAction (another)"}]}' + body: '{"bindings":[{"id":"4ff85bf1-0a95-4ac0-9134-aec01236a6b7","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:08.899152642Z","updated_at":"2023-06-14T14:37:08.899152642Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"}],"total":1,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 161.15225ms + duration: 94.397459ms - id: 28 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 312 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)","ref":{"type":"action_id","value":"71faaec4-d0d5-4261-81c2-a48a94501391"}},{"display_name":"Test Trigger Binding Bar TestAccTriggerAction","ref":{"type":"action_id","value":"85a00e9e-8336-4b43-bfdf-4d062daa5755"}}]} form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -1037,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"ebc1a4ad-bdbc-4a04-a665-4a42162fd3fa","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.424844790Z","updated_at":"2023-06-07T23:44:21.424844790Z","display_name":"Bar1"},{"id":"f958ed59-76a8-45bd-8e14-373cbdb7231d","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.426498768Z","updated_at":"2023-06-07T23:44:21.426498768Z","display_name":"Test action"},{"id":"143a6102-1bcb-44a5-8e27-49ce42f7d278","trigger_id":"post-login","action":{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.774036512Z","current_version":{"id":"6577c357-b54b-441a-b822-f1017534e92e","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:21.090122618Z","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"6577c357-b54b-441a-b822-f1017534e92e","deployed":true,"number":1,"built_at":"2023-06-07T23:44:21.090122618Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.427983534Z","updated_at":"2023-06-07T23:44:21.427983534Z","display_name":"Test Action TestAccTriggerAction (another)"}],"total":3,"per_page":50}' + body: '{"bindings":[{"id":"8dcbdd2f-5c64-4664-9b1c-19eb213eaf68","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.220210414Z","updated_at":"2023-06-14T14:37:11.220210414Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"},{"id":"7315cf60-09fc-4fae-b928-9589e797b976","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.224430873Z","updated_at":"2023-06-14T14:37:11.224430873Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.079292ms + duration: 178.778292ms - id: 29 request: proto: HTTP/1.1 @@ -1063,7 +1064,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 method: GET response: proto: HTTP/2.0 @@ -1073,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.780677542Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"6577c357-b54b-441a-b822-f1017534e92e","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:21.090122618Z","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"6577c357-b54b-441a-b822-f1017534e92e","deployed":true,"number":1,"built_at":"2023-06-07T23:44:21.090122618Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"bindings":[{"id":"8dcbdd2f-5c64-4664-9b1c-19eb213eaf68","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.220210414Z","updated_at":"2023-06-14T14:37:11.220210414Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"},{"id":"7315cf60-09fc-4fae-b928-9589e797b976","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.224430873Z","updated_at":"2023-06-14T14:37:11.224430873Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.408291ms + duration: 96.980083ms - id: 30 request: proto: HTTP/1.1 @@ -1099,7 +1100,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 method: GET response: proto: HTTP/2.0 @@ -1109,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"ebc1a4ad-bdbc-4a04-a665-4a42162fd3fa","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.424844790Z","updated_at":"2023-06-07T23:44:21.424844790Z","display_name":"Bar1"},{"id":"f958ed59-76a8-45bd-8e14-373cbdb7231d","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.426498768Z","updated_at":"2023-06-07T23:44:21.426498768Z","display_name":"Test action"},{"id":"143a6102-1bcb-44a5-8e27-49ce42f7d278","trigger_id":"post-login","action":{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.774036512Z","current_version":{"id":"6577c357-b54b-441a-b822-f1017534e92e","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:21.090122618Z","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"6577c357-b54b-441a-b822-f1017534e92e","deployed":true,"number":1,"built_at":"2023-06-07T23:44:21.090122618Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.427983534Z","updated_at":"2023-06-07T23:44:21.427983534Z","display_name":"Test Action TestAccTriggerAction (another)"}],"total":3,"per_page":50}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 79.176708ms + duration: 104.380959ms - id: 31 request: proto: HTTP/1.1 @@ -1135,7 +1136,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 method: GET response: proto: HTTP/2.0 @@ -1145,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.780677542Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"6577c357-b54b-441a-b822-f1017534e92e","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:21.090122618Z","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"6577c357-b54b-441a-b822-f1017534e92e","deployed":true,"number":1,"built_at":"2023-06-07T23:44:21.090122618Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 60.404583ms + duration: 97.2295ms - id: 32 request: proto: HTTP/1.1 @@ -1181,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"ebc1a4ad-bdbc-4a04-a665-4a42162fd3fa","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.424844790Z","updated_at":"2023-06-07T23:44:21.424844790Z","display_name":"Bar1"},{"id":"f958ed59-76a8-45bd-8e14-373cbdb7231d","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.426498768Z","updated_at":"2023-06-07T23:44:21.426498768Z","display_name":"Test action"},{"id":"143a6102-1bcb-44a5-8e27-49ce42f7d278","trigger_id":"post-login","action":{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.774036512Z","current_version":{"id":"6577c357-b54b-441a-b822-f1017534e92e","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:21.090122618Z","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"6577c357-b54b-441a-b822-f1017534e92e","deployed":true,"number":1,"built_at":"2023-06-07T23:44:21.090122618Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.427983534Z","updated_at":"2023-06-07T23:44:21.427983534Z","display_name":"Test Action TestAccTriggerAction (another)"}],"total":3,"per_page":50}' + body: '{"bindings":[{"id":"8dcbdd2f-5c64-4664-9b1c-19eb213eaf68","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.220210414Z","updated_at":"2023-06-14T14:37:11.220210414Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"},{"id":"7315cf60-09fc-4fae-b928-9589e797b976","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.224430873Z","updated_at":"2023-06-14T14:37:11.224430873Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.820583ms + duration: 105.932083ms - id: 33 request: proto: HTTP/1.1 @@ -1217,70 +1218,70 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"ebc1a4ad-bdbc-4a04-a665-4a42162fd3fa","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.424844790Z","updated_at":"2023-06-07T23:44:21.424844790Z","display_name":"Bar1"},{"id":"f958ed59-76a8-45bd-8e14-373cbdb7231d","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.426498768Z","updated_at":"2023-06-07T23:44:21.426498768Z","display_name":"Test action"},{"id":"143a6102-1bcb-44a5-8e27-49ce42f7d278","trigger_id":"post-login","action":{"id":"3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a","name":"Test Action TestAccTriggerAction (another)","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:20.774036512Z","updated_at":"2023-06-07T23:44:20.774036512Z","current_version":{"id":"6577c357-b54b-441a-b822-f1017534e92e","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:21.090122618Z","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"6577c357-b54b-441a-b822-f1017534e92e","deployed":true,"number":1,"built_at":"2023-06-07T23:44:21.090122618Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:21.016285676Z","updated_at":"2023-06-07T23:44:21.091714033Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:21.427983534Z","updated_at":"2023-06-07T23:44:21.427983534Z","display_name":"Test Action TestAccTriggerAction (another)"}],"total":3,"per_page":50}' + body: '{"bindings":[{"id":"8dcbdd2f-5c64-4664-9b1c-19eb213eaf68","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.220210414Z","updated_at":"2023-06-14T14:37:11.220210414Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"},{"id":"7315cf60-09fc-4fae-b928-9589e797b976","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.224430873Z","updated_at":"2023-06-14T14:37:11.224430873Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.853125ms + duration: 119.679083ms - id: 34 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 202 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onExecutePostLogin = async (event, api) =\u003e {};","dependencies":[],"secrets":[]} + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions - method: POST + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 399 - uncompressed: false - body: '{"id":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:23.024896014Z","updated_at":"2023-06-07T23:44:23.033020034Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"8dcbdd2f-5c64-4664-9b1c-19eb213eaf68","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.220210414Z","updated_at":"2023-06-14T14:37:11.220210414Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"},{"id":"7315cf60-09fc-4fae-b928-9589e797b976","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.224430873Z","updated_at":"2023-06-14T14:37:11.224430873Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 123.000292ms + status: 200 OK + code: 200 + duration: 95.791375ms - id: 35 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 218 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"bindings":[{"display_name":"Bar1","ref":{"type":"action_id","value":"d23fe951-aa23-4c09-8f71-444a9ec14e53"}},{"display_name":"Test action","ref":{"type":"action_id","value":"3b131daf-af26-4fbc-88a0-d0f93d71ad11"}}]} + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1289,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"959149c3-d6d3-455b-9c5a-be31e5e80ef0","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.089479421Z","updated_at":"2023-06-07T23:44:23.089479421Z","display_name":"Bar1"},{"id":"cf4bf742-a7c1-4d78-b424-b5ddcd6eb74c","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.090879623Z","updated_at":"2023-06-07T23:44:23.090879623Z","display_name":"Test action"}]}' + body: '{"bindings":[{"id":"8dcbdd2f-5c64-4664-9b1c-19eb213eaf68","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.220210414Z","updated_at":"2023-06-14T14:37:11.220210414Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"},{"id":"7315cf60-09fc-4fae-b928-9589e797b976","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.224430873Z","updated_at":"2023-06-14T14:37:11.224430873Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.203791ms + duration: 98.120458ms - id: 36 request: proto: HTTP/1.1 @@ -1315,7 +1316,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2ec8aabf-90e2-40ee-86e7-891ecd59f7d2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 method: GET response: proto: HTTP/2.0 @@ -1325,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:23.024896014Z","updated_at":"2023-06-07T23:44:23.033020034Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.771041ms + duration: 107.653666ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1352,8 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2ec8aabf-90e2-40ee-86e7-891ecd59f7d2/deploy - method: POST + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1361,69 +1362,70 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","deployed":false,"number":1,"secrets":[],"status":"built","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.270381936Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:23.024896014Z","updated_at":"2023-06-07T23:44:23.024896014Z","all_changes_deployed":false}}' + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.060417ms + duration: 94.2725ms - id: 38 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/3f9edcab-20cd-4e37-9cf5-3f0b4ddd877a - method: DELETE + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"8dcbdd2f-5c64-4664-9b1c-19eb213eaf68","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.220210414Z","updated_at":"2023-06-14T14:37:11.220210414Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"},{"id":"7315cf60-09fc-4fae-b928-9589e797b976","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:11.224430873Z","updated_at":"2023-06-14T14:37:11.224430873Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 174.210042ms + status: 200 OK + code: 200 + duration: 95.374709ms - id: 39 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 173 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)","ref":{"type":"action_id","value":"71faaec4-d0d5-4261-81c2-a48a94501391"}}]} form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2ec8aabf-90e2-40ee-86e7-891ecd59f7d2 - method: GET + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -1432,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:23.024896014Z","updated_at":"2023-06-07T23:44:23.033020034Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:23.305403714Z","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","deployed":true,"number":1,"built_at":"2023-06-07T23:44:23.305403714Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"bindings":[{"id":"4cf44741-f1cf-452b-95b4-f57f249a71a2","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:13.280363921Z","updated_at":"2023-06-14T14:37:13.280363921Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.344375ms + duration: 132.777917ms - id: 40 request: proto: HTTP/1.1 @@ -1468,70 +1470,70 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"959149c3-d6d3-455b-9c5a-be31e5e80ef0","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.089479421Z","updated_at":"2023-06-07T23:44:23.089479421Z","display_name":"Bar1"},{"id":"cf4bf742-a7c1-4d78-b424-b5ddcd6eb74c","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.090879623Z","updated_at":"2023-06-07T23:44:23.090879623Z","display_name":"Test action"}],"total":2,"per_page":50}' + body: '{"bindings":[{"id":"4cf44741-f1cf-452b-95b4-f57f249a71a2","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:13.280363921Z","updated_at":"2023-06-14T14:37:13.280363921Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction (new display name)"}],"total":1,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.761ms + duration: 99.128125ms - id: 41 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 16 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"bindings":[]} form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2ec8aabf-90e2-40ee-86e7-891ecd59f7d2 - method: GET + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:23.024896014Z","updated_at":"2023-06-07T23:44:23.033020034Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:23.305403714Z","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","deployed":true,"number":1,"built_at":"2023-06-07T23:44:23.305403714Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + content_length: 15 + uncompressed: false + body: '{"bindings":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.889209ms + duration: 92.80875ms - id: 42 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 344 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"bindings":[{"display_name":"Bar1","ref":{"type":"action_id","value":"d23fe951-aa23-4c09-8f71-444a9ec14e53"}},{"display_name":"Test action","ref":{"type":"action_id","value":"3b131daf-af26-4fbc-88a0-d0f93d71ad11"}},{"display_name":"Test Action TestAccTriggerAction","ref":{"type":"action_id","value":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2"}}]} + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1540,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"72c28aab-d3da-4303-826f-3825a29139cb","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.712984571Z","updated_at":"2023-06-07T23:44:23.712984571Z","display_name":"Bar1"},{"id":"92c7da1d-f0aa-4ce5-810b-76abbf21f905","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.716700713Z","updated_at":"2023-06-07T23:44:23.716700713Z","display_name":"Test action"},{"id":"26846a63-f00e-43ff-8fe7-e9ee6fd25c30","trigger_id":"post-login","action":{"id":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:23.024896014Z","updated_at":"2023-06-07T23:44:23.024896014Z","current_version":{"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:23.305403714Z","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","deployed":true,"number":1,"built_at":"2023-06-07T23:44:23.305403714Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.720368522Z","updated_at":"2023-06-07T23:44:23.720368522Z","display_name":"Test Action TestAccTriggerAction"}]}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 195.699209ms + duration: 138.455875ms - id: 43 request: proto: HTTP/1.1 @@ -1566,7 +1568,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 method: GET response: proto: HTTP/2.0 @@ -1576,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"72c28aab-d3da-4303-826f-3825a29139cb","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.712984571Z","updated_at":"2023-06-07T23:44:23.712984571Z","display_name":"Bar1"},{"id":"92c7da1d-f0aa-4ce5-810b-76abbf21f905","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.716700713Z","updated_at":"2023-06-07T23:44:23.716700713Z","display_name":"Test action"},{"id":"26846a63-f00e-43ff-8fe7-e9ee6fd25c30","trigger_id":"post-login","action":{"id":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:23.024896014Z","updated_at":"2023-06-07T23:44:23.024896014Z","current_version":{"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:23.305403714Z","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","deployed":true,"number":1,"built_at":"2023-06-07T23:44:23.305403714Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.720368522Z","updated_at":"2023-06-07T23:44:23.720368522Z","display_name":"Test Action TestAccTriggerAction"}],"total":3,"per_page":50}' + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.873958ms + duration: 237.11425ms - id: 44 request: proto: HTTP/1.1 @@ -1602,7 +1604,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2ec8aabf-90e2-40ee-86e7-891ecd59f7d2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 method: GET response: proto: HTTP/2.0 @@ -1612,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:23.024896014Z","updated_at":"2023-06-07T23:44:23.033020034Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:23.305403714Z","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","deployed":true,"number":1,"built_at":"2023-06-07T23:44:23.305403714Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.90625ms + duration: 123.330625ms - id: 45 request: proto: HTTP/1.1 @@ -1638,7 +1640,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 method: GET response: proto: HTTP/2.0 @@ -1648,14 +1650,50 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"72c28aab-d3da-4303-826f-3825a29139cb","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.712984571Z","updated_at":"2023-06-07T23:44:23.712984571Z","display_name":"Bar1"},{"id":"92c7da1d-f0aa-4ce5-810b-76abbf21f905","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.716700713Z","updated_at":"2023-06-07T23:44:23.716700713Z","display_name":"Test action"},{"id":"26846a63-f00e-43ff-8fe7-e9ee6fd25c30","trigger_id":"post-login","action":{"id":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:23.024896014Z","updated_at":"2023-06-07T23:44:23.024896014Z","current_version":{"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:23.305403714Z","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","deployed":true,"number":1,"built_at":"2023-06-07T23:44:23.305403714Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.720368522Z","updated_at":"2023-06-07T23:44:23.720368522Z","display_name":"Test Action TestAccTriggerAction"}],"total":3,"per_page":50}' + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.674833ms + duration: 104.037916ms - id: 46 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 293 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerAction","ref":{"type":"action_id","value":"71faaec4-d0d5-4261-81c2-a48a94501391"}},{"display_name":"Test Trigger Binding Bar TestAccTriggerAction","ref":{"type":"action_id","value":"85a00e9e-8336-4b43-bfdf-4d062daa5755"}}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 190.965167ms + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -1684,34 +1722,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"72c28aab-d3da-4303-826f-3825a29139cb","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.712984571Z","updated_at":"2023-06-07T23:44:23.712984571Z","display_name":"Bar1"},{"id":"92c7da1d-f0aa-4ce5-810b-76abbf21f905","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.716700713Z","updated_at":"2023-06-07T23:44:23.716700713Z","display_name":"Test action"},{"id":"26846a63-f00e-43ff-8fe7-e9ee6fd25c30","trigger_id":"post-login","action":{"id":"2ec8aabf-90e2-40ee-86e7-891ecd59f7d2","name":"Test Action TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-07T23:44:23.024896014Z","updated_at":"2023-06-07T23:44:23.024896014Z","current_version":{"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-07T23:44:23.305403714Z","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"3bd3be58-ab49-46d9-955e-dd23de7ca77c","deployed":true,"number":1,"built_at":"2023-06-07T23:44:23.305403714Z","secrets":[],"status":"built","created_at":"2023-06-07T23:44:23.270381936Z","updated_at":"2023-06-07T23:44:23.305745392Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:23.720368522Z","updated_at":"2023-06-07T23:44:23.720368522Z","display_name":"Test Action TestAccTriggerAction"}],"total":3,"per_page":50}' + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.025584ms - - id: 47 + duration: 110.416083ms + - id: 48 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 218 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"bindings":[{"display_name":"Bar1","ref":{"type":"action_id","value":"d23fe951-aa23-4c09-8f71-444a9ec14e53"}},{"display_name":"Test action","ref":{"type":"action_id","value":"3b131daf-af26-4fbc-88a0-d0f93d71ad11"}}]} + null form: {} headers: Content-Type: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1720,14 +1758,733 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"bindings":[{"id":"22bfc5c3-0f74-4084-bd64-885725561fc5","trigger_id":"post-login","action":{"id":"d23fe951-aa23-4c09-8f71-444a9ec14e53","name":"Bar1","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2023-06-02T12:35:15.093910253Z","updated_at":"2023-06-02T12:35:15.093910253Z","current_version":{"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-02T12:35:15.473024753Z","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"f937203c-e6ce-4628-b407-1f71ffc3740e","deployed":true,"number":1,"built_at":"2023-06-02T12:35:15.473024753Z","secrets":[],"status":"built","created_at":"2023-06-02T12:35:15.409620874Z","updated_at":"2023-06-02T12:35:15.474481550Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:25.088463543Z","updated_at":"2023-06-07T23:44:25.088463543Z","display_name":"Bar1"},{"id":"dc93fe81-3c06-492f-b7cb-37bb2ec3a4d9","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-07T23:44:25.092385492Z","updated_at":"2023-06-07T23:44:25.092385492Z","display_name":"Test action"}]}' + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 186.442375ms - - id: 48 + duration: 119.135042ms + - id: 49 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 117.903792ms + - id: 50 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 116.775125ms + - id: 51 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 107.03425ms + - id: 52 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 154.331875ms + - id: 53 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 80.600584ms + - id: 54 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.486208ms + - id: 55 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 102.459084ms + - id: 56 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.048833ms + - id: 57 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.789958ms + - id: 58 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.028765757Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.198375ms + - id: 59 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.536110066Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 101.497ms + - id: 60 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.730833ms + - id: 61 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 110.126791ms + - id: 62 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.599ms + - id: 63 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"bad8fc10-79d8-4fb2-b11c-092410bffd6e","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.303169557Z","updated_at":"2023-06-14T14:37:15.303169557Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"},{"id":"35379d01-712b-4379-9cb2-8dbec978cca1","trigger_id":"post-login","action":{"id":"85a00e9e-8336-4b43-bfdf-4d062daa5755","name":"Test Trigger Binding Bar TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.517596697Z","updated_at":"2023-06-14T14:37:05.517596697Z","current_version":{"id":"df395735-e8c1-440d-946a-b68f56466506","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.844295583Z","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"df395735-e8c1-440d-946a-b68f56466506","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.844295583Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.775238556Z","updated_at":"2023-06-14T14:37:05.846001405Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:15.307503846Z","updated_at":"2023-06-14T14:37:15.307503846Z","display_name":"Test Trigger Binding Bar TestAccTriggerAction"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.551625ms + - id: 64 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 154 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerAction","ref":{"type":"action_id","value":"71faaec4-d0d5-4261-81c2-a48a94501391"}}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"6e9ccf9b-e146-4a57-951b-463bd6aae203","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:19.644899690Z","updated_at":"2023-06-14T14:37:19.644899690Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 120.288958ms + - id: 65 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"6e9ccf9b-e146-4a57-951b-463bd6aae203","trigger_id":"post-login","action":{"id":"71faaec4-d0d5-4261-81c2-a48a94501391","name":"Test Trigger Binding Foo TestAccTriggerAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:37:05.004946592Z","updated_at":"2023-06-14T14:37:05.004946592Z","current_version":{"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:37:05.352354246Z","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9d17adc8-247f-4a7e-a9ed-8cc52f25d9d5","deployed":true,"number":1,"built_at":"2023-06-14T14:37:05.352354246Z","secrets":[],"status":"built","created_at":"2023-06-14T14:37:05.266930013Z","updated_at":"2023-06-14T14:37:05.354048633Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:37:19.644899690Z","updated_at":"2023-06-14T14:37:19.644899690Z","display_name":"Test Trigger Binding Foo TestAccTriggerAction"}],"total":1,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.296208ms + - id: 66 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 16 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 15 + uncompressed: false + body: '{"bindings":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 117.672ms + - id: 67 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 16 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 15 + uncompressed: false + body: '{"bindings":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 106.977584ms + - id: 68 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/85a00e9e-8336-4b43-bfdf-4d062daa5755 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 170.460125ms + - id: 69 request: proto: HTTP/1.1 proto_major: 1 @@ -1745,7 +2502,7 @@ interactions: - application/json User-Agent: - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2ec8aabf-90e2-40ee-86e7-891ecd59f7d2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/71faaec4-d0d5-4261-81c2-a48a94501391 method: DELETE response: proto: HTTP/2.0 @@ -1761,4 +2518,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 162.046542ms + duration: 191.330375ms diff --git a/test/data/recordings/TestAccTriggerActionImport.yaml b/test/data/recordings/TestAccTriggerActionImport.yaml deleted file mode 100644 index 31107bbe0..000000000 --- a/test/data/recordings/TestAccTriggerActionImport.yaml +++ /dev/null @@ -1,398 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2","name":"Test Action testaccimporttriggeraction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T18:32:59.066082388Z","updated_at":"2023-06-01T18:32:59.072958437Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"5ba4e854-f4ba-48b0-981b-706198317284","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T18:32:59.397672004Z","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"5ba4e854-f4ba-48b0-981b-706198317284","deployed":true,"number":1,"built_at":"2023-06-01T18:32:59.397672004Z","secrets":[],"status":"built","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.785417ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"8687733d-870b-4f91-b652-fa4d77e2f7e0","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.860273186Z","updated_at":"2023-06-01T18:32:59.860273186Z"},{"id":"0ce7fc15-e93c-4aea-9cb3-13c199ee8511","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.861959305Z","updated_at":"2023-06-01T18:32:59.861959305Z"},{"id":"dc5e0d4e-f262-4777-a392-f981e07ca784","trigger_id":"post-login","action":{"id":"D1AD7CCF-7BAB-417F-91C0-563595A916D8","name":"Anonomatic PII Vault v1","supported_triggers":[{"id":"post-login","version":"v3","status":"CURRENT"}],"created_at":"2022-08-22T23:57:45.856907897Z","updated_at":"2022-08-22T23:57:45.856907897Z","current_version":{"id":"7284e308-1cf9-475d-94ef-d960d9af9a0b","runtime":"node16","status":"BUILT","created_at":"2023-03-20T16:29:00.733545721Z","updated_at":"2023-03-20T16:29:00.858978434Z"},"deployed_version":{"code":"","dependencies":[],"id":"7284e308-1cf9-475d-94ef-d960d9af9a0b","deployed":true,"secrets":[],"status":"built","created_at":"2023-03-20T16:29:00.733545721Z","updated_at":"2023-03-20T16:29:00.858978434Z","runtime":"node16"},"installed_integration_id":"72f156cd-e7ee-47c4-9dda-0ef751205c37","integration":{"id":"deb19c81-5510-43f2-b33b-e3c6474dc45c","catalog_id":"pii-vault-data-privacy-and-compliance","url_slug":"pii-vault-data-privacy-and-compliance","partner_id":"069ef4d3-30fe-4656-a91d-f6e4d5979b25","name":"Anonomatic PII Vault","description":"Keep Auth0, and your database, completely PII-free. PII Vault APIs allow you to store user profiles, and any other PII, in our specialized PII database so you don''t have to.\n\nRestricted re-identification allows you to ensure users and processes have access to only those PII values they need. Data privacy compliance is much easier when working only with de-identified data.\n","short_description":"PII-as-a-Service allows your product and Auth0 to be PII free","logo":"https://cdn.auth0.com/marketplace/catalog/content/assets/creators/anonomatic/anonomatic-avatar.png","terms_of_use_url":"https://anonomatic.com/legal/terms/","updated_at":"2023-03-20T16:29:00.724915633Z","created_at":"2022-08-10T17:45:26.296689356Z","feature_type":"action","current_release":{"id":"","semver":{}}},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.863723469Z","updated_at":"2023-06-01T18:32:59.863723469Z"},{"id":"37423c6e-4890-4f96-9e25-c54988e35411","trigger_id":"post-login","action":{"id":"6daca728-99c7-4448-b8d1-4e1329c88671","name":"A different API","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:16.211972271Z","updated_at":"2023-06-01T12:58:16.211972271Z","current_version":{"id":"c65f0f34-5057-44af-8e31-5fe289bab2de","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:19.114548092Z","created_at":"2023-06-01T12:58:19.044381058Z","updated_at":"2023-06-01T12:58:19.114919738Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"c65f0f34-5057-44af-8e31-5fe289bab2de","deployed":true,"number":1,"built_at":"2023-06-01T12:58:19.114548092Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:19.044381058Z","updated_at":"2023-06-01T12:58:19.114919738Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.865262395Z","updated_at":"2023-06-01T18:32:59.865262395Z"},{"id":"1ef1764e-c168-4cb6-8a60-bc385426d5ea","trigger_id":"post-login","action":{"id":"a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2","name":"Test Action testaccimporttriggeraction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T18:32:59.066082388Z","updated_at":"2023-06-01T18:32:59.066082388Z","current_version":{"id":"5ba4e854-f4ba-48b0-981b-706198317284","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T18:32:59.397672004Z","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"5ba4e854-f4ba-48b0-981b-706198317284","deployed":true,"number":1,"built_at":"2023-06-01T18:32:59.397672004Z","secrets":[],"status":"built","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.866775124Z","updated_at":"2023-06-01T18:32:59.866775124Z","display_name":"Test Action testaccimporttriggeraction"}],"total":5,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.189417ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2","name":"Test Action testaccimporttriggeraction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T18:32:59.066082388Z","updated_at":"2023-06-01T18:32:59.072958437Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"5ba4e854-f4ba-48b0-981b-706198317284","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T18:32:59.397672004Z","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"5ba4e854-f4ba-48b0-981b-706198317284","deployed":true,"number":1,"built_at":"2023-06-01T18:32:59.397672004Z","secrets":[],"status":"built","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.089666ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"8687733d-870b-4f91-b652-fa4d77e2f7e0","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.860273186Z","updated_at":"2023-06-01T18:32:59.860273186Z"},{"id":"0ce7fc15-e93c-4aea-9cb3-13c199ee8511","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.861959305Z","updated_at":"2023-06-01T18:32:59.861959305Z"},{"id":"dc5e0d4e-f262-4777-a392-f981e07ca784","trigger_id":"post-login","action":{"id":"D1AD7CCF-7BAB-417F-91C0-563595A916D8","name":"Anonomatic PII Vault v1","supported_triggers":[{"id":"post-login","version":"v3","status":"CURRENT"}],"created_at":"2022-08-22T23:57:45.856907897Z","updated_at":"2022-08-22T23:57:45.856907897Z","current_version":{"id":"7284e308-1cf9-475d-94ef-d960d9af9a0b","runtime":"node16","status":"BUILT","created_at":"2023-03-20T16:29:00.733545721Z","updated_at":"2023-03-20T16:29:00.858978434Z"},"deployed_version":{"code":"","dependencies":[],"id":"7284e308-1cf9-475d-94ef-d960d9af9a0b","deployed":true,"secrets":[],"status":"built","created_at":"2023-03-20T16:29:00.733545721Z","updated_at":"2023-03-20T16:29:00.858978434Z","runtime":"node16"},"installed_integration_id":"72f156cd-e7ee-47c4-9dda-0ef751205c37","integration":{"id":"deb19c81-5510-43f2-b33b-e3c6474dc45c","catalog_id":"pii-vault-data-privacy-and-compliance","url_slug":"pii-vault-data-privacy-and-compliance","partner_id":"069ef4d3-30fe-4656-a91d-f6e4d5979b25","name":"Anonomatic PII Vault","description":"Keep Auth0, and your database, completely PII-free. PII Vault APIs allow you to store user profiles, and any other PII, in our specialized PII database so you don''t have to.\n\nRestricted re-identification allows you to ensure users and processes have access to only those PII values they need. Data privacy compliance is much easier when working only with de-identified data.\n","short_description":"PII-as-a-Service allows your product and Auth0 to be PII free","logo":"https://cdn.auth0.com/marketplace/catalog/content/assets/creators/anonomatic/anonomatic-avatar.png","terms_of_use_url":"https://anonomatic.com/legal/terms/","updated_at":"2023-03-20T16:29:00.724915633Z","created_at":"2022-08-10T17:45:26.296689356Z","feature_type":"action","current_release":{"id":"","semver":{}}},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.863723469Z","updated_at":"2023-06-01T18:32:59.863723469Z"},{"id":"37423c6e-4890-4f96-9e25-c54988e35411","trigger_id":"post-login","action":{"id":"6daca728-99c7-4448-b8d1-4e1329c88671","name":"A different API","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:16.211972271Z","updated_at":"2023-06-01T12:58:16.211972271Z","current_version":{"id":"c65f0f34-5057-44af-8e31-5fe289bab2de","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:19.114548092Z","created_at":"2023-06-01T12:58:19.044381058Z","updated_at":"2023-06-01T12:58:19.114919738Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"c65f0f34-5057-44af-8e31-5fe289bab2de","deployed":true,"number":1,"built_at":"2023-06-01T12:58:19.114548092Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:19.044381058Z","updated_at":"2023-06-01T12:58:19.114919738Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.865262395Z","updated_at":"2023-06-01T18:32:59.865262395Z"},{"id":"1ef1764e-c168-4cb6-8a60-bc385426d5ea","trigger_id":"post-login","action":{"id":"a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2","name":"Test Action testaccimporttriggeraction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T18:32:59.066082388Z","updated_at":"2023-06-01T18:32:59.066082388Z","current_version":{"id":"5ba4e854-f4ba-48b0-981b-706198317284","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T18:32:59.397672004Z","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"5ba4e854-f4ba-48b0-981b-706198317284","deployed":true,"number":1,"built_at":"2023-06-01T18:32:59.397672004Z","secrets":[],"status":"built","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.866775124Z","updated_at":"2023-06-01T18:32:59.866775124Z","display_name":"Test Action testaccimporttriggeraction"}],"total":5,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 127.718708ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 208 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Test Action testacctriggeractionimport","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onExecutePostLogin = async (event, api) =\u003e {};","dependencies":[],"secrets":[]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2","name":"Test Action testacctriggeractionimport","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T18:32:59.066082388Z","updated_at":"2023-06-01T18:33:41.767001736Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"current_version":{"id":"5ba4e854-f4ba-48b0-981b-706198317284","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T18:32:59.397672004Z","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"5ba4e854-f4ba-48b0-981b-706198317284","deployed":true,"number":1,"built_at":"2023-06-01T18:32:59.397672004Z","secrets":[],"status":"built","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 154.35525ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2","name":"Test Action testacctriggeractionimport","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T18:32:59.066082388Z","updated_at":"2023-06-01T18:33:41.767001736Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"5ba4e854-f4ba-48b0-981b-706198317284","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T18:32:59.397672004Z","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"5ba4e854-f4ba-48b0-981b-706198317284","deployed":true,"number":1,"built_at":"2023-06-01T18:32:59.397672004Z","secrets":[],"status":"built","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.911416ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2","name":"Test Action testacctriggeractionimport","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T18:32:59.066082388Z","updated_at":"2023-06-01T18:33:41.767001736Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"5ba4e854-f4ba-48b0-981b-706198317284","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T18:32:59.397672004Z","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"5ba4e854-f4ba-48b0-981b-706198317284","deployed":true,"number":1,"built_at":"2023-06-01T18:32:59.397672004Z","secrets":[],"status":"built","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.446583ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"8687733d-870b-4f91-b652-fa4d77e2f7e0","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.860273186Z","updated_at":"2023-06-01T18:32:59.860273186Z"},{"id":"0ce7fc15-e93c-4aea-9cb3-13c199ee8511","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.861959305Z","updated_at":"2023-06-01T18:32:59.861959305Z"},{"id":"dc5e0d4e-f262-4777-a392-f981e07ca784","trigger_id":"post-login","action":{"id":"D1AD7CCF-7BAB-417F-91C0-563595A916D8","name":"Anonomatic PII Vault v1","supported_triggers":[{"id":"post-login","version":"v3","status":"CURRENT"}],"created_at":"2022-08-22T23:57:45.856907897Z","updated_at":"2022-08-22T23:57:45.856907897Z","current_version":{"id":"7284e308-1cf9-475d-94ef-d960d9af9a0b","runtime":"node16","status":"BUILT","created_at":"2023-03-20T16:29:00.733545721Z","updated_at":"2023-03-20T16:29:00.858978434Z"},"deployed_version":{"code":"","dependencies":[],"id":"7284e308-1cf9-475d-94ef-d960d9af9a0b","deployed":true,"secrets":[],"status":"built","created_at":"2023-03-20T16:29:00.733545721Z","updated_at":"2023-03-20T16:29:00.858978434Z","runtime":"node16"},"installed_integration_id":"72f156cd-e7ee-47c4-9dda-0ef751205c37","integration":{"id":"deb19c81-5510-43f2-b33b-e3c6474dc45c","catalog_id":"pii-vault-data-privacy-and-compliance","url_slug":"pii-vault-data-privacy-and-compliance","partner_id":"069ef4d3-30fe-4656-a91d-f6e4d5979b25","name":"Anonomatic PII Vault","description":"Keep Auth0, and your database, completely PII-free. PII Vault APIs allow you to store user profiles, and any other PII, in our specialized PII database so you don''t have to.\n\nRestricted re-identification allows you to ensure users and processes have access to only those PII values they need. Data privacy compliance is much easier when working only with de-identified data.\n","short_description":"PII-as-a-Service allows your product and Auth0 to be PII free","logo":"https://cdn.auth0.com/marketplace/catalog/content/assets/creators/anonomatic/anonomatic-avatar.png","terms_of_use_url":"https://anonomatic.com/legal/terms/","updated_at":"2023-03-20T16:29:00.724915633Z","created_at":"2022-08-10T17:45:26.296689356Z","feature_type":"action","current_release":{"id":"","semver":{}}},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.863723469Z","updated_at":"2023-06-01T18:32:59.863723469Z"},{"id":"37423c6e-4890-4f96-9e25-c54988e35411","trigger_id":"post-login","action":{"id":"6daca728-99c7-4448-b8d1-4e1329c88671","name":"A different API","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:16.211972271Z","updated_at":"2023-06-01T12:58:16.211972271Z","current_version":{"id":"c65f0f34-5057-44af-8e31-5fe289bab2de","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:19.114548092Z","created_at":"2023-06-01T12:58:19.044381058Z","updated_at":"2023-06-01T12:58:19.114919738Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"c65f0f34-5057-44af-8e31-5fe289bab2de","deployed":true,"number":1,"built_at":"2023-06-01T12:58:19.114548092Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:19.044381058Z","updated_at":"2023-06-01T12:58:19.114919738Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.865262395Z","updated_at":"2023-06-01T18:32:59.865262395Z"},{"id":"1ef1764e-c168-4cb6-8a60-bc385426d5ea","trigger_id":"post-login","action":{"id":"a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2","name":"Test Action testacctriggeractionimport","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T18:32:59.066082388Z","updated_at":"2023-06-01T18:33:41.755758299Z","current_version":{"id":"5ba4e854-f4ba-48b0-981b-706198317284","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T18:32:59.397672004Z","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"5ba4e854-f4ba-48b0-981b-706198317284","deployed":true,"number":1,"built_at":"2023-06-01T18:32:59.397672004Z","secrets":[],"status":"built","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.866775124Z","updated_at":"2023-06-01T18:32:59.866775124Z","display_name":"Test Action testaccimporttriggeraction"}],"total":5,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 151.162583ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"8687733d-870b-4f91-b652-fa4d77e2f7e0","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.860273186Z","updated_at":"2023-06-01T18:32:59.860273186Z"},{"id":"0ce7fc15-e93c-4aea-9cb3-13c199ee8511","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.861959305Z","updated_at":"2023-06-01T18:32:59.861959305Z"},{"id":"dc5e0d4e-f262-4777-a392-f981e07ca784","trigger_id":"post-login","action":{"id":"D1AD7CCF-7BAB-417F-91C0-563595A916D8","name":"Anonomatic PII Vault v1","supported_triggers":[{"id":"post-login","version":"v3","status":"CURRENT"}],"created_at":"2022-08-22T23:57:45.856907897Z","updated_at":"2022-08-22T23:57:45.856907897Z","current_version":{"id":"7284e308-1cf9-475d-94ef-d960d9af9a0b","runtime":"node16","status":"BUILT","created_at":"2023-03-20T16:29:00.733545721Z","updated_at":"2023-03-20T16:29:00.858978434Z"},"deployed_version":{"code":"","dependencies":[],"id":"7284e308-1cf9-475d-94ef-d960d9af9a0b","deployed":true,"secrets":[],"status":"built","created_at":"2023-03-20T16:29:00.733545721Z","updated_at":"2023-03-20T16:29:00.858978434Z","runtime":"node16"},"installed_integration_id":"72f156cd-e7ee-47c4-9dda-0ef751205c37","integration":{"id":"deb19c81-5510-43f2-b33b-e3c6474dc45c","catalog_id":"pii-vault-data-privacy-and-compliance","url_slug":"pii-vault-data-privacy-and-compliance","partner_id":"069ef4d3-30fe-4656-a91d-f6e4d5979b25","name":"Anonomatic PII Vault","description":"Keep Auth0, and your database, completely PII-free. PII Vault APIs allow you to store user profiles, and any other PII, in our specialized PII database so you don''t have to.\n\nRestricted re-identification allows you to ensure users and processes have access to only those PII values they need. Data privacy compliance is much easier when working only with de-identified data.\n","short_description":"PII-as-a-Service allows your product and Auth0 to be PII free","logo":"https://cdn.auth0.com/marketplace/catalog/content/assets/creators/anonomatic/anonomatic-avatar.png","terms_of_use_url":"https://anonomatic.com/legal/terms/","updated_at":"2023-03-20T16:29:00.724915633Z","created_at":"2022-08-10T17:45:26.296689356Z","feature_type":"action","current_release":{"id":"","semver":{}}},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.863723469Z","updated_at":"2023-06-01T18:32:59.863723469Z"},{"id":"37423c6e-4890-4f96-9e25-c54988e35411","trigger_id":"post-login","action":{"id":"6daca728-99c7-4448-b8d1-4e1329c88671","name":"A different API","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:16.211972271Z","updated_at":"2023-06-01T12:58:16.211972271Z","current_version":{"id":"c65f0f34-5057-44af-8e31-5fe289bab2de","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:19.114548092Z","created_at":"2023-06-01T12:58:19.044381058Z","updated_at":"2023-06-01T12:58:19.114919738Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"c65f0f34-5057-44af-8e31-5fe289bab2de","deployed":true,"number":1,"built_at":"2023-06-01T12:58:19.114548092Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:19.044381058Z","updated_at":"2023-06-01T12:58:19.114919738Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.865262395Z","updated_at":"2023-06-01T18:32:59.865262395Z"},{"id":"1ef1764e-c168-4cb6-8a60-bc385426d5ea","trigger_id":"post-login","action":{"id":"a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2","name":"Test Action testacctriggeractionimport","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T18:32:59.066082388Z","updated_at":"2023-06-01T18:33:41.755758299Z","current_version":{"id":"5ba4e854-f4ba-48b0-981b-706198317284","code":"exports.onExecutePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T18:32:59.397672004Z","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z"},"deployed_version":{"code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"id":"5ba4e854-f4ba-48b0-981b-706198317284","deployed":true,"number":1,"built_at":"2023-06-01T18:32:59.397672004Z","secrets":[],"status":"built","created_at":"2023-06-01T18:32:59.355800899Z","updated_at":"2023-06-01T18:32:59.398017135Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:32:59.866775124Z","updated_at":"2023-06-01T18:32:59.866775124Z","display_name":"Test Action testaccimporttriggeraction"}],"total":5,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.333333ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 319 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"bindings":[{"ref":{"type":"action_id","value":"3b131daf-af26-4fbc-88a0-d0f93d71ad11"}},{"ref":{"type":"action_id","value":"3b131daf-af26-4fbc-88a0-d0f93d71ad11"}},{"ref":{"type":"action_id","value":"D1AD7CCF-7BAB-417F-91C0-563595A916D8"}},{"ref":{"type":"action_id","value":"6daca728-99c7-4448-b8d1-4e1329c88671"}}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"80bf6012-b625-4315-9fa4-94c30bb0d2ac","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:33:43.051839373Z","updated_at":"2023-06-01T18:33:43.051839373Z"},{"id":"20957883-5272-4a36-864e-24d073b954cb","trigger_id":"post-login","action":{"id":"3b131daf-af26-4fbc-88a0-d0f93d71ad11","name":"Test action","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:38.597019453Z","updated_at":"2023-06-01T12:58:38.597019453Z","current_version":{"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:41.971216538Z","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"cd23b93f-3ecf-415a-9f91-54dd450f8ca9","deployed":true,"number":1,"built_at":"2023-06-01T12:58:41.971216538Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:41.871924557Z","updated_at":"2023-06-01T12:58:41.971549075Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:33:43.054372100Z","updated_at":"2023-06-01T18:33:43.054372100Z"},{"id":"49a6cbb2-5d25-473e-8d88-30746d888695","trigger_id":"post-login","action":{"id":"D1AD7CCF-7BAB-417F-91C0-563595A916D8","name":"Anonomatic PII Vault v1","supported_triggers":[{"id":"post-login","version":"v3","status":"CURRENT"}],"created_at":"2022-08-22T23:57:45.856907897Z","updated_at":"2022-08-22T23:57:45.856907897Z","current_version":{"id":"7284e308-1cf9-475d-94ef-d960d9af9a0b","runtime":"node16","status":"BUILT","created_at":"2023-03-20T16:29:00.733545721Z","updated_at":"2023-03-20T16:29:00.858978434Z"},"deployed_version":{"code":"","dependencies":[],"id":"7284e308-1cf9-475d-94ef-d960d9af9a0b","deployed":true,"secrets":[],"status":"built","created_at":"2023-03-20T16:29:00.733545721Z","updated_at":"2023-03-20T16:29:00.858978434Z","runtime":"node16"},"installed_integration_id":"72f156cd-e7ee-47c4-9dda-0ef751205c37","integration":{"id":"deb19c81-5510-43f2-b33b-e3c6474dc45c","catalog_id":"pii-vault-data-privacy-and-compliance","url_slug":"pii-vault-data-privacy-and-compliance","partner_id":"069ef4d3-30fe-4656-a91d-f6e4d5979b25","name":"Anonomatic PII Vault","description":"Keep Auth0, and your database, completely PII-free. PII Vault APIs allow you to store user profiles, and any other PII, in our specialized PII database so you don''t have to.\n\nRestricted re-identification allows you to ensure users and processes have access to only those PII values they need. Data privacy compliance is much easier when working only with de-identified data.\n","short_description":"PII-as-a-Service allows your product and Auth0 to be PII free","logo":"https://cdn.auth0.com/marketplace/catalog/content/assets/creators/anonomatic/anonomatic-avatar.png","terms_of_use_url":"https://anonomatic.com/legal/terms/","updated_at":"2023-03-20T16:29:00.724915633Z","created_at":"2022-08-10T17:45:26.296689356Z","feature_type":"action","current_release":{"id":"","semver":{}}},"all_changes_deployed":false},"created_at":"2023-06-01T18:33:43.056476297Z","updated_at":"2023-06-01T18:33:43.056476297Z"},{"id":"f44de912-62a5-4189-bf28-47a4527f384c","trigger_id":"post-login","action":{"id":"6daca728-99c7-4448-b8d1-4e1329c88671","name":"A different API","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-01T12:58:16.211972271Z","updated_at":"2023-06-01T12:58:16.211972271Z","current_version":{"id":"c65f0f34-5057-44af-8e31-5fe289bab2de","code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-01T12:58:19.114548092Z","created_at":"2023-06-01T12:58:19.044381058Z","updated_at":"2023-06-01T12:58:19.114919738Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n","dependencies":[],"id":"c65f0f34-5057-44af-8e31-5fe289bab2de","deployed":true,"number":1,"built_at":"2023-06-01T12:58:19.114548092Z","secrets":[],"status":"built","created_at":"2023-06-01T12:58:19.044381058Z","updated_at":"2023-06-01T12:58:19.114919738Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-01T18:33:43.058165622Z","updated_at":"2023-06-01T18:33:43.058165622Z"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 143.990792ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a35e5b88-7a3e-4e7a-9a3d-4e0f3b4d95d2 - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 137.659916ms diff --git a/test/data/recordings/TestAccTriggerActions.yaml b/test/data/recordings/TestAccTriggerActions.yaml index 910604139..7ef0aa8a3 100644 --- a/test/data/recordings/TestAccTriggerActions.yaml +++ b/test/data/recordings/TestAccTriggerActions.yaml @@ -3,1439 +3,2627 @@ version: 2 interactions: - id: 0 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 247 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"secrets":[]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 444 - uncompressed: false - body: '{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.670045746Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 247 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"secrets":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 444 + uncompressed: false + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 145.320792ms - id: 1 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.670045746Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 107.846708ms - id: 2 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640/deploy - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":false,"number":1,"secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.870712257Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}],"action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","all_changes_deployed":false}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132/deploy + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":false,"number":1,"secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.900273Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","all_changes_deployed":false}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 126.065292ms - id: 3 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.670045746Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 114.256959ms - id: 4 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 247 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"secrets":[]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 444 - uncompressed: false - body: '{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.199449989Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 247 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"secrets":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 444 + uncompressed: false + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 187.319125ms - id: 5 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 155 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerActions","ref":{"type":"action_id","value":"f4f6fd74-7107-48c8-b254-3f7055da2640"}}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"a96661a2-bb35-4eee-93a5-27fe2f16e36d","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:06.189456087Z","updated_at":"2022-09-22T20:33:06.189456087Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 119.662166ms - id: 6 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.199449989Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93/deploy + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":false,"number":1,"secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.466292024Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","all_changes_deployed":false}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 125.945166ms - id: 7 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"a96661a2-bb35-4eee-93a5-27fe2f16e36d","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:06.189456087Z","updated_at":"2022-09-22T20:33:06.189456087Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":1,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.217542ms - id: 8 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0/deploy - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":false,"number":1,"secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.515724819Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}],"action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","all_changes_deployed":false}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 155 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerActions","ref":{"type":"action_id","value":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132"}}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"c5bb63b7-1687-455f-b658-ecb4c8f60e02","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:35.681136136Z","updated_at":"2023-06-14T14:36:35.681136136Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 106.670041ms - id: 9 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.199449989Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"c5bb63b7-1687-455f-b658-ecb4c8f60e02","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:35.681136136Z","updated_at":"2023-06-14T14:36:35.681136136Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":1,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 103.9635ms - id: 10 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.670045746Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.783292ms - id: 11 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.199449989Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 114.669417ms - id: 12 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"a96661a2-bb35-4eee-93a5-27fe2f16e36d","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:06.189456087Z","updated_at":"2022-09-22T20:33:06.189456087Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":1,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"c5bb63b7-1687-455f-b658-ecb4c8f60e02","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:35.681136136Z","updated_at":"2023-06-14T14:36:35.681136136Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":1,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 101.915375ms - id: 13 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.670045746Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.715916ms - id: 14 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.199449989Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 136.338917ms - id: 15 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"a96661a2-bb35-4eee-93a5-27fe2f16e36d","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:06.189456087Z","updated_at":"2022-09-22T20:33:06.189456087Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":1,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"c5bb63b7-1687-455f-b658-ecb4c8f60e02","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:35.681136136Z","updated_at":"2023-06-14T14:36:35.681136136Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":1,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 108.220667ms - id: 16 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 295 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerActions","ref":{"type":"action_id","value":"f4f6fd74-7107-48c8-b254-3f7055da2640"}},{"display_name":"Test Trigger Binding Bar TestAccTriggerActions","ref":{"type":"action_id","value":"2c6e6817-87f7-4657-9eac-3944259824b0"}}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"6b672695-3723-4aff-bd64-8e62bc9dca85","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:08.489629137Z","updated_at":"2022-09-22T20:33:08.489629137Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"4107d03a-fe43-4d71-92e1-6e1a63521bdf","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:08.492430780Z","updated_at":"2022-09-22T20:33:08.492430780Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 295 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerActions","ref":{"type":"action_id","value":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132"}},{"display_name":"Test Trigger Binding Bar TestAccTriggerActions","ref":{"type":"action_id","value":"d60e7969-b1e7-46c3-b62c-131bca918e93"}}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"fe79be68-0fa2-477d-9482-10294bde5a88","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:37.693664411Z","updated_at":"2023-06-14T14:36:37.693664411Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"6e004f75-25c3-40df-bd3a-3b0428758445","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:37.697053557Z","updated_at":"2023-06-14T14:36:37.697053557Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 190.39275ms - id: 17 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"6b672695-3723-4aff-bd64-8e62bc9dca85","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:08.489629137Z","updated_at":"2022-09-22T20:33:08.489629137Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"4107d03a-fe43-4d71-92e1-6e1a63521bdf","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:08.492430780Z","updated_at":"2022-09-22T20:33:08.492430780Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"fe79be68-0fa2-477d-9482-10294bde5a88","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:37.693664411Z","updated_at":"2023-06-14T14:36:37.693664411Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"6e004f75-25c3-40df-bd3a-3b0428758445","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:37.697053557Z","updated_at":"2023-06-14T14:36:37.697053557Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 131.925084ms - id: 18 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.670045746Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 106.134584ms - id: 19 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.199449989Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.900542ms - id: 20 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"6b672695-3723-4aff-bd64-8e62bc9dca85","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:08.489629137Z","updated_at":"2022-09-22T20:33:08.489629137Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"4107d03a-fe43-4d71-92e1-6e1a63521bdf","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:08.492430780Z","updated_at":"2022-09-22T20:33:08.492430780Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"fe79be68-0fa2-477d-9482-10294bde5a88","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:37.693664411Z","updated_at":"2023-06-14T14:36:37.693664411Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"6e004f75-25c3-40df-bd3a-3b0428758445","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:37.697053557Z","updated_at":"2023-06-14T14:36:37.697053557Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 103.449042ms - id: 21 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.670045746Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 123.311333ms - id: 22 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.199449989Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 173.419583ms - id: 23 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"6b672695-3723-4aff-bd64-8e62bc9dca85","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:08.489629137Z","updated_at":"2022-09-22T20:33:08.489629137Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"4107d03a-fe43-4d71-92e1-6e1a63521bdf","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:08.492430780Z","updated_at":"2022-09-22T20:33:08.492430780Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"fe79be68-0fa2-477d-9482-10294bde5a88","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:37.693664411Z","updated_at":"2023-06-14T14:36:37.693664411Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"6e004f75-25c3-40df-bd3a-3b0428758445","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:37.697053557Z","updated_at":"2023-06-14T14:36:37.697053557Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 100.27075ms - id: 24 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 295 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"bindings":[{"display_name":"Test Trigger Binding Bar TestAccTriggerActions","ref":{"type":"action_id","value":"2c6e6817-87f7-4657-9eac-3944259824b0"}},{"display_name":"Test Trigger Binding Foo TestAccTriggerActions","ref":{"type":"action_id","value":"f4f6fd74-7107-48c8-b254-3f7055da2640"}}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"1ded6293-6e8a-4b19-88b0-7477de26b9c3","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:10.810810077Z","updated_at":"2022-09-22T20:33:10.810810077Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"},{"id":"d0a67720-b6d3-455d-9a28-0a2eaaee8420","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:10.813301629Z","updated_at":"2022-09-22T20:33:10.813301629Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 295 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[{"display_name":"Test Trigger Binding Bar TestAccTriggerActions","ref":{"type":"action_id","value":"d60e7969-b1e7-46c3-b62c-131bca918e93"}},{"display_name":"Test Trigger Binding Foo TestAccTriggerActions","ref":{"type":"action_id","value":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132"}}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"6dcbb552-ca28-4a1f-887f-37c95d83ee88","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:39.811280893Z","updated_at":"2023-06-14T14:36:39.811280893Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"},{"id":"fff1a99a-24ee-4ed7-b8e0-b2297e5a03a6","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:39.815360932Z","updated_at":"2023-06-14T14:36:39.815360932Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 201.586791ms - id: 25 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"1ded6293-6e8a-4b19-88b0-7477de26b9c3","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:10.810810077Z","updated_at":"2022-09-22T20:33:10.810810077Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"},{"id":"d0a67720-b6d3-455d-9a28-0a2eaaee8420","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:10.813301629Z","updated_at":"2022-09-22T20:33:10.813301629Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":2,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"6dcbb552-ca28-4a1f-887f-37c95d83ee88","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:39.811280893Z","updated_at":"2023-06-14T14:36:39.811280893Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"},{"id":"fff1a99a-24ee-4ed7-b8e0-b2297e5a03a6","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:39.815360932Z","updated_at":"2023-06-14T14:36:39.815360932Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 101.225875ms - id: 26 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.670045746Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.3465ms - id: 27 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.199449989Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.518583ms - id: 28 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"1ded6293-6e8a-4b19-88b0-7477de26b9c3","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:10.810810077Z","updated_at":"2022-09-22T20:33:10.810810077Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"},{"id":"d0a67720-b6d3-455d-9a28-0a2eaaee8420","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:10.813301629Z","updated_at":"2022-09-22T20:33:10.813301629Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":2,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"6dcbb552-ca28-4a1f-887f-37c95d83ee88","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:39.811280893Z","updated_at":"2023-06-14T14:36:39.811280893Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"},{"id":"fff1a99a-24ee-4ed7-b8e0-b2297e5a03a6","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:39.815360932Z","updated_at":"2023-06-14T14:36:39.815360932Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.252417ms - id: 29 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.670045746Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 161.33175ms - id: 30 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.199449989Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 172.212667ms - id: 31 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"1ded6293-6e8a-4b19-88b0-7477de26b9c3","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:10.810810077Z","updated_at":"2022-09-22T20:33:10.810810077Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"},{"id":"d0a67720-b6d3-455d-9a28-0a2eaaee8420","trigger_id":"post-login","action":{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.653193398Z","current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:10.813301629Z","updated_at":"2022-09-22T20:33:10.813301629Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":2,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"6dcbb552-ca28-4a1f-887f-37c95d83ee88","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:39.811280893Z","updated_at":"2023-06-14T14:36:39.811280893Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"},{"id":"fff1a99a-24ee-4ed7-b8e0-b2297e5a03a6","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:39.815360932Z","updated_at":"2023-06-14T14:36:39.815360932Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.398792ms - id: 32 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 155 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"bindings":[{"display_name":"Test Trigger Binding Bar TestAccTriggerActions","ref":{"type":"action_id","value":"2c6e6817-87f7-4657-9eac-3944259824b0"}}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"d5958afa-a977-47e3-9a59-b22425fcdb1a","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:13.025649306Z","updated_at":"2022-09-22T20:33:13.025649306Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 155 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[{"display_name":"Test Trigger Binding Bar TestAccTriggerActions","ref":{"type":"action_id","value":"d60e7969-b1e7-46c3-b62c-131bca918e93"}}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"f45e76c9-39c2-4d93-a233-6ec73e386097","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:41.869712342Z","updated_at":"2023-06-14T14:36:41.869712342Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 159.259625ms - id: 33 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"d5958afa-a977-47e3-9a59-b22425fcdb1a","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:13.025649306Z","updated_at":"2022-09-22T20:33:13.025649306Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":1,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"f45e76c9-39c2-4d93-a233-6ec73e386097","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:41.869712342Z","updated_at":"2023-06-14T14:36:41.869712342Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":1,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 114.023917ms - id: 34 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"f4f6fd74-7107-48c8-b254-3f7055da2640","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:05.653193398Z","updated_at":"2022-09-22T20:33:05.670045746Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:05.929287136Z","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"9ffa4d7b-74c7-4f34-a15a-5c1d26eb8607","deployed":true,"number":1,"built_at":"2022-09-22T20:33:05.929287136Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:05.870712257Z","updated_at":"2022-09-22T20:33:05.929661854Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.620541ms - id: 35 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.199449989Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.432917ms - id: 36 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"d5958afa-a977-47e3-9a59-b22425fcdb1a","trigger_id":"post-login","action":{"id":"2c6e6817-87f7-4657-9eac-3944259824b0","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v2"}],"created_at":"2022-09-22T20:33:06.188224086Z","updated_at":"2022-09-22T20:33:06.188224086Z","current_version":{"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2022-09-22T20:33:06.564347318Z","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"cd4f4981-2f34-4988-b50c-29801b4b3e6f","deployed":true,"number":1,"built_at":"2022-09-22T20:33:06.564347318Z","secrets":[],"status":"built","created_at":"2022-09-22T20:33:06.515724819Z","updated_at":"2022-09-22T20:33:06.564768711Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v2"}]},"all_changes_deployed":false},"created_at":"2022-09-22T20:33:13.025649306Z","updated_at":"2022-09-22T20:33:13.025649306Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":1,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"f45e76c9-39c2-4d93-a233-6ec73e386097","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:41.869712342Z","updated_at":"2023-06-14T14:36:41.869712342Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":1,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.914167ms - id: 37 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 16 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"bindings":[]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 15 - uncompressed: false - body: '{"bindings":[]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.310667ms - id: 38 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/2c6e6817-87f7-4657-9eac-3944259824b0 - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"f45e76c9-39c2-4d93-a233-6ec73e386097","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:41.869712342Z","updated_at":"2023-06-14T14:36:41.869712342Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":1,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 103.343625ms - id: 39 request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/f4f6fd74-7107-48c8-b254-3f7055da2640 - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 1ms + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 115.529375ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 16 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 15 + uncompressed: false + body: '{"bindings":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.8595ms + - id: 41 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 110.509042ms + - id: 42 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 106.076875ms + - id: 43 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 127.071667ms + - id: 44 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.792917ms + - id: 45 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[],"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 102.70725ms + - id: 46 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 155 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerActions","ref":{"type":"action_id","value":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132"}}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"ccc44284-7d94-4768-ad8a-071b56f75d43","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:45.572007966Z","updated_at":"2023-06-14T14:36:45.572007966Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 250.51475ms + - id: 47 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"ccc44284-7d94-4768-ad8a-071b56f75d43","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:45.572007966Z","updated_at":"2023-06-14T14:36:45.572007966Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":1,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.968875ms + - id: 48 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"ccc44284-7d94-4768-ad8a-071b56f75d43","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:45.572007966Z","updated_at":"2023-06-14T14:36:45.572007966Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"}],"total":1,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 110.593792ms + - id: 49 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 295 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[{"display_name":"Test Trigger Binding Foo TestAccTriggerActions","ref":{"type":"action_id","value":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132"}},{"display_name":"Test Trigger Binding Bar TestAccTriggerActions","ref":{"type":"action_id","value":"d60e7969-b1e7-46c3-b62c-131bca918e93"}}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 416.8875ms + - id: 50 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 116.923625ms + - id: 51 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.9085ms + - id: 52 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 100.69075ms + - id: 53 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 190.256667ms + - id: 54 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.937042ms + - id: 55 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 108.542459ms + - id: 56 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 137.083625ms + - id: 57 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.065833ms + - id: 58 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 100.797708ms + - id: 59 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.002208ms + - id: 60 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 111.313916ms + - id: 61 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.667029677Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.62075ms + - id: 62 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.176266247Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 185.269334ms + - id: 63 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 96.951209ms + - id: 64 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.034875ms + - id: 65 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[{"id":"e8eac1b6-b45b-4329-9f81-5bc77147e204","trigger_id":"post-login","action":{"id":"60ffdfac-1793-4bd5-8fa7-e34e5a20e132","name":"Test Trigger Binding Foo TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:34.649986079Z","updated_at":"2023-06-14T14:36:34.649986079Z","current_version":{"id":"92518e07-6aba-4635-8860-02599be42e37","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:34.980031624Z","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"foo\")\n};\"\n","dependencies":[],"id":"92518e07-6aba-4635-8860-02599be42e37","deployed":true,"number":1,"built_at":"2023-06-14T14:36:34.980031624Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:34.900273Z","updated_at":"2023-06-14T14:36:34.981801846Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.090130657Z","updated_at":"2023-06-14T14:36:46.090130657Z","display_name":"Test Trigger Binding Foo TestAccTriggerActions"},{"id":"e4eba97a-2f93-49bc-8b6c-c4502655dfaf","trigger_id":"post-login","action":{"id":"d60e7969-b1e7-46c3-b62c-131bca918e93","name":"Test Trigger Binding Bar TestAccTriggerActions","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-14T14:36:35.161956581Z","updated_at":"2023-06-14T14:36:35.161956581Z","current_version":{"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-14T14:36:35.532422029Z","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(\"bar\")\n};\"\n","dependencies":[],"id":"9af93b34-f487-47aa-8733-28a7b53dffe1","deployed":true,"number":1,"built_at":"2023-06-14T14:36:35.532422029Z","secrets":[],"status":"built","created_at":"2023-06-14T14:36:35.466292024Z","updated_at":"2023-06-14T14:36:35.534226211Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false},"created_at":"2023-06-14T14:36:46.095583258Z","updated_at":"2023-06-14T14:36:46.095583258Z","display_name":"Test Trigger Binding Bar TestAccTriggerActions"}],"total":2,"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 103.584ms + - id: 66 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 16 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 15 + uncompressed: false + body: '{"bindings":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 99.13125ms + - id: 67 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[],"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 94.617292ms + - id: 68 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 16 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 15 + uncompressed: false + body: '{"bindings":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 100.561959ms + - id: 69 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings?per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"bindings":[],"per_page":50}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.075625ms + - id: 70 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 16 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"bindings":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-login/bindings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 15 + uncompressed: false + body: '{"bindings":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 120.758375ms + - id: 71 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/d60e7969-b1e7-46c3-b62c-131bca918e93 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 178.273333ms + - id: 72 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/60ffdfac-1793-4bd5-8fa7-e34e5a20e132 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 186.74925ms diff --git a/test/data/recordings/TestAccTriggerActions_Import.yaml b/test/data/recordings/TestAccTriggerActions_Import.yaml deleted file mode 100644 index 2f3602d5f..000000000 --- a/test/data/recordings/TestAccTriggerActions_Import.yaml +++ /dev/null @@ -1,219 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-user-registration/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[],"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 134.330834ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-user-registration/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[],"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.789917ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"bindings":[{"display_name":"Test","ref":{"type":"action_id","value":"c2d5b219-4390-4bea-8a1f-c61672b54db3"}}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-user-registration/bindings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"1faed671-33fa-47c0-8e1b-da695b421506","trigger_id":"post-user-registration","action":{"id":"c2d5b219-4390-4bea-8a1f-c61672b54db3","name":"Test","supported_triggers":[{"id":"post-user-registration","version":"v2"}],"created_at":"2023-04-19T00:31:55.950532632Z","updated_at":"2023-04-19T00:31:55.950532632Z","current_version":{"id":"6cc00810-81a5-4242-bd84-6a6d638be9e0","code":"/**\n* Handler that will be called during the execution of a PostUserRegistration flow.\n*\n* @param {Event} event - Details about the context and user that has registered.\n* @param {PostUserRegistrationAPI} api - Methods and utilities to help change the behavior after a signup.\n*/\nexports.onExecutePostUserRegistration = async (event, api) => {\n};\n","runtime":"node18","status":"BUILT","number":1,"build_time":"2023-04-19T00:32:29.441709889Z","created_at":"2023-04-19T00:32:29.328514104Z","updated_at":"2023-04-19T00:32:29.443136306Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostUserRegistration flow.\n*\n* @param {Event} event - Details about the context and user that has registered.\n* @param {PostUserRegistrationAPI} api - Methods and utilities to help change the behavior after a signup.\n*/\nexports.onExecutePostUserRegistration = async (event, api) => {\n};\n","dependencies":[],"id":"6cc00810-81a5-4242-bd84-6a6d638be9e0","deployed":true,"number":1,"built_at":"2023-04-19T00:32:29.441709889Z","secrets":[],"status":"built","created_at":"2023-04-19T00:32:29.328514104Z","updated_at":"2023-04-19T00:32:29.443136306Z","runtime":"node18","supported_triggers":[{"id":"post-user-registration","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-04-19T00:49:43.631447329Z","updated_at":"2023-04-19T00:49:43.631447329Z","display_name":"Test"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 194.906042ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-user-registration/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"1faed671-33fa-47c0-8e1b-da695b421506","trigger_id":"post-user-registration","action":{"id":"c2d5b219-4390-4bea-8a1f-c61672b54db3","name":"Test","supported_triggers":[{"id":"post-user-registration","version":"v2"}],"created_at":"2023-04-19T00:31:55.950532632Z","updated_at":"2023-04-19T00:31:55.950532632Z","current_version":{"id":"6cc00810-81a5-4242-bd84-6a6d638be9e0","code":"/**\n* Handler that will be called during the execution of a PostUserRegistration flow.\n*\n* @param {Event} event - Details about the context and user that has registered.\n* @param {PostUserRegistrationAPI} api - Methods and utilities to help change the behavior after a signup.\n*/\nexports.onExecutePostUserRegistration = async (event, api) => {\n};\n","runtime":"node18","status":"BUILT","number":1,"build_time":"2023-04-19T00:32:29.441709889Z","created_at":"2023-04-19T00:32:29.328514104Z","updated_at":"2023-04-19T00:32:29.443136306Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostUserRegistration flow.\n*\n* @param {Event} event - Details about the context and user that has registered.\n* @param {PostUserRegistrationAPI} api - Methods and utilities to help change the behavior after a signup.\n*/\nexports.onExecutePostUserRegistration = async (event, api) => {\n};\n","dependencies":[],"id":"6cc00810-81a5-4242-bd84-6a6d638be9e0","deployed":true,"number":1,"built_at":"2023-04-19T00:32:29.441709889Z","secrets":[],"status":"built","created_at":"2023-04-19T00:32:29.328514104Z","updated_at":"2023-04-19T00:32:29.443136306Z","runtime":"node18","supported_triggers":[{"id":"post-user-registration","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-04-19T00:49:43.631447329Z","updated_at":"2023-04-19T00:49:43.631447329Z","display_name":"Test"}],"total":1,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.025958ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-user-registration/bindings?per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"bindings":[{"id":"1faed671-33fa-47c0-8e1b-da695b421506","trigger_id":"post-user-registration","action":{"id":"c2d5b219-4390-4bea-8a1f-c61672b54db3","name":"Test","supported_triggers":[{"id":"post-user-registration","version":"v2"}],"created_at":"2023-04-19T00:31:55.950532632Z","updated_at":"2023-04-19T00:31:55.950532632Z","current_version":{"id":"6cc00810-81a5-4242-bd84-6a6d638be9e0","code":"/**\n* Handler that will be called during the execution of a PostUserRegistration flow.\n*\n* @param {Event} event - Details about the context and user that has registered.\n* @param {PostUserRegistrationAPI} api - Methods and utilities to help change the behavior after a signup.\n*/\nexports.onExecutePostUserRegistration = async (event, api) => {\n};\n","runtime":"node18","status":"BUILT","number":1,"build_time":"2023-04-19T00:32:29.441709889Z","created_at":"2023-04-19T00:32:29.328514104Z","updated_at":"2023-04-19T00:32:29.443136306Z"},"deployed_version":{"code":"/**\n* Handler that will be called during the execution of a PostUserRegistration flow.\n*\n* @param {Event} event - Details about the context and user that has registered.\n* @param {PostUserRegistrationAPI} api - Methods and utilities to help change the behavior after a signup.\n*/\nexports.onExecutePostUserRegistration = async (event, api) => {\n};\n","dependencies":[],"id":"6cc00810-81a5-4242-bd84-6a6d638be9e0","deployed":true,"number":1,"built_at":"2023-04-19T00:32:29.441709889Z","secrets":[],"status":"built","created_at":"2023-04-19T00:32:29.328514104Z","updated_at":"2023-04-19T00:32:29.443136306Z","runtime":"node18","supported_triggers":[{"id":"post-user-registration","version":"v2"}]},"all_changes_deployed":false},"created_at":"2023-04-19T00:49:43.631447329Z","updated_at":"2023-04-19T00:49:43.631447329Z","display_name":"Test"}],"total":1,"per_page":50}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.916042ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 16 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"bindings":[]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/triggers/post-user-registration/bindings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 15 - uncompressed: false - body: '{"bindings":[]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.451125ms