Skip to content
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
3,089 changes: 3,089 additions & 0 deletions .mock/definition/accounting/__package__.yml

Large diffs are not rendered by default.

938 changes: 938 additions & 0 deletions .mock/definition/accounting/expenseReports.yml

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions .mock/definition/accounting/fieldMapping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,22 @@ service:
url_path: /example-url-path
field_traversal_path:
- example_remote_field_key
ExpenseReport:
- id: 3fa85f64-5717-4562-b3fc-2c963f66afa6
is_integration_wide: true
target_field:
name: example_target_field_name
description: this is a example description of a target field
is_organization_wide: true
remote_field:
remote_key_name: example_remote_field_key
schema:
type: string
remote_endpoint_info:
method: GET
url_path: /example-url-path
field_traversal_path:
- example_remote_field_key
TrackingCategory:
- id: 3fa85f64-5717-4562-b3fc-2c963f66afa6
is_integration_wide: true
Expand Down Expand Up @@ -1134,6 +1150,10 @@ service:
- name: example_target_field_name
description: this is a example description of a target field
is_mapped: is_mapped
ExpenseReport:
- name: example_target_field_name
description: this is a example description of a target field
is_mapped: is_mapped
TrackingCategory:
- name: example_target_field_name
description: this is a example description of a target field
Expand Down
4 changes: 4 additions & 0 deletions .mock/definition/accounting/items.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ service:
modified_at: '2021-10-16T00:00:00Z'
name: Pickleball Paddle
status: ACTIVE
type: INVENTORY
unit_price: 10
purchase_price: 25
purchase_account: purchase_account
Expand Down Expand Up @@ -276,6 +277,7 @@ service:
modified_at: '2021-10-16T00:00:00Z'
name: Pickleball Paddle
status: ACTIVE
type: INVENTORY
unit_price: 10
purchase_price: 25
purchase_account: purchase_account
Expand Down Expand Up @@ -367,6 +369,7 @@ service:
modified_at: '2021-10-16T00:00:00Z'
name: Pickleball Paddle
status: ACTIVE
type: INVENTORY
unit_price: 10
purchase_price: 25
purchase_account: purchase_account
Expand Down Expand Up @@ -428,6 +431,7 @@ service:
modified_at: '2021-10-16T00:00:00Z'
name: Pickleball Paddle
status: ACTIVE
type: INVENTORY
unit_price: 10
purchase_price: 25
purchase_account: purchase_account
Expand Down
16 changes: 8 additions & 8 deletions .mock/definition/accounting/payments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -653,15 +653,15 @@ service:
remote_id: '234'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
applied_amount: applied_amount
applied_amount: '25'
applied_date: '2020-03-31T00:00:00Z'
related_object_id: a47e11b6-c73b-4a0c-be31-130fc48177fa
related_object_type: INVOICE
- id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4
remote_id: '235'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
applied_amount: applied_amount
applied_amount: '25'
applied_date: '2020-03-31T00:00:00Z'
related_object_id: 9b96a886-29a5-452b-8733-2a1e03497cf4
related_object_type: CREDIT_NOTE
Expand Down Expand Up @@ -734,15 +734,15 @@ service:
remote_id: '234'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
applied_amount: applied_amount
applied_amount: '25'
applied_date: '2020-03-31T00:00:00Z'
related_object_id: a47e11b6-c73b-4a0c-be31-130fc48177fa
related_object_type: INVOICE
- id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4
remote_id: '235'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
applied_amount: applied_amount
applied_amount: '25'
applied_date: '2020-03-31T00:00:00Z'
related_object_id: 9b96a886-29a5-452b-8733-2a1e03497cf4
related_object_type: CREDIT_NOTE
Expand Down Expand Up @@ -844,15 +844,15 @@ service:
remote_id: '234'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
applied_amount: applied_amount
applied_amount: '25'
applied_date: '2020-03-31T00:00:00Z'
related_object_id: a47e11b6-c73b-4a0c-be31-130fc48177fa
related_object_type: INVOICE
- id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4
remote_id: '235'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
applied_amount: applied_amount
applied_amount: '25'
applied_date: '2020-03-31T00:00:00Z'
related_object_id: 9b96a886-29a5-452b-8733-2a1e03497cf4
related_object_type: CREDIT_NOTE
Expand Down Expand Up @@ -931,15 +931,15 @@ service:
remote_id: '234'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
applied_amount: applied_amount
applied_amount: '25'
applied_date: '2020-03-31T00:00:00Z'
related_object_id: a47e11b6-c73b-4a0c-be31-130fc48177fa
related_object_type: INVOICE
- id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4
remote_id: '235'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
applied_amount: applied_amount
applied_amount: '25'
applied_date: '2020-03-31T00:00:00Z'
related_object_id: 9b96a886-29a5-452b-8733-2a1e03497cf4
related_object_type: CREDIT_NOTE
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mergeapi/merge-node-client",
"version": "2.0.1",
"version": "2.1.0",
"private": false,
"repository": "https://github.com/merge-api/merge-node-client",
"main": "./index.js",
Expand Down
Loading