Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source-surveymonkey: ensure inline schemas, updated cdk, poetry (where possible) #36664

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: badc5925-0485-42be-8caa-b34096cb71b5
dockerImageTag: 0.3.0
dockerImageTag: 0.3.1
dockerRepository: airbyte/source-surveymonkey
documentationUrl: https://docs.airbyte.com/integrations/sources/surveymonkey
githubIssueLabel: source-surveymonkey
Expand Down
10 changes: 5 additions & 5 deletions airbyte-integrations/connectors/source-surveymonkey/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "0.3.0"
version = "0.3.1"
name = "source-surveymonkey"
description = "Source implementation for Surveymonkey."
authors = [ "Airbyte <contact@airbyte.io>",]
Expand All @@ -17,7 +17,7 @@ include = "source_surveymonkey"

[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "^0"
airbyte-cdk = "0.80.0"
vcrpy = "==4.1.1"
urllib3 = "==1.26.18"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,83 +4,108 @@
"additionalProperties": true,
"properties": {
"id": {
"description": "The unique identifier of the collector.",
"type": ["string", "null"]
},
"status": {
"description": "Current status of the collector (ex: open, closed).",
"type": ["string", "null"]
},
"survey_id": {
"description": "The unique identifier of the survey associated with the collector.",
"type": ["string", "null"]
},
"type": {
"description": "Type of collector.",
"type": ["string", "null"]
},
"name": {
"description": "The name or title of the collector.",
"type": ["string", "null"]
},
"thank_you_message": {
"description": "Message displayed after respondent completes the survey.",
"type": ["string", "null"]
},
"thank_you_page": {
"description": "Settings for the thank you page displayed post-survey submission.",
"type": ["object", "null"],
"additionalProperties": true,
"properties": {
"is_enabled": {
"description": "Indicates if the thank you page is enabled.",
"type": ["boolean", "null"]
},
"message": {
"description": "Custom message to be displayed on the thank you page.",
"type": ["string", "null"]
}
}
},
"disqualification_message": {
"description": "Message displayed if respondent is disqualified from survey.",
"type": ["string", "null"]
},
"disqualification_url": {
"description": "URL to redirect disqualified respondent to another page.",
"type": ["string", "null"]
},
"close_date": {
"description": "The date and time when the collector is set to close.",
"type": ["string", "null"],
"format": "date-time"
},
"closed_page_message": {
"description": "Message displayed on the closed page of the collector.",
"type": ["string", "null"]
},
"redirect_url": {
"description": "URL for redirection after survey completion.",
"type": ["string", "null"]
},
"display_survey_results": {
"description": "Indicates whether respondents can view survey results.",
"type": ["boolean", "null"]
},
"edit_response_type": {
"description": "Type of editing available for responses.",
"type": ["string", "null"]
},
"anonymous_type": {
"description": "Specifies the anonymity type of the respondent (ex: ",
"type": ["string", "null"]
},
"allow_multiple_responses": {
"description": "Indicates whether multiple responses are allowed for this collector.",
"type": ["boolean", "null"]
},
"date_modified": {
"description": "The date and time when the collector was last modified.",
"type": ["string", "null"],
"format": "date-time"
},
"sender_email": {
"description": "Email address used as the sender of collector notifications.",
"type": ["string", "null"]
},
"password_enabled": {
"description": "Indicates whether password protection is enabled for the collector.",
"type": ["boolean", "null"]
},
"response_limit": {
"description": "Limit on the number of responses allowed for the collector.",
"type": ["number", "null"]
},
"redirect_type": {
"description": "Type of redirect behavior after respondent submits the survey.",
"type": ["string", "null"]
},
"respondent_authentication": {
"description": "Authentication method required for respondents.",
"type": ["boolean", "null"]
},
"href": {
"description": "The unique URL of the collector.",
"type": ["string", "null"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@
"additionalProperties": true,
"properties": {
"id": {
"description": "The unique identifier for the survey collector.",
"type": ["string", "null"]
},
"name": {
"description": "The name or title of the survey collector.",
"type": ["string", "null"]
},
"href": {
"description": "The URL to access the specific survey collector data.",
"type": ["string", "null"]
},
"survey_id": {
"description": "The unique identifier of the survey associated with the collector.",
"type": ["string", "null"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@
"type": "object",
"properties": {
"id": {
"description": "Unique identifier for the survey.",
"type": ["string", "null"]
},
"title": {
"description": "Title of the survey.",
"type": ["string", "null"]
},
"nickname": {
"description": "User-assigned nickname for the survey to easily identify it.",
"type": ["string", "null"]
},
"href": {
"description": "URL for fetching detailed information about the survey.",
"type": ["string", "null"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,27 @@
"type": "object",
"properties": {
"title": {
"description": "Title or name of the survey page.",
"type": ["string", "null"]
},
"description": {
"description": "Description of the survey page.",
"type": ["string", "null"]
},
"position": {
"description": "Position of the survey page within the survey.",
"type": ["integer", "null"]
},
"question_count": {
"description": "Number of questions on the survey page.",
"type": ["integer", "null"]
},
"id": {
"description": "Unique identifier of the survey page.",
"type": ["string", "null"]
},
"href": {
"description": "The URL link to the survey page.",
"type": ["string", "null"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,117 +3,152 @@
"type": "object",
"properties": {
"page_id": {
"description": "Identifier of the page the question belongs to",
"type": ["string", "null"]
},
"id": {
"description": "Unique identifier for the question",
"type": ["string", "null"]
},
"position": {
"description": "Position of the question within the survey",
"type": ["integer", "null"]
},
"visible": {
"description": "Indicates if the question is visible",
"type": ["boolean", "null"]
},
"family": {
"description": "Family to which the question belongs",
"type": ["string", "null"]
},
"subtype": {
"description": "Specific type of question",
"type": ["string", "null"]
},
"layout": {
"description": "Layout style of the question",
"type": ["object", "null"]
},
"sorting": {
"description": "Sorting options for the question",
"type": ["object", "null"],
"properties": {
"ignore_last": {
"description": "Boolean to ignore the last option for sorting",
"type": ["boolean", "null"]
},
"type": {
"description": "Type of sorting",
"type": ["string", "null"]
}
}
},
"required": {
"description": "Indicates if the question is required",
"type": ["object", "null"],
"properties": {
"amount": {
"description": "Number of required choices",
"type": ["string", "null"]
},
"text": {
"description": "Text specifying requirement",
"type": ["string", "null"]
},
"type": {
"description": "Type of requirement",
"type": ["string", "null"]
}
}
},
"validation": {
"description": "Validation rules for the question",
"type": ["object", "null"],
"properties": {
"max": {
"description": "Maximum value for validation",
"type": ["integer", "null"]
},
"min": {
"description": "Minimum value for validation",
"type": ["integer", "null"]
},
"sum": {
"description": "Sum value for validation",
"type": ["integer", "null"]
},
"sum_text": {
"description": "Sum text for validation",
"type": ["string", "null"]
},
"text": {
"description": "Text validation message",
"type": ["string", "null"]
},
"type": {
"description": "Type of validation",
"type": ["string", "null"]
}
}
},
"forced_ranking": {
"description": "Indicates if the question uses forced ranking",
"type": ["boolean", "null"]
},
"headings": {
"description": "Array of headings for the question",
"type": ["array", "null"],
"items": {
"description": "Represents an individual heading",
"type": ["object", "null"],
"properties": {
"heading": {
"description": "Text of the heading",
"type": ["string", "null"]
}
}
}
},
"href": {
"description": "Hyperlink reference for the question",
"type": ["string", "null"]
},
"answers": {
"description": "Contains information about answer choices for the question",
"type": ["object", "null"],
"properties": {
"choices": {
"description": "An array of answer choices for the question",
"type": ["array", "null"],
"items": {
"description": "Represents an individual answer choice",
"type": ["object", "null"],
"properties": {
"position": {
"description": "Position of the answer choice in the list",
"type": ["integer", "null"]
},
"visible": {
"description": "Boolean indicating if the answer choice is visible",
"type": ["boolean", "null"]
},
"text": {
"description": "Text of the answer choice",
"type": ["string", "null"]
},
"quiz_options": {
"description": "Optional properties specific to quiz questions",
"type": ["object", "null"],
"properties": {
"score": {
"description": "Score associated with the answer choice",
"type": ["integer", "null"]
}
}
},
"id": {
"description": "Unique identifier for the answer choice",
"type": ["string", "null"]
}
}
Expand Down
Loading
Loading