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