airbyte-source-kyriba 0.1.1__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. airbyte_source_kyriba-0.1.4/PKG-INFO +124 -0
  2. airbyte_source_kyriba-0.1.4/README.md +104 -0
  3. airbyte_source_kyriba-0.1.4/pyproject.toml +33 -0
  4. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/schemas/accounts.json +76 -0
  5. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/schemas/bank_balances_eod.json +9 -0
  6. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/schemas/bank_balances_intraday.json +9 -0
  7. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/schemas/cash_balances_eod.json +16 -0
  8. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/schemas/cash_balances_intraday.json +9 -0
  9. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/schemas/cash_flows.json +13 -0
  10. airbyte-source-kyriba-0.1.1/PKG-INFO +0 -142
  11. airbyte-source-kyriba-0.1.1/README.md +0 -150
  12. airbyte-source-kyriba-0.1.1/airbyte_source_kyriba.egg-info/PKG-INFO +0 -142
  13. airbyte-source-kyriba-0.1.1/airbyte_source_kyriba.egg-info/SOURCES.txt +0 -35
  14. airbyte-source-kyriba-0.1.1/airbyte_source_kyriba.egg-info/dependency_links.txt +0 -1
  15. airbyte-source-kyriba-0.1.1/airbyte_source_kyriba.egg-info/entry_points.txt +0 -2
  16. airbyte-source-kyriba-0.1.1/airbyte_source_kyriba.egg-info/requires.txt +0 -6
  17. airbyte-source-kyriba-0.1.1/airbyte_source_kyriba.egg-info/top_level.txt +0 -3
  18. airbyte-source-kyriba-0.1.1/integration_tests/__init__.py +0 -3
  19. airbyte-source-kyriba-0.1.1/integration_tests/abnormal_state.json +0 -1
  20. airbyte-source-kyriba-0.1.1/integration_tests/acceptance.py +0 -16
  21. airbyte-source-kyriba-0.1.1/integration_tests/configured_catalog.json +0 -74
  22. airbyte-source-kyriba-0.1.1/integration_tests/invalid_config.json +0 -7
  23. airbyte-source-kyriba-0.1.1/integration_tests/sample_config.json +0 -7
  24. airbyte-source-kyriba-0.1.1/integration_tests/sample_state.json +0 -1
  25. airbyte-source-kyriba-0.1.1/setup.cfg +0 -140
  26. airbyte-source-kyriba-0.1.1/setup.py +0 -43
  27. airbyte-source-kyriba-0.1.1/unit_tests/__init__.py +0 -3
  28. airbyte-source-kyriba-0.1.1/unit_tests/test_account_sub_stream.py +0 -37
  29. airbyte-source-kyriba-0.1.1/unit_tests/test_bank_balances_stream.py +0 -71
  30. airbyte-source-kyriba-0.1.1/unit_tests/test_cash_balances_stream.py +0 -77
  31. airbyte-source-kyriba-0.1.1/unit_tests/test_cash_flows.py +0 -100
  32. airbyte-source-kyriba-0.1.1/unit_tests/test_incremental_streams.py +0 -72
  33. airbyte-source-kyriba-0.1.1/unit_tests/test_source.py +0 -27
  34. airbyte-source-kyriba-0.1.1/unit_tests/test_streams.py +0 -121
  35. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/__init__.py +0 -0
  36. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/run.py +0 -0
  37. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/schemas/shared/_definitions.json +0 -0
  38. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/source.py +0 -0
  39. {airbyte-source-kyriba-0.1.1 → airbyte_source_kyriba-0.1.4}/source_kyriba/spec.json +0 -0
