Skip to content
Merged
Changes from all commits
提交
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion descriptions/0/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17246,7 +17246,12 @@ paths:
- leads
execution_type: server_side
configuration_response_type: test_response_type
data_transformation_type:
data_transformation_type: code_block_transformation
transform_code_block:
code: |
def transform(response):
return {"status": response["order_status"]}
language: python
client_function_name:
client_function_timeout_ms:
data_inputs:
Expand Down Expand Up @@ -35295,6 +35300,28 @@ components:
- full_access
- redacted_access
- code_block_transformation
transform_code_block:
type: object
nullable: true
description: |
The code block used to transform the connector's response when `data_transformation_type` is
`code_block_transformation`. Omitted if the connector has no transform code block configured.
example:
code: |
def transform(response):
return {"status": response["order_status"]}
language: python
properties:
code:
type: string
description: The source code of the transform code block.
example: |
def transform(response):
return {"status": response["order_status"]}
language:
type: string
description: The programming language of the transform code block. Currently always `python`.
example: python
client_function_name:
type: string
nullable: true
Expand Down