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
4 changes: 4 additions & 0 deletions .mock/definition/accounting/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3663,6 +3663,7 @@ types:
docs: The address's city.
state:
type: optional<unknown>
docs: The address's state or region.
access: read-only
country_subdivision:
type: optional<string>
Expand Down Expand Up @@ -51606,6 +51607,9 @@ types:
docs: The third-party API path that is being called.
data:
type: optional<unknown>
docs: >-
The data returned from the third-party for this object in its
original, unnormalized format.
access: read-only
source:
openapi: openapi/openapi.yml
Expand Down
3 changes: 1 addition & 2 deletions .mock/definition/accounting/addresses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ service:
street_1: 2920 Broadway
street_2: 2nd Floor
city: New York
state:
key: value
state: NY
country_subdivision: NY
country: AF
zip_code: '10027'
Expand Down
6 changes: 5 additions & 1 deletion .mock/definition/accounting/asyncPassthrough.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ service:
path: /scooters
status: 200
response:
key: value
scooters:
- company: Lime
model: Gen 2.5
- company: Bird
model: Bird Zero
response_headers:
X-Page-Token: value
response_type: JSON
Expand Down
7 changes: 6 additions & 1 deletion .mock/definition/accounting/balanceSheets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ service:
- remote_id: '10301'
name: Revenue - New York
value: 500
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
liabilities:
- remote_id: '10011'
created_at: '2021-09-15T00:00:00Z'
Expand All @@ -128,6 +129,7 @@ service:
- remote_id: '10301'
name: Revenue - New York
value: 500
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
equity:
- remote_id: '10012'
created_at: '2021-09-15T00:00:00Z'
Expand All @@ -141,6 +143,7 @@ service:
- remote_id: '10301'
name: Revenue - New York
value: 500
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
remote_generated_at: '2021-10-01T00:00:00Z'
remote_was_deleted: true
field_mappings:
Expand All @@ -150,6 +153,8 @@ service:
custom_key: custom_value
remote_data:
- path: /platform-endpoint
data:
- Varies by platform
retrieve:
path: /accounting/v1/balance-sheets/{id}
method: GET
Expand Down Expand Up @@ -257,6 +262,6 @@ service:
remote_data:
- path: /platform-endpoint
data:
key: value
- Varies by platform
source:
openapi: openapi/openapi.yml
5 changes: 5 additions & 0 deletions .mock/definition/accounting/cashFlowStatements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ service:
modified_at: '2021-09-18T00:00:00Z'
name: Net Income
value: 1097.13
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
investing_activities:
- remote_id: '192406939'
created_at: '2021-11-15T00:00:00Z'
Expand All @@ -129,17 +130,21 @@ service:
modified_at: '2021-09-18T00:00:00Z'
name: Equipment
value: 1000
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
financing_activities:
- remote_id: '192406939'
created_at: '2021-11-15T00:00:00Z'
modified_at: '2021-11-15T00:00:00Z'
name: Revenue
value: 1000
sub_items:
- remote_id: '10300'
name: Revenue - San Francisco
value: 500
- remote_id: '10301'
name: Revenue - New York
value: 500
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
remote_generated_at: '2020-04-01T00:00:00Z'
remote_was_deleted: true
field_mappings:
Expand Down
3 changes: 3 additions & 0 deletions .mock/definition/accounting/companyInfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,14 @@ service:
street_2: 2nd Floor
city: New York
state: NY
country_subdivision: NY
country: US
zip_code: '10027'
phone_numbers:
- created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
number: '+3198675309'
type: Mobile
remote_was_deleted: true
field_mappings:
organization_defined_targets:
Expand Down
6 changes: 4 additions & 2 deletions .mock/definition/accounting/contacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ service:
- Varies by platform
remote_fields:
- remote_field_class: remote_field_class
value: string
create:
path: /accounting/v1/contacts
method: POST
Expand Down Expand Up @@ -278,6 +279,7 @@ service:
- Varies by platform
remote_fields:
- remote_field_class: remote_field_class
value: string
warnings:
- source:
pointer: pointer
Expand Down Expand Up @@ -392,8 +394,7 @@ service:
- Varies by platform
remote_fields:
- remote_field_class: remote_field_class
value:
key: value
value: string
partialUpdate:
path: /accounting/v1/contacts/{id}
method: PATCH
Expand Down Expand Up @@ -469,6 +470,7 @@ service:
- Varies by platform
remote_fields:
- remote_field_class: remote_field_class
value: string
warnings:
- source:
pointer: pointer
Expand Down
6 changes: 4 additions & 2 deletions .mock/definition/accounting/creditNotes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,8 @@ service:
- a9a94a75-19c1-41fe-90d8-d9ba959c38e5
accounting_period: accounting_period
applied_to_lines:
- created_at: '2021-09-15T00:00:00Z'
- remote_id: '088899'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
invoice: 5b3c1341-a20f-4e51-b72c-f3830a16c97b
applied_date: '2020-03-31T00:00:00Z'
Expand Down Expand Up @@ -833,7 +834,8 @@ service:
- a9a94a75-19c1-41fe-90d8-d9ba959c38e5
accounting_period: accounting_period
applied_to_lines:
- created_at: '2021-09-15T00:00:00Z'
- remote_id: '088899'
created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
invoice: 5b3c1341-a20f-4e51-b72c-f3830a16c97b
applied_date: '2020-03-31T00:00:00Z'
Expand Down
7 changes: 5 additions & 2 deletions .mock/definition/accounting/expenseReports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ service:
- Varies by platform
remote_fields:
- remote_field_class: remote_field_class
value: string
create:
path: /accounting/v1/expense-reports
method: POST
Expand Down Expand Up @@ -433,6 +434,7 @@ service:
- Varies by platform
remote_fields:
- remote_field_class: remote_field_class
value: string
warnings:
- source:
pointer: pointer
Expand Down Expand Up @@ -551,6 +553,7 @@ service:
remote_was_deleted: true
remote_fields:
- remote_field_class: remote_field_class
value: string
retrieve:
path: /accounting/v1/expense-reports/{id}
method: GET
Expand Down Expand Up @@ -637,6 +640,7 @@ service:
remote_was_deleted: false
remote_fields:
- remote_field_class: remote_field_class
value: string
currency: XUA
description: January 2024 Travel Expenses
accounting_period: 7d793c67-9f72-4a6b-9256-3936f237b0d9
Expand All @@ -656,8 +660,7 @@ service:
- Varies by platform
remote_fields:
- remote_field_class: remote_field_class
value:
key: value
value: string
linesRemoteFieldClassesList:
path: /accounting/v1/expense-reports/lines/remote-field-classes
method: GET
Expand Down
11 changes: 9 additions & 2 deletions .mock/definition/accounting/expenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,11 @@ service:
- b38c59b0-a9d7-4740-b1ee-5436c6751e3d
- 9b840d2-686a-465a-8a8e-7b028498f8e4
- a47e11b6-c73b-4a0c-be31-130fc48177fa
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
account: 2a56344a-a491-11ec-b909-0242ac120002
description: Desk Lamp
exchange_rate: '2.9'
tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384
tracking_categories:
- b38c59b0-a9d7-4740-b1ee-5436c6751e3d
- 9b840d2-686a-465a-8a8e-7b028498f8e4
Expand All @@ -424,6 +427,7 @@ service:
- Varies by platform
remote_fields:
- remote_field_class: remote_field_class
value: string
create:
path: /accounting/v1/expenses
method: POST
Expand Down Expand Up @@ -509,8 +513,11 @@ service:
- b38c59b0-a9d7-4740-b1ee-5436c6751e3d
- 9b840d2-686a-465a-8a8e-7b028498f8e4
- a47e11b6-c73b-4a0c-be31-130fc48177fa
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
account: 2a56344a-a491-11ec-b909-0242ac120002
description: Desk Lamp
exchange_rate: '2.9'
tax_rate: a12e7c20-1922-9df7-s75n-edfeewnn7384
tracking_categories:
- b38c59b0-a9d7-4740-b1ee-5436c6751e3d
- 9b840d2-686a-465a-8a8e-7b028498f8e4
Expand All @@ -528,6 +535,7 @@ service:
- Varies by platform
remote_fields:
- remote_field_class: remote_field_class
value: string
warnings:
- source:
pointer: pointer
Expand Down Expand Up @@ -672,8 +680,7 @@ service:
- Varies by platform
remote_fields:
- remote_field_class: remote_field_class
value:
key: value
value: string
linesRemoteFieldClassesList:
path: /accounting/v1/expenses/lines/remote-field-classes
method: GET
Expand Down
9 changes: 8 additions & 1 deletion .mock/definition/accounting/generalLedgerTransactions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@ service:
foreign_debit_amount: foreign_debit_amount
foreign_credit_amount: foreign_credit_amount
remote_was_deleted: false
field_mappings:
organization_defined_targets:
custom_key: custom_value
linked_account_defined_targets:
custom_key: custom_value
remote_was_deleted: true
field_mappings:
organization_defined_targets:
Expand All @@ -211,6 +216,8 @@ service:
custom_key: custom_value
remote_data:
- path: /platform-endpoint
data:
- Varies by platform
retrieve:
path: /accounting/v1/general-ledger-transactions/{id}
method: GET
Expand Down Expand Up @@ -307,6 +314,6 @@ service:
remote_data:
- path: /platform-endpoint
data:
key: value
- Varies by platform
source:
openapi: openapi/openapi.yml
4 changes: 4 additions & 0 deletions .mock/definition/accounting/incomeStatements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ service:
- remote_id: '10201'
name: Pest Control Services
value: -100
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
cost_of_sales:
- remote_id: '10299'
created_at: '2021-09-15T00:00:00Z'
Expand All @@ -125,6 +126,7 @@ service:
- remote_id: '10200'
name: Supplies
value: 10
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
gross_profit: 300
operating_expenses:
- remote_id: '10299'
Expand All @@ -139,6 +141,7 @@ service:
- remote_id: '10301'
name: Revenue - New York
value: 500
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
net_operating_income: 200
non_operating_expenses:
- remote_id: '10299'
Expand All @@ -153,6 +156,7 @@ service:
- remote_id: '10301'
name: Revenue - New York
value: 500
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
net_income: 100
remote_was_deleted: true
field_mappings:
Expand Down
Loading