@@ -0,0 +1,124 @@
1
+ Metadata-Version: 2.1
2
+ Name: airbyte-source-kyriba
3
+ Version: 0.1.4
4
+ Summary: Source implementation for Kyriba.
5
+ Home-page: https://airbyte.com
6
+ License: MIT
7
+ Author: Airbyte
8
+ Author-email: contact@airbyte.io
9
+ Requires-Python: >=3.9,<3.12
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Requires-Dist: airbyte-cdk (==0.80.0)
16
+ Project-URL: Documentation, https://docs.airbyte.com/integrations/sources/kyriba
17
+ Project-URL: Repository, https://github.com/airbytehq/airbyte
18
+ Description-Content-Type: text/markdown
19
+
20
+ # Kyriba source connector
21
+
22
+ This is the repository for the Kyriba source connector, written in Python.
23
+ For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/kyriba).
24
+
25
+ ## Local development
26
+
27
+ ### Prerequisites
28
+
29
+ - Python (~=3.9)
30
+ - Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
31
+
32
+ ### Installing the connector
33
+
34
+ From this connector directory, run:
35
+
36
+ ```bash
37
+ poetry install --with dev
38
+ ```
39
+
40
+ ### Create credentials
41
+
42
+ **If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/kyriba)
43
+ to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_kyriba/spec.yaml` file.
44
+ Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
45
+ See `sample_files/sample_config.json` for a sample config file.
46
+
47
+ ### Locally running the connector
48
+
49
+ ```
50
+ poetry run source-kyriba spec
51
+ poetry run source-kyriba check --config secrets/config.json
52
+ poetry run source-kyriba discover --config secrets/config.json
53
+ poetry run source-kyriba read --config secrets/config.json --catalog sample_files/configured_catalog.json
54
+ ```
55
+
56
+ ### Running unit tests
57
+
58
+ To run unit tests locally, from the connector directory run:
59
+
60
+ ```
61
+ poetry run pytest unit_tests
62
+ ```
63
+
64
+ ### Building the docker image
65
+
66
+ 1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
67
+ 2. Run the following command to build the docker image:
68
+
69
+ ```bash
70
+ airbyte-ci connectors --name=source-kyriba build
71
+ ```
72
+
73
+ An image will be available on your host with the tag `airbyte/source-kyriba:dev`.
74
+
75
+ ### Running as a docker container
76
+
77
+ Then run any of the connector commands as follows:
78
+
79
+ ```
80
+ docker run --rm airbyte/source-kyriba:dev spec
81
+ docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-kyriba:dev check --config /secrets/config.json
82
+ docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-kyriba:dev discover --config /secrets/config.json
83
+ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-kyriba:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
84
+ ```
85
+
86
+ ### Running our CI test suite
87
+
88
+ You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
89
+
90
+ ```bash
91
+ airbyte-ci connectors --name=source-kyriba test
92
+ ```
93
+
94
+ ### Customizing acceptance Tests
95
+
96
+ Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information.
97
+ If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
98
+
99
+ ### Dependency Management
100
+
101
+ All of your dependencies should be managed via Poetry.
102
+ To add a new dependency, run:
103
+
104
+ ```bash
105
+ poetry add <package-name>
106
+ ```
107
+
108
+ Please commit the changes to `pyproject.toml` and `poetry.lock` files.
109
+
110
+ ## Publishing a new version of the connector
111
+
112
+ You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
113
+
114
+ 1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-kyriba test`
115
+ 2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
116
+ - bump the `dockerImageTag` value in in `metadata.yaml`
117
+ - bump the `version` value in `pyproject.toml`
118
+ 3. Make sure the `metadata.yaml` content is up to date.
119
+ 4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/kyriba.md`).
120
+ 5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
121
+ 6. Pat yourself on the back for being an awesome contributor.
122
+ 7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
123
+ 8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
124
+
@@ -0,0 +1,104 @@
1
+ # Kyriba source connector
2
+
3
+ This is the repository for the Kyriba source connector, written in Python.
4
+ For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/kyriba).
5
+
6
+ ## Local development
7
+
8
+ ### Prerequisites
9
+
10
+ - Python (~=3.9)
11
+ - Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
12
+
13
+ ### Installing the connector
14
+
15
+ From this connector directory, run:
16
+
17
+ ```bash
18
+ poetry install --with dev
19
+ ```
20
+
21
+ ### Create credentials
22
+
23
+ **If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/kyriba)
24
+ to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_kyriba/spec.yaml` file.
25
+ Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
26
+ See `sample_files/sample_config.json` for a sample config file.
27
+
28
+ ### Locally running the connector
29
+
30
+ ```
31
+ poetry run source-kyriba spec
32
+ poetry run source-kyriba check --config secrets/config.json
33
+ poetry run source-kyriba discover --config secrets/config.json
34
+ poetry run source-kyriba read --config secrets/config.json --catalog sample_files/configured_catalog.json
35
+ ```
36
+
37
+ ### Running unit tests
38
+
39
+ To run unit tests locally, from the connector directory run:
40
+
41
+ ```
42
+ poetry run pytest unit_tests
43
+ ```
44
+
45
+ ### Building the docker image
46
+
47
+ 1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
48
+ 2. Run the following command to build the docker image:
49
+
50
+ ```bash
51
+ airbyte-ci connectors --name=source-kyriba build
52
+ ```
53
+
54
+ An image will be available on your host with the tag `airbyte/source-kyriba:dev`.
55
+
56
+ ### Running as a docker container
57
+
58
+ Then run any of the connector commands as follows:
59
+
60
+ ```
61
+ docker run --rm airbyte/source-kyriba:dev spec
62
+ docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-kyriba:dev check --config /secrets/config.json
63
+ docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-kyriba:dev discover --config /secrets/config.json
64
+ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-kyriba:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
65
+ ```
66
+
67
+ ### Running our CI test suite
68
+
69
+ You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
70
+
71
+ ```bash
72
+ airbyte-ci connectors --name=source-kyriba test
73
+ ```
74
+
75
+ ### Customizing acceptance Tests
76
+
77
+ Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information.
78
+ If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
79
+
80
+ ### Dependency Management
81
+
82
+ All of your dependencies should be managed via Poetry.
83
+ To add a new dependency, run:
84
+
85
+ ```bash
86
+ poetry add <package-name>
87
+ ```
88
+
89
+ Please commit the changes to `pyproject.toml` and `poetry.lock` files.
90
+
91
+ ## Publishing a new version of the connector
92
+
93
+ You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
94
+
95
+ 1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-kyriba test`
96
+ 2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
97
+ - bump the `dockerImageTag` value in in `metadata.yaml`
98
+ - bump the `version` value in `pyproject.toml`
99
+ 3. Make sure the `metadata.yaml` content is up to date.
100
+ 4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/kyriba.md`).
101
+ 5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
102
+ 6. Pat yourself on the back for being an awesome contributor.
103
+ 7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
104
+ 8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
@@ -0,0 +1,33 @@
1
+ [build-system]
2
+ requires = [
3
+ "poetry-core>=1.0.0",
4
+ ]
5
+ build-backend = "poetry.core.masonry.api"
6
+
7
+ [tool.poetry]
8
+ version = "0.1.4"
9
+ name = "airbyte-source-kyriba"
10
+ description = "Source implementation for Kyriba."
11
+ authors = [
12
+ "Airbyte <contact@airbyte.io>",
13
+ ]
14
+ license = "MIT"
15
+ readme = "README.md"
16
+ documentation = "https://docs.airbyte.com/integrations/sources/kyriba"
17
+ homepage = "https://airbyte.com"
18
+ repository = "https://github.com/airbytehq/airbyte"
19
+ packages = [
20
+ { include = "source_kyriba" },
21
+ ]
22
+
23
+ [tool.poetry.dependencies]
24
+ python = "^3.9,<3.12"
25
+ airbyte-cdk = "0.80.0"
26
+
27
+ [tool.poetry.scripts]
28
+ source-kyriba = "source_kyriba.run:run"
29
+
30
+ [tool.poetry.group.dev.dependencies]
31
+ pytest = "^6.1"
32
+ requests-mock = "^1.9.3"
33
+ pytest-mock = "^3.6.1"
@@ -5,265 +5,341 @@
5
5
  "$schema": "http://json-schema.org/schema#",
