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
24 changes: 24 additions & 0 deletions .mock/definition/accounting/employees.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ service:
request:
name: EmployeesListRequest
query-parameters:
company_id:
type: optional<string>
docs: If provided, will only return employees for this company.
created_after:
type: optional<datetime>
docs: If provided, will only return objects created after this datetime.
created_before:
type: optional<datetime>
docs: >-
If provided, will only return objects created before this
datetime.
cursor:
type: optional<string>
docs: The pagination cursor value.
Expand All @@ -40,9 +51,22 @@ service:
docs: >-
Whether to include shell records. Shell records are empty records
(they may contain some metadata but all other fields are null).
modified_after:
type: optional<datetime>
docs: >-
If provided, only objects synced by Merge after this date time
will be returned.
modified_before:
type: optional<datetime>
docs: >-
If provided, only objects synced by Merge before this date time
will be returned.
page_size:
type: optional<integer>
docs: Number of results to return per page.
remote_id:
type: optional<string>
docs: The API provider's ID for the given object.
response:
docs: ''
type: root.PaginatedEmployeeList
Expand Down
24 changes: 24 additions & 0 deletions .mock/definition/accounting/projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ service:
request:
name: ProjectsListRequest
query-parameters:
company_id:
type: optional<string>
docs: If provided, will only return projects for this company.
created_after:
type: optional<datetime>
docs: If provided, will only return objects created after this datetime.
created_before:
type: optional<datetime>
docs: >-
If provided, will only return objects created before this
datetime.
cursor:
type: optional<string>
docs: The pagination cursor value.
Expand All @@ -57,9 +68,22 @@ service:
docs: >-
Whether to include shell records. Shell records are empty records
(they may contain some metadata but all other fields are null).
modified_after:
type: optional<datetime>
docs: >-
If provided, only objects synced by Merge after this date time
will be returned.
modified_before:
type: optional<datetime>
docs: >-
If provided, only objects synced by Merge before this date time
will be returned.
page_size:
type: optional<integer>
docs: Number of results to return per page.
remote_id:
type: optional<string>
docs: The API provider's ID for the given object.
response:
docs: ''
type: root.PaginatedProjectList
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.0",
"version": "2.0.1",
"private": false,
"repository": "https://github.com/merge-api/merge-node-client",
"main": "./index.js",
Expand Down
Loading