Skip to content
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
  •  
  •  
  •  
4,545 changes: 3,606 additions & 939 deletions .mock/definition/accounting/__package__.yml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .mock/definition/accounting/accountDetails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ service:
type: root.AccountDetails
status-code: 200
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
response:
body:
id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd
Expand Down
2 changes: 2 additions & 0 deletions .mock/definition/accounting/accountToken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ service:
examples:
- path-parameters:
public_token: public_token
headers:
X-Account-Token: '[object Object]'
response:
body:
account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB
Expand Down
8 changes: 6 additions & 2 deletions .mock/definition/accounting/accountingPeriods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ service:
type: root.PaginatedAccountingPeriodList
status-code: 200
examples:
- headers: {}
- query-parameters:
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
headers:
X-Account-Token: X-Account-Token
response:
body:
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
Expand Down Expand Up @@ -95,7 +98,8 @@ service:
examples:
- path-parameters:
id: id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
id: 3015f7b1-4d01-460d-bfab-02a52d16cbd0
Expand Down
14 changes: 10 additions & 4 deletions .mock/definition/accounting/accounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ service:
type: root.PaginatedAccountList
status-code: 200
examples:
- headers: {}
- query-parameters:
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
headers:
X-Account-Token: X-Account-Token
response:
body:
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
Expand Down Expand Up @@ -185,7 +188,8 @@ service:
type: root.AccountResponse
status-code: 201
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
request:
model: {}
response:
Expand Down Expand Up @@ -280,7 +284,8 @@ service:
examples:
- path-parameters:
id: id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4
Expand Down Expand Up @@ -320,7 +325,8 @@ service:
type: root.MetaResponse
status-code: 200
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
response:
body:
request_schema:
Expand Down
3 changes: 2 additions & 1 deletion .mock/definition/accounting/addresses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ service:
examples:
- path-parameters:
id: id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
created_at: '2021-09-15T00:00:00Z'
Expand Down
6 changes: 4 additions & 2 deletions .mock/definition/accounting/asyncPassthrough.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ service:
type: root.AsyncPassthroughReciept
status-code: 200
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
request:
method: GET
path: /scooters
Expand All @@ -44,7 +45,8 @@ service:
examples:
- path-parameters:
async_passthrough_receipt_id: async_passthrough_receipt_id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
method: GET
Expand Down
3 changes: 2 additions & 1 deletion .mock/definition/accounting/asyncTasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ service:
examples:
- path-parameters:
id: id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
status: QUEUED
Expand Down
14 changes: 10 additions & 4 deletions .mock/definition/accounting/attachments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ service:
type: root.PaginatedAccountingAttachmentList
status-code: 200
examples:
- headers: {}
- query-parameters:
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
headers:
X-Account-Token: X-Account-Token
response:
body:
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
Expand Down Expand Up @@ -120,7 +123,8 @@ service:
type: root.AccountingAttachmentResponse
status-code: 201
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
request:
model: {}
response:
Expand Down Expand Up @@ -193,7 +197,8 @@ service:
examples:
- path-parameters:
id: id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4
Expand Down Expand Up @@ -226,7 +231,8 @@ service:
type: root.MetaResponse
status-code: 200
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
response:
body:
request_schema:
Expand Down
6 changes: 5 additions & 1 deletion .mock/definition/accounting/auditTrail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ service:
type: root.PaginatedAuditLogEventList
status-code: 200
examples:
- response:
- query-parameters:
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
headers:
X-Account-Token: '[object Object]'
response:
body:
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ
Expand Down
3 changes: 2 additions & 1 deletion .mock/definition/accounting/availableActions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ service:
type: root.AvailableActions
status-code: 200
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
response:
body:
integration:
Expand Down
8 changes: 6 additions & 2 deletions .mock/definition/accounting/balanceSheets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ service:
type: root.PaginatedBalanceSheetList
status-code: 200
examples:
- headers: {}
- query-parameters:
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
headers:
X-Account-Token: X-Account-Token
response:
body:
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
Expand Down Expand Up @@ -169,7 +172,8 @@ service:
examples:
- path-parameters:
id: id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46
Expand Down
14 changes: 10 additions & 4 deletions .mock/definition/accounting/bankFeedAccounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ service:
type: root.PaginatedBankFeedAccountList
status-code: 200
examples:
- headers: {}
- query-parameters:
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
headers:
X-Account-Token: X-Account-Token
response:
body:
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
Expand Down Expand Up @@ -96,7 +99,8 @@ service:
type: root.BankFeedAccountResponse
status-code: 201
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
request:
model: {}
response:
Expand Down Expand Up @@ -173,7 +177,8 @@ service:
examples:
- path-parameters:
id: id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
id: b26fd49a-cbae-470a-a8f8-bcbc119e0390
Expand Down Expand Up @@ -210,7 +215,8 @@ service:
type: root.MetaResponse
status-code: 200
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
response:
body:
request_schema:
Expand Down
14 changes: 10 additions & 4 deletions .mock/definition/accounting/bankFeedTransactions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ service:
type: root.PaginatedBankFeedTransactionList
status-code: 200
examples:
- headers: {}
- query-parameters:
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
headers:
X-Account-Token: X-Account-Token
response:
body:
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
Expand Down Expand Up @@ -122,7 +125,8 @@ service:
type: root.BankFeedTransactionResponse
status-code: 201
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
request:
model: {}
response:
Expand Down Expand Up @@ -197,7 +201,8 @@ service:
examples:
- path-parameters:
id: id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
id: b26fd49a-cbae-470a-a8f8-bcbc119e0390
Expand Down Expand Up @@ -227,7 +232,8 @@ service:
type: root.MetaResponse
status-code: 200
examples:
- headers: {}
- headers:
X-Account-Token: X-Account-Token
response:
body:
request_schema:
Expand Down
8 changes: 6 additions & 2 deletions .mock/definition/accounting/cashFlowStatements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ service:
type: root.PaginatedCashFlowStatementList
status-code: 200
examples:
- headers: {}
- query-parameters:
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
headers:
X-Account-Token: X-Account-Token
response:
body:
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
Expand Down Expand Up @@ -170,7 +173,8 @@ service:
examples:
- path-parameters:
id: id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
id: 5b3c1341-a20f-4e51-b72c-f3830a16c97b
Expand Down
16 changes: 8 additions & 8 deletions .mock/definition/accounting/companyInfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ service:
type: root.PaginatedCompanyInfoList
status-code: 200
examples:
- headers: {}
- query-parameters:
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
headers:
X-Account-Token: X-Account-Token
response:
body:
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
Expand All @@ -113,8 +116,7 @@ service:
country: US
zip_code: '10027'
phone_numbers:
- created_at: '2021-09-15T00:00:00Z'
modified_at: '2021-10-16T00:00:00Z'
- phone_numbers
remote_was_deleted: true
field_mappings:
organization_defined_targets:
Expand Down Expand Up @@ -159,7 +161,8 @@ service:
examples:
- path-parameters:
id: id
headers: {}
headers:
X-Account-Token: X-Account-Token
response:
body:
id: 65d8ffd0-211b-4ba4-b85a-fbe2ce220982
Expand Down Expand Up @@ -187,10 +190,7 @@ service:
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
- phone_numbers
remote_was_deleted: true
field_mappings:
organization_defined_targets:
Expand Down
Loading