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-zendesk-support-native: add streams to achieve parity with imported connector #2407

Merged
merged 12 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
$defs:
Meta:
properties:
op:
default: u
description: "Operation type (c: Create, u: Update, d: Delete)"
enum:
- c
- u
- d
title: Op
type: string
row_id:
default: -1
description: "Row ID of the Document, counting up from zero, or -1 if not known"
title: Row Id
type: integer
title: Meta
type: object
additionalProperties: true
properties:
_meta:
$ref: "#/$defs/Meta"
default:
op: u
row_id: -1
description: Document metadata
title: FullRefreshResource
type: object
x-infer-schema: true
41 changes: 41 additions & 0 deletions source-zendesk-support-native/acmeCo/automations.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
$defs:
Meta:
properties:
op:
default: u
description: "Operation type (c: Create, u: Update, d: Delete)"
enum:
- c
- u
- d
title: Op
type: string
row_id:
default: -1
description: "Row ID of the Document, counting up from zero, or -1 if not known"
title: Row Id
type: integer
title: Meta
type: object
additionalProperties: true
properties:
_meta:
$ref: "#/$defs/Meta"
default:
op: u
row_id: -1
description: Document metadata
id:
title: Id
type: integer
updated_at:
format: date-time
title: Updated At
type: string
required:
- id
- updated_at
title: TimestampedResource
type: object
x-infer-schema: true
41 changes: 41 additions & 0 deletions source-zendesk-support-native/acmeCo/custom_roles.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
$defs:
Meta:
properties:
op:
default: u
description: "Operation type (c: Create, u: Update, d: Delete)"
enum:
- c
- u
- d
title: Op
type: string
row_id:
default: -1
description: "Row ID of the Document, counting up from zero, or -1 if not known"
title: Row Id
type: integer
title: Meta
type: object
additionalProperties: true
properties:
_meta:
$ref: "#/$defs/Meta"
default:
op: u
row_id: -1
description: Document metadata
id:
title: Id
type: integer
updated_at:
format: date-time
title: Updated At
type: string
required:
- id
- updated_at
title: TimestampedResource
type: object
x-infer-schema: true
52 changes: 52 additions & 0 deletions source-zendesk-support-native/acmeCo/flow.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
---
collections:
acmeCo/account_attributes:
schema: account_attributes.schema.yaml
key:
- /_meta/row_id
acmeCo/audit_logs:
schema: audit_logs.schema.yaml
key:
- /id
acmeCo/automations:
schema: automations.schema.yaml
key:
- /id
acmeCo/brands:
schema: brands.schema.yaml
key:
- /id
acmeCo/custom_roles:
schema: custom_roles.schema.yaml
key:
- /id
acmeCo/group_memberships:
schema: group_memberships.schema.yaml
key:
- /id
acmeCo/groups:
schema: groups.schema.yaml
key:
Expand All @@ -20,10 +36,38 @@ collections:
schema: organization_memberships.schema.yaml
key:
- /id
acmeCo/organizations:
schema: organizations.schema.yaml
key:
- /id
acmeCo/post_comment_votes:
schema: post_comment_votes.schema.yaml
key:
- /id
acmeCo/post_comments:
schema: post_comments.schema.yaml
key:
- /id
acmeCo/post_votes:
schema: post_votes.schema.yaml
key:
- /id
acmeCo/posts:
schema: posts.schema.yaml
key:
- /id
acmeCo/satisfaction_ratings:
schema: satisfaction_ratings.schema.yaml
key:
- /id
acmeCo/schedules:
schema: schedules.schema.yaml
key:
- /_meta/row_id
acmeCo/sla_policies:
schema: sla_policies.schema.yaml
key:
- /_meta/row_id
acmeCo/tags:
schema: tags.schema.yaml
key:
Expand All @@ -40,6 +84,10 @@ collections:
schema: ticket_fields.schema.yaml
key:
- /id
acmeCo/ticket_forms:
schema: ticket_forms.schema.yaml
key:
- /id
acmeCo/ticket_metric_events:
schema: ticket_metric_events.schema.yaml
key:
Expand All @@ -60,6 +108,10 @@ collections:
schema: tickets.schema.yaml
key:
- /id
acmeCo/topics:
schema: topics.schema.yaml
key:
- /id
acmeCo/users:
schema: users.schema.yaml
key:
Expand Down
41 changes: 41 additions & 0 deletions source-zendesk-support-native/acmeCo/group_memberships.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
$defs:
Meta:
properties:
op:
default: u
description: "Operation type (c: Create, u: Update, d: Delete)"
enum:
- c
- u
- d
title: Op
type: string
row_id:
default: -1
description: "Row ID of the Document, counting up from zero, or -1 if not known"
title: Row Id
type: integer
title: Meta
type: object
additionalProperties: true
properties:
_meta:
$ref: "#/$defs/Meta"
default:
op: u
row_id: -1
description: Document metadata
id:
title: Id
type: integer
updated_at:
format: date-time
title: Updated At
type: string
required:
- id
- updated_at
title: TimestampedResource
type: object
x-infer-schema: true
41 changes: 41 additions & 0 deletions source-zendesk-support-native/acmeCo/organizations.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
$defs:
Meta:
properties:
op:
default: u
description: "Operation type (c: Create, u: Update, d: Delete)"
enum:
- c
- u
- d
title: Op
type: string
row_id:
default: -1
description: "Row ID of the Document, counting up from zero, or -1 if not known"
title: Row Id
type: integer
title: Meta
type: object
additionalProperties: true
properties:
_meta:
$ref: "#/$defs/Meta"
default:
op: u
row_id: -1
description: Document metadata
id:
title: Id
type: integer
updated_at:
format: date-time
title: Updated At
type: string
required:
- id
- updated_at
title: TimestampedResource
type: object
x-infer-schema: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
$defs:
Meta:
properties:
op:
default: u
description: "Operation type (c: Create, u: Update, d: Delete)"
enum:
- c
- u
- d
title: Op
type: string
row_id:
default: -1
description: "Row ID of the Document, counting up from zero, or -1 if not known"
title: Row Id
type: integer
title: Meta
type: object
additionalProperties: true
properties:
_meta:
$ref: "#/$defs/Meta"
default:
op: u
row_id: -1
description: Document metadata
id:
title: Id
type: integer
required:
- id
title: ZendeskResource
type: object
x-infer-schema: true
36 changes: 36 additions & 0 deletions source-zendesk-support-native/acmeCo/post_comments.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
$defs:
Meta:
properties:
op:
default: u
description: "Operation type (c: Create, u: Update, d: Delete)"
enum:
- c
- u
- d
title: Op
type: string
row_id:
default: -1
description: "Row ID of the Document, counting up from zero, or -1 if not known"
title: Row Id
type: integer
title: Meta
type: object
additionalProperties: true
properties:
_meta:
$ref: "#/$defs/Meta"
default:
op: u
row_id: -1
description: Document metadata
id:
title: Id
type: integer
required:
- id
title: ZendeskResource
type: object
x-infer-schema: true
Loading
Loading