6
6
  "properties": {
7
7
  "accountCategory1": {
8
+ "description": "Represents account category 1 data",
8
9
  "type": ["object", "null"],
9
10
  "properties": {
10
11
  "code": {
12
+ "description": "Code for the first account category",
11
13
  "type": ["null", "string"]
12
14
  },
13
15
  "uuid": {
16
+ "description": "UUID for the first account category",
14
17
  "type": ["null", "string"]
15
18
  }
16
19
  }
17
20
  },
18
21
  "accountCategory2": {
22
+ "description": "Represents account category 2 data",
19
23
  "type": ["object", "null"],
20
24
  "properties": {
21
25
  "code": {
26
+ "description": "Code for the second account category",
22
27
  "type": ["null", "string"]
23
28
  },
24
29
  "uuid": {
30
+ "description": "UUID for the second account category",
25
31
  "type": ["null", "string"]
26
32
  }
27
33
  }
28
34
  },
29
35
  "accountCategory3": {
36
+ "description": "Represents account category 3 data",
30
37
  "type": ["object", "null"],
31
38
  "properties": {
32
39
  "code": {
40
+ "description": "Code for the third account category",
33
41
  "type": ["null", "string"]
34
42
  },
35
43
  "uuid": {
44
+ "description": "UUID for the third account category",
36
45
  "type": ["null", "string"]
37
46
  }
38
47
  }
39
48
  },
40
49
  "accountCategory4": {
50
+ "description": "Represents account category 4 data",
41
51
  "type": ["object", "null"],
42
52
  "properties": {
43
53
  "code": {
54
+ "description": "Code for the fourth account category",
44
55
  "type": ["null", "string"]
45
56
  },
46
57
  "uuid": {
58
+ "description": "UUID for the fourth account category",
47
59
  "type": ["null", "string"]
48
60
  }
49
61
  }
50
62
  },
51
63
  "accountCategory5": {
64
+ "description": "Represents account category 5 data",
52
65
  "type": ["object", "null"],
53
66
  "properties": {
54
67
  "code": {
68
+ "description": "Code for the fifth account category",
55
69
  "type": ["null", "string"]
56
70
  },
57
71
  "uuid": {
72
+ "description": "UUID for the fifth account category",
58
73
  "type": ["null", "string"]
59
74
  }
60
75
  }
61
76
  },
62
77
  "accountCategory6": {
78
+ "description": "Represents account category 6 data",
63
79
  "type": ["object", "null"],
64
80
  "properties": {
65
81
  "code": {
82
+ "description": "Code for the sixth account category",
66
83
  "type": ["null", "string"]
67
84
  },
68
85
  "uuid": {
86
+ "description": "UUID for the sixth account category",
69
87
  "type": ["null", "string"]
70
88
  }
71
89
  }
72
90
  },
73
91
  "accountCategory7": {
92
+ "description": "Represents account category 7 data",
74
93
  "type": ["object", "null"],
75
94
  "properties": {
76
95
  "code": {
96
+ "description": "Code for the seventh account category",
77
97
  "type": ["null", "string"]
78
98
  },
79
99
  "uuid": {
100
+ "description": "UUID for the seventh account category",
80
101
  "type": ["null", "string"]
81
102
  }
82
103
  }
83
104
  },
84
105
  "accountCategory8": {
106
+ "description": "Represents account category 8 data",
85
107
  "type": ["object", "null"],
86
108
  "properties": {
87
109
  "code": {
110
+ "description": "Code for the eighth account category",
88
111
  "type": ["null", "string"]
89
112
  },
90
113
  "uuid": {
114
+ "description": "UUID for the eighth account category",
91
115
  "type": ["null", "string"]
92
116
  }
93
117
  }
94
118
  },
95
119
  "accountCategory9": {
120
+ "description": "Represents account category 9 data",
96
121
  "type": ["object", "null"],
97
122
  "properties": {
98
123
  "code": {
124
+ "description": "Code for the ninth account category",
99
125
  "type": ["null", "string"]
100
126
  },
101
127
  "uuid": {
128
+ "description": "UUID for the ninth account category",
102
129
  "type": ["null", "string"]
103
130
  }
104
131
  }
105
132
  },
106
133
  "accountCategory10": {
134
+ "description": "Represents account category 10 data",
107
135
  "type": ["object", "null"],
108
136
  "properties": {
109
137
  "code": {
138
+ "description": "Code for the tenth account category",
110
139
  "type": ["null", "string"]
111
140
  },
112
141
  "uuid": {
142
+ "description": "UUID for the tenth account category",
113
143
  "type": ["null", "string"]
114
144
  }
115
145
  }
116
146
  },
117
147
  "accountAvailableForPayments": {
148
+ "description": "Indicates if the account is available for payments",
118
149
  "type": ["boolean", "null"]
119
150
  },
120
151
  "accountType": {
152
+ "description": "Type of the account",
121
153
  "type": ["string", "null"]
122
154
  },
123
155
  "activeStatus": {
156
+ "description": "Status indicating if the account is active",
124
157
  "type": ["string", "null"]
125
158
  },
126
159
  "attachments": {
160
+ "description": "Attachments associated with the account",
127
161
  "type": ["boolean", "null"]
128
162
  },
129
163
  "banCode": {
164
+ "description": "Bank account number (BAN) code",
130
165
  "type": ["string", "null"]
131
166
  },
132
167
  "bank": {
168
+ "description": "Represents bank data",
133
169
  "type": ["object", "null"],
134
170
  "properties": {
135
171
  "code": {
172
+ "description": "Code for the bank associated with the account",
136
173
  "type": ["string", "null"]
137
174
  },
138
175
  "uuid": {
176
+ "description": "UUID for the bank associated with the account",
139
177
  "type": ["string", "null"]
140
178
  }
141
179
  }
142
180
  },
143
181
  "branch": {
182
+ "description": "Represents branch data",
144
183
  "type": ["object", "null"],
145
184
  "properties": {
146
185
  "code": {
186
+ "description": "Branch code associated with the account",
147
187
  "type": ["string", "null"]
148
188
  },
149
189
  "uuid": {
190
+ "description": "UUID for the branch associated with the account",
150
191
  "type": ["string", "null"]
151
192
  }
152
193
  }
153
194
  },
154
195
  "branchDescription": {
196
+ "description": "Description of the branch associated with the account",
155
197
  "type": ["null", "string"]
156
198
  },
157
199
  "calendar": {
200
+ "description": "Represents calendar data",
158
201
  "type": ["object", "null"],
159
202
  "properties": {
160
203
  "code": {
204
+ "description": "Code for the calendar linked to the account",
161
205
  "type": ["string", "null"]
162
206
  },
163
207
  "uuid": {
208
+ "description": "UUID for the calendar linked to the account",
164
209
  "type": ["string", "null"]
165
210
  }
166
211
  }
167
212
  },
168
213
  "closedAccount": {
214
+ "description": "Indicates if the account is closed",
169
215
  "type": ["boolean", "null"]
170
216
  },
171
217
  "closingDate": {
218
+ "description": "Date when the account was closed",
172
219
  "type": ["null", "string"]
173
220
  },
174
221
  "code": {
222
+ "description": "Account code",
175
223
  "type": ["string", "null"]
176
224
  },
177
225
  "company": {
226
+ "description": "Represents company data",
178
227
  "type": ["object", "null"],
179
228
  "properties": {
180
229
  "code": {
230
+ "description": "Code for the company associated with the account",
181
231
  "type": ["string", "null"]
182
232
  },
183
233
  "uuid": {
234
+ "description": "UUID for the company associated with the account",
184
235
  "type": ["string", "null"]
185
236
  }
186
237
  }
187
238
  },
188
239
  "countryCode": {
240
+ "description": "Country code of the account",
189
241
  "type": ["string", "null"]
190
242
  },
191
243
  "creationDate": {
244
+ "description": "Date when the account was created",
192
245
  "type": ["string", "null"]
193
246
  },
194
247
  "currency": {
248
+ "description": "Represents currency data",
195
249
  "type": ["object", "null"],
196
250
  "properties": {
197
251
  "code": {
252
+ "description": "Currency code of the account",
198
253
  "type": ["string", "null"]
199
254
  },
200
255
  "uuid": {
256
+ "description": "UUID for the currency of the account",
201
257
  "type": ["string", "null"]
202
258
  }
203
259
  }
204
260
  },
205
261
  "defaultGroup": {
262
+ "description": "Represents default group data",
206
263
  "type": ["object", "null"],
207
264
  "properties": {
208
265
  "code": {
266
+ "description": "Code for the default group of the account",
209
267
  "type": ["null", "string"]
210
268
  },
211
269
  "uuid": {
270
+ "description": "UUID for the default group of the account",
212
271
  "type": ["null", "string"]
213
272
  }
214
273
  }
215
274
  },
216
275
  "description": {
276
+ "description": "Brief description of the account",
217
277
  "type": ["null", "string"]
218
278
  },
219
279
  "description2": {
280
+ "description": "Additional description field for the account",
220
281
  "type": ["null", "string"]
221
282
  },
222
283
  "documents": {
284
+ "description": "Documents associated with the account",
223
285
  "type": ["boolean", "null"]
224
286
  },
225
287
  "glAccount": {
288
+ "description": "Represents general ledger account data",
226
289
  "type": ["object", "null"],
227
290
  "properties": {
228
291
  "code": {
292
+ "description": "General ledger (GL) account code",
229
293
  "type": ["null", "string"]
230
294
  },
231
295
  "uuid": {
296
+ "description": "UUID for the GL account linked to the account",
232
297
  "type": ["null", "string"]
233
298
  }
234
299
  }
235
300
  },
236
301
  "ibanCode": {
302
+ "description": "International Bank Account Number (IBAN) code",
237
303
  "type": ["null", "string"]
238
304
  },
239
305
  "internalAccountCode": {
306
+ "description": "Internal code for the account",
240
307
  "type": ["null", "string"]
241
308
  },
242
309
  "marker1": {
310
+ "description": "Custom marker 1 for the account",
243
311
  "type": ["boolean", "null"]
244
312
  },
245
313
  "marker2": {
314
+ "description": "Custom marker 2 for the account",
246
315
  "type": ["boolean", "null"]
247
316
  },
248
317
  "marker3": {
318
+ "description": "Custom marker 3 for the account",
249
319
  "type": ["boolean", "null"]
250
320
  },
251
321
  "signatoryUsers": {
322
+ "description": "Users authorized as signatories for the account",
252
323
  "type": ["integer", "null"]
253
324
  },
254
325
  "statementIdentifier": {
326
+ "description": "Identifier for the account statement",
255
327
  "type": ["null", "string"]
256
328
  },
257
329
  "status": {
330
+ "description": "Status of the account",
258
331
  "type": ["string", "null"]
259
332
  },
260
333
  "updateDate": {
334
+ "description": "Date when the account was last updated",
261
335
  "type": ["null", "string"]
262
336
  },
263
337
  "uuid": {
338
+ "description": "Unique identifier for the account",
264
339
  "type": ["string", "null"]
265
340
  },
266
341
  "zbaIdentifier": {
342
+ "description": "Zero balance account (ZBA) identifier",
267
343
  "type": ["null", "string"]
268
344
  }
269
345
  }
