-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-hubspot-native: add line items binding
Adds a new incremental binding for "line items". Like "products", we don't have any "line items" in our test account and I'm not going to put any in there so the capture snapshot output is unchanged.
- Loading branch information
1 parent
946cbaa
commit e0cdc98
Showing
7 changed files
with
439 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
--- | ||
$defs: | ||
History: | ||
additionalProperties: false | ||
properties: | ||
_meta: | ||
allOf: | ||
- $ref: "#/$defs/Meta" | ||
default: | ||
op: u | ||
row_id: -1 | ||
description: Document metadata | ||
timestamp: | ||
format: date-time | ||
title: Timestamp | ||
type: string | ||
value: | ||
title: Value | ||
type: string | ||
sourceType: | ||
title: Sourcetype | ||
type: string | ||
sourceId: | ||
anyOf: | ||
- type: string | ||
- type: "null" | ||
default: ~ | ||
title: Sourceid | ||
sourceLabel: | ||
anyOf: | ||
- type: string | ||
- type: "null" | ||
default: ~ | ||
title: Sourcelabel | ||
updatedByUserId: | ||
anyOf: | ||
- type: integer | ||
- type: "null" | ||
default: ~ | ||
title: Updatedbyuserid | ||
required: | ||
- timestamp | ||
- value | ||
- sourceType | ||
title: History | ||
type: object | ||
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: false | ||
properties: | ||
_meta: | ||
allOf: | ||
- $ref: "#/$defs/Meta" | ||
default: | ||
op: u | ||
row_id: -1 | ||
description: Document metadata | ||
id: | ||
title: Id | ||
type: integer | ||
createdAt: | ||
format: date-time | ||
title: Createdat | ||
type: string | ||
updatedAt: | ||
format: date-time | ||
title: Updatedat | ||
type: string | ||
archived: | ||
title: Archived | ||
type: boolean | ||
properties: | ||
type: object | ||
additionalProperties: | ||
anyOf: | ||
- type: string | ||
- type: "null" | ||
title: Properties | ||
propertiesWithHistory: | ||
additionalProperties: | ||
items: | ||
$ref: "#/$defs/History" | ||
type: array | ||
default: {} | ||
title: Propertieswithhistory | ||
type: object | ||
associations: | ||
additionalProperties: false | ||
default: {} | ||
title: Associations | ||
type: object | ||
commerce_payments: | ||
default: [] | ||
items: | ||
type: integer | ||
title: Commerce Payments | ||
type: array | ||
products: | ||
default: [] | ||
items: | ||
type: integer | ||
title: Products | ||
type: array | ||
deals: | ||
default: [] | ||
items: | ||
type: integer | ||
title: Deals | ||
type: array | ||
invoices: | ||
default: [] | ||
items: | ||
type: integer | ||
title: Invoices | ||
type: array | ||
quotes: | ||
default: [] | ||
items: | ||
type: integer | ||
title: Quotes | ||
type: array | ||
subscriptions: | ||
default: [] | ||
items: | ||
type: integer | ||
title: Subscriptions | ||
type: array | ||
required: | ||
- id | ||
- createdAt | ||
- updatedAt | ||
- archived | ||
- properties | ||
title: LineItem | ||
type: object | ||
x-infer-schema: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.