1
0
mirror of synced 2026-01-06 06:04:16 -05:00
Files
airbyte/airbyte-integrations/connectors/source-ringcentral/source_ringcentral/manifest.yaml
btkcodedev 4be1baf041 🎉 New Source: Ringcentral [Low code CDK] (#25701)
* Initial commit - All test passed

* add stream fax cover

* refactor docs

* fix schema, Added pagination

* Add several streams, fix schema

* fix schema, add streams, refactor docs

* EOF

* Resolve conflicts

* Resolve conflicts

* add metadata file

---------

Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
2023-05-18 11:25:45 -03:00

195 lines
5.7 KiB
YAML

version: "0.29.0"
definitions:
ringcentral_extractor:
type: DpathExtractor
field_path: ["{{ parameters['extractorPath'] }}"]
selector:
type: RecordSelector
extractor:
$ref: "#/definitions/ringcentral_extractor"
requester:
type: HttpRequester
url_base: "https://platform.devtest.ringcentral.com/restapi/v1.0"
http_method: "GET"
authenticator:
type: BearerAuthenticator
api_token: "{{ config['auth_token'] }}"
base_stream:
type: DeclarativeStream
retriever:
type: SimpleRetriever
record_selector:
$ref: "#/definitions/selector"
paginator:
type: "DefaultPaginator"
page_size_option:
type: "RequestOption"
inject_into: "request_parameter"
field_name: "perPage"
pagination_strategy:
type: "PageIncrement"
page_size: 100
page_token_option:
type: "RequestOption"
inject_into: "request_parameter"
field_name: "page"
requester:
$ref: "#/definitions/requester"
base_stream_without_pagination:
type: DeclarativeStream
retriever:
type: SimpleRetriever
record_selector:
$ref: "#/definitions/selector"
paginator:
type: "NoPagination"
requester:
$ref: "#/definitions/requester"
user_business_hours_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/extension/{{ config['extension_id'] }}/business-hours"
extractorPath: "schedule"
$ref: "#/definitions/base_stream_without_pagination"
name: "user_business_hours"
company_business_hours_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/business-hours"
extractorPath: "schedule"
$ref: "#/definitions/base_stream_without_pagination"
name: "company_business_hours"
callblock_settings_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/extension/{{ config['extension_id'] }}/caller-blocking"
extractorPath: "greetings"
$ref: "#/definitions/base_stream_without_pagination"
name: "callblock_settings"
blocked_allowed_phonenumbers_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/extension/{{ config['extension_id'] }}/caller-blocking/phone-numbers"
extractorPath: "records"
$ref: "#/definitions/base_stream_without_pagination"
primary_key: "id"
name: "blocked_allowed_phonenumbers"
forwarding_numbers_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/extension/{{ config['extension_id'] }}/forwarding-number"
extractorPath: "records"
$ref: "#/definitions/base_stream"
primary_key: "id"
name: "forwarding_numbers"
company_call_handling_rules_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/answering-rule"
extractorPath: "records"
$ref: "#/definitions/base_stream"
primary_key: "id"
name: "company_call_handling_rules"
user_call_records_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/extension/{{ config['extension_id'] }}/call-log"
extractorPath: "records"
$ref: "#/definitions/base_stream"
primary_key: "id"
name: "user_call_records"
user_active_calls_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/extension/{{ config['extension_id'] }}/active-calls"
extractorPath: "records"
$ref: "#/definitions/base_stream"
primary_key: "id"
name: "user_active_calls"
call_monitoring_groups_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/call-monitoring-groups"
extractorPath: "records"
$ref: "#/definitions/base_stream"
primary_key: "id"
name: "call_monitoring_groups"
call_queues_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/call-queues"
extractorPath: "records"
$ref: "#/definitions/base_stream"
primary_key: "id"
name: "call_queues"
call_record_settings_stream:
$parameters:
path: "/account/{{ config['account_id'] }}/call-recording"
extractorPath: "greetings"
$ref: "#/definitions/base_stream_without_pagination"
name: "call_record_settings"
greetings_stream:
$parameters:
path: "/dictionary/greeting"
extractorPath: "records"
$ref: "#/definitions/base_stream"
primary_key: "id"
name: "greetings"
ivr_prompts_stream:
$parameters:
path: "/dictionary/greeting"
extractorPath: "records"
$ref: "#/definitions/base_stream"
primary_key: "id"
name: "ivr_prompts"
fax_cover_stream:
$parameters:
path: "/dictionary/fax-cover-page"
extractorPath: "records"
$ref: "#/definitions/base_stream"
primary_key: "id"
name: "fax_cover"
streams:
- "#/definitions/user_business_hours_stream"
- "#/definitions/company_business_hours_stream"
- "#/definitions/callblock_settings_stream"
- "#/definitions/blocked_allowed_phonenumbers_stream"
- "#/definitions/forwarding_numbers_stream"
- "#/definitions/company_call_handling_rules_stream"
- "#/definitions/user_call_records_stream"
- "#/definitions/user_active_calls_stream"
- "#/definitions/call_monitoring_groups_stream"
- "#/definitions/call_queues_stream"
- "#/definitions/call_record_settings_stream"
- "#/definitions/greetings_stream"
- "#/definitions/ivr_prompts_stream"
- "#/definitions/fax_cover_stream"
check:
type: CheckStream
stream_names:
- "user_business_hours"
- "company_business_hours"
- "callblock_settings"
- "blocked_allowed_phonenumbers"
- "forwarding_numbers"
- "company_call_handling_rules"
- "user_call_records"
- "user_active_calls"
- "call_monitoring_groups"
- "call_queues"
- "call_record_settings"
- "greetings"
- "ivr_prompts"
- "fax_cover"