@@ -2,32 +2,41 @@
2
2
  "type": "object",
3
3
  "properties": {
4
4
  "account": {
5
+ "description": "Details of the account associated with the bank balance",
5
6
  "type": ["object", "null"],
6
7
  "properties": {
7
8
  "code": {
9
+ "description": "The unique code identifying the account",
8
10
  "type": ["string", "null"]
9
11
  },
10
12
  "statementIdentifier": {
13
+ "description": "Identifier for the statement associated with the account",
11
14
  "type": ["null", "string"]
12
15
  },
13
16
  "uuid": {
17
+ "description": "UUID (Universally Unique Identifier) of the account",
14
18
  "type": ["string", "null"]
15
19
  }
16
20
  }
17
21
  },
18
22
  "bankBalance": {
23
+ "description": "The end-of-day bank balance for the account",
19
24
  "type": ["object", "null"],
20
25
  "properties": {
21
26
  "amount": {
27
+ "description": "The balance amount of the account",
22
28
  "type": ["number", "null"]
23
29
  },
24
30
  "balanceDate": {
31
+ "description": "The date when the balance was recorded",
25
32
  "type": ["string", "null"]
26
33
  },
27
34
  "currencyCode": {
35
+ "description": "The currency code of the balance amount",
28
36
  "type": ["string", "null"]
29
37
  },
30
38
  "lastKnownBalanceDate": {
39
+ "description": "The date of the last known balance for the account",
31
40
  "type": ["null", "string"]
32
41
  }
33
42
  }