Skip to content

🌿 Fern Regeneration -- June 12, 2025 #37

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

Closed
wants to merge 1 commit into from
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32,654 changes: 32,654 additions & 0 deletions .mock/definition/accounting/__package__.yml

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions .mock/definition/accounting/accountDetails.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
imports:
root: __package__.yml
service:
auth: false
base-path: ''
endpoints:
retrieve:
path: /accounting/v1/account-details
method: GET
auth: true
docs: Get details for a linked account.
source:
openapi: openapi/openapi.yml
response:
docs: ''
type: root.AccountDetails
status-code: 200
examples:
- headers: {}
response:
body:
id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd
integration: BambooHR
integration_slug: bamboohr
category: hris
end_user_origin_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6
end_user_organization_name: Waystar Royco
end_user_email_address: [email protected]
status: COMPLETE
webhook_listener_url: >-
https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4
is_duplicate: true
account_type: PRODUCTION
completed_at: '2024-08-26T20:11:19Z'
source:
openapi: openapi/openapi.yml
44 changes: 44 additions & 0 deletions .mock/definition/accounting/accountToken.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
imports:
root: __package__.yml
service:
auth: false
base-path: ''
endpoints:
retrieve:
path: /accounting/v1/account-token/{public_token}
method: GET
auth: true
docs: >-
Returns the account token for the end user with the provided public
token.
source:
openapi: openapi/openapi.yml
path-parameters:
public_token: string
response:
docs: ''
type: root.AccountToken
status-code: 200
examples:
- path-parameters:
public_token: public_token
response:
body:
account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB
integration:
name: name
abbreviated_name: abbreviated_name
categories:
- hris
image: image
square_image: square_image
color: color
slug: slug
api_endpoints_to_documentation_urls:
key: value
webhook_setup_guide_url: webhook_setup_guide_url
category_beta_status:
key: value
id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd
source:
openapi: openapi/openapi.yml
119 changes: 119 additions & 0 deletions .mock/definition/accounting/accountingPeriods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
imports:
root: __package__.yml
service:
auth: false
base-path: ''
endpoints:
list:
path: /accounting/v1/accounting-periods
method: GET
auth: true
docs: Returns a list of `AccountingPeriod` objects.
source:
openapi: openapi/openapi.yml
request:
name: AccountingPeriodsListRequest
query-parameters:
cursor:
type: optional<string>
docs: The pagination cursor value.
include_deleted_data:
type: optional<boolean>
docs: >-
Indicates whether or not this object has been deleted in the third
party platform. Full coverage deletion detection is a premium
add-on. Native deletion detection is offered for free with limited
coverage. [Learn
more](https://docs.merge.dev/integrations/hris/supported-features/).
include_remote_data:
type: optional<boolean>
docs: >-
Whether to include the original data Merge fetched from the
third-party to produce these models.
include_shell_data:
type: optional<boolean>
docs: >-
Whether to include shell records. Shell records are empty records
(they may contain some metadata but all other fields are null).
page_size:
type: optional<integer>
docs: Number of results to return per page.
response:
docs: ''
type: root.PaginatedAccountingPeriodList
status-code: 200
examples:
- headers: {}
response:
body:
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ
results:
- id: 3015f7b1-4d01-460d-bfab-02a52d16cbd0
remote_id: '2804580'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
name: April 2020 Financials
status: ACTIVE
start_date: '2020-03-31T00:00:00Z'
end_date: '2020-05-01T00:00:00Z'
field_mappings:
organization_defined_targets:
custom_key: custom_value
linked_account_defined_targets:
custom_key: custom_value
remote_data:
- path: /actions
data:
- Varies by platform
retrieve:
path: /accounting/v1/accounting-periods/{id}
method: GET
auth: true
docs: Returns an `AccountingPeriod` object with the given `id`.
source:
openapi: openapi/openapi.yml
path-parameters:
id: string
request:
name: AccountingPeriodsRetrieveRequest
query-parameters:
include_remote_data:
type: optional<boolean>
docs: >-
Whether to include the original data Merge fetched from the
third-party to produce these models.
include_shell_data:
type: optional<boolean>
docs: >-
Whether to include shell records. Shell records are empty records
(they may contain some metadata but all other fields are null).
response:
docs: ''
type: root.AccountingPeriod
status-code: 200
examples:
- path-parameters:
id: id
headers: {}
response:
body:
id: 3015f7b1-4d01-460d-bfab-02a52d16cbd0
remote_id: '2804580'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
name: April 2020 Financials
status: ACTIVE
start_date: '2020-03-31T00:00:00Z'
end_date: '2020-05-01T00:00:00Z'
field_mappings:
organization_defined_targets:
custom_key: custom_value
linked_account_defined_targets:
custom_key: custom_value
remote_data:
- path: /actions
data:
- Varies by platform
source:
openapi: openapi/openapi.yml
Loading