-
Notifications
You must be signed in to change notification settings - Fork 1
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
FYLE-2891ty8 #164
Closed
Closed
FYLE-2891ty8 #164
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
4ee3241
initial commit
Kulsekar4 6556676
minor change
Kulsekar4 3ad50c4
Merge branch 'main' into FYLE-2891ty8
Kulsekar4 8d28905
minor change
Kulsekar4 c45e5fb
resolved comment
Kulsekar4 cb3aa16
resolved minor issue
Kulsekar4 476ed64
resolved self comment
Kulsekar4 4b58237
resolved comment
Kulsekar4 ebb1a15
Merge branch 'main' into FYLE-2891ty8
Kulsekar4 2ee63fe
resolved comment
Kulsekar4 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
get: | ||
tags: | ||
- Statement mappings | ||
summary: List of statement mappings | ||
description: | | ||
This API supports very rich filtering on all response fields and pagination via query parameters. To understand how to use these parameters, please see the [Guide to Data APIs](https://docs.fylehq.com/docs/fyle-platform-docs/ZG9jOjI3Mzk2NTM3-guide-to-data-ap-is#filtering) | ||
operationId: statement_mappings_list | ||
parameters: | ||
- $ref: '../../components/parameters/created_at.yaml' | ||
- $ref: '../../components/parameters/updated_at.yaml' | ||
- $ref: '../../components/parameters/order.yaml' | ||
- $ref: '../../components/parameters/offset.yaml' | ||
- $ref: '../../components/parameters/limit.yaml' | ||
responses: | ||
'200': | ||
description: OK | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
count: | ||
$ref: '../../components/schemas/count.yaml' | ||
offset: | ||
$ref: '../../components/schemas/offset.yaml' | ||
data: | ||
type: array | ||
items: | ||
$ref: '../../components/schemas/statement_mappings.yaml#/statement_mappings_out' | ||
'401': | ||
description: Unauthorized request | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../components/schemas/401.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
statement_mappings_out: | ||
type: object | ||
additionalProperties: False | ||
properties: | ||
id: | ||
allOf: | ||
- $ref: './fields.yaml#/id_string' | ||
example: stmpwownwrng | ||
org_id: | ||
$ref: './fields.yaml#/org_id' | ||
created_at: | ||
$ref: './fields.yaml#/created_at' | ||
updated_at: | ||
$ref: './fields.yaml#/updated_at' | ||
bank_name: | ||
type: string | ||
description: | | ||
Specifies the bank name of the statement. | ||
example: American Express | ||
is_debit_positive: | ||
type: boolean | ||
description: | | ||
Specifies the representation of the the amount in the statement, if true then the amount represented by | ||
negative sign are credits, and if false then the amount represented by negative sign are debits. | ||
example: true | ||
transaction_date_column: | ||
type: string | ||
description: | | ||
Specifies the header name of the transaction date column in the statement. | ||
example: spent date | ||
vendor_column: | ||
type: string | ||
description: | | ||
Specifies the header name of the vendor column in the statement. | ||
example: merchant | ||
transaction_id_column: | ||
type: string | ||
description: | | ||
Specifies the header name of the transaction id / unique id column in the statement. | ||
nullable: true | ||
example: reference number | ||
amount_column: | ||
type: string | ||
description: | | ||
Specifies the header name of the amount column in the statement. | ||
example: amount | ||
name: | ||
type: string | ||
description: | | ||
Specifies the mapping name. | ||
example: amex_mapping | ||
card_number_column: | ||
type: string | ||
description: | | ||
Specifies the header name of the card number column in the statement. | ||
example: account number | ||
foreign_amount_column: | ||
type: string | ||
description: | | ||
Specifies the header name of the foreign amount column in the statement. | ||
nullable: true | ||
example: foreign amount | ||
foreign_currency_column: | ||
type: string | ||
description: | | ||
Specifies the header name of the foreign currency column in the statement. | ||
nullable: true | ||
example: foreign currency | ||
description_column: | ||
type: string | ||
description: | | ||
Specifies the header name of the description column in the statement. | ||
nullable: true | ||
example: description | ||
is_auto_created: | ||
type: boolean | ||
description: | | ||
Specifies if the statement mapping got auto created or not. | ||
nullable: false | ||
example: description | ||
required: | ||
- id | ||
- org_id | ||
- created_at | ||
- updated_at | ||
- bank_name | ||
- is_debit_positive | ||
- transaction_date_column | ||
- transaction_id_column | ||
- amount_column | ||
- name | ||
- card_number_column | ||
- vendor_column | ||
- foreign_amount_column | ||
- foreign_currency_column | ||
- description_column | ||
- is_auto_created |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this