airbyte-source-kyriba 0.1.0__tar.gz → 0.1.1__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 (43) hide show
  1. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/PKG-INFO +50 -7
  2. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/README.md +58 -8
  3. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/airbyte_source_kyriba.egg-info/PKG-INFO +50 -7
  4. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/airbyte_source_kyriba.egg-info/requires.txt +1 -1
  5. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/setup.cfg +49 -6
  6. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/setup.py +1 -1
  7. airbyte-source-kyriba-0.1.1/source_kyriba/schemas/accounts.json +270 -0
  8. airbyte-source-kyriba-0.1.1/source_kyriba/schemas/bank_balances_eod.json +39 -0
  9. airbyte-source-kyriba-0.1.1/source_kyriba/schemas/bank_balances_intraday.json +40 -0
  10. airbyte-source-kyriba-0.1.1/source_kyriba/schemas/cash_balances_eod.json +63 -0
  11. airbyte-source-kyriba-0.1.1/source_kyriba/schemas/cash_balances_intraday.json +64 -0
  12. airbyte-source-kyriba-0.1.1/source_kyriba/schemas/cash_flows.json +67 -0
  13. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/source_kyriba/schemas/shared/_definitions.json +146 -333
  14. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/source_kyriba/source.py +9 -3
  15. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/source_kyriba/spec.json +9 -5
  16. airbyte-source-kyriba-0.1.1/unit_tests/test_bank_balances_stream.py +71 -0
  17. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/unit_tests/test_source.py +0 -8
  18. airbyte-source-kyriba-0.1.0/source_kyriba/schemas/accounts.json +0 -461
  19. airbyte-source-kyriba-0.1.0/source_kyriba/schemas/bank_balances_eod.json +0 -66
  20. airbyte-source-kyriba-0.1.0/source_kyriba/schemas/bank_balances_intraday.json +0 -60
  21. airbyte-source-kyriba-0.1.0/source_kyriba/schemas/cash_balances_eod.json +0 -101
  22. airbyte-source-kyriba-0.1.0/source_kyriba/schemas/cash_balances_intraday.json +0 -101
  23. airbyte-source-kyriba-0.1.0/source_kyriba/schemas/cash_flows.json +0 -102
  24. airbyte-source-kyriba-0.1.0/unit_tests/test_bank_balances_stream.py +0 -77
  25. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/airbyte_source_kyriba.egg-info/SOURCES.txt +0 -0
  26. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/airbyte_source_kyriba.egg-info/dependency_links.txt +0 -0
  27. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/airbyte_source_kyriba.egg-info/entry_points.txt +0 -0
  28. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/airbyte_source_kyriba.egg-info/top_level.txt +0 -0
  29. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/integration_tests/__init__.py +0 -0
  30. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/integration_tests/abnormal_state.json +0 -0
  31. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/integration_tests/acceptance.py +0 -0
  32. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/integration_tests/configured_catalog.json +0 -0
  33. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/integration_tests/invalid_config.json +0 -0
  34. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/integration_tests/sample_config.json +0 -0
  35. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/integration_tests/sample_state.json +0 -0
  36. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/source_kyriba/__init__.py +0 -0
  37. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/source_kyriba/run.py +0 -0
  38. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/unit_tests/__init__.py +0 -0
  39. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/unit_tests/test_account_sub_stream.py +0 -0
  40. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/unit_tests/test_cash_balances_stream.py +0 -0
  41. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/unit_tests/test_cash_flows.py +0 -0
  42. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/unit_tests/test_incremental_streams.py +0 -0
  43. {airbyte-source-kyriba-0.1.0 → airbyte-source-kyriba-0.1.1}/unit_tests/test_streams.py +0 -0
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-source-kyriba
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Source implementation for Kyriba.
5
5
  Author: Airbyte
6
6
  Author-email: contact@airbyte.io
7
7
  Description-Content-Type: text/markdown
8
- Requires-Dist: airbyte-cdk~=0.1
8
+ Requires-Dist: airbyte-cdk
9
9
  Provides-Extra: tests
10
10
  Requires-Dist: requests-mock~=1.9.3; extra == "tests"
11
11
  Requires-Dist: pytest~=6.1; extra == "tests"
@@ -56,18 +56,61 @@ python main.py read --config secrets/config.json --catalog integration_tests/con
56
56
 
57
57
 
58
58
 
59
- **Via [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md) (recommended):**
59
+
60
+
61
+ The Airbyte way of building this connector is to use our `airbyte-ci` tool.
62
+ You can follow install instructions [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md#L1).
63
+ Then running the following command will build your connector:
64
+
60
65
  ```bash
61
- airbyte-ci connectors --name=source-kyriba build
66
+ airbyte-ci connectors --name source-kyriba build
62
67
  ```
68
+ Once the command is done, you will find your connector image in your local docker registry: `airbyte/source-kyriba:dev`.
69
+
70
+ When contributing on our connector you might need to customize the build process to add a system dependency or set an env var.
71
+ You can customize our build process by adding a `build_customization.py` module to your connector.
72
+ This module should contain a `pre_connector_install` and `post_connector_install` async function that will mutate the base image and the connector container respectively.
73
+ It will be imported at runtime by our build process and the functions will be called if they exist.
74
+
75
+ Here is an example of a `build_customization.py` module:
76
+ ```python
77
+ from __future__ import annotations
63
78
 
64
- An image will be built with the tag `airbyte/source-kyriba:dev`.
79
+ from typing import TYPE_CHECKING
65
80
 
66
- **Via `docker build`:**
81
+ if TYPE_CHECKING:
82
+ from dagger import Container
83
+
84
+
85
+ async def pre_connector_install(base_image_container: Container) -> Container:
86
+ return await base_image_container.with_env_variable("MY_PRE_BUILD_ENV_VAR", "my_pre_build_env_var_value")
87
+
88
+ async def post_connector_install(connector_container: Container) -> Container:
89
+ return await connector_container.with_env_variable("MY_POST_BUILD_ENV_VAR", "my_post_build_env_var_value")
90
+ ```
91
+
92
+ This connector is built using our dynamic built process in `airbyte-ci`.
93
+ The base image used to build it is defined within the metadata.yaml file under the `connectorBuildOptions`.
94
+ The build logic is defined using [Dagger](https://dagger.io/) [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/pipelines/builds/python_connectors.py).
95
+ It does not rely on a Dockerfile.
96
+
97
+ If you would like to patch our connector and build your own a simple approach would be to:
98
+
99
+ 1. Create your own Dockerfile based on the latest version of the connector image.
100
+ ```Dockerfile
101
+ FROM airbyte/source-kyriba:latest
102
+
103
+ COPY . ./airbyte/integration_code
104
+ RUN pip install ./airbyte/integration_code
105
+
106
+ ```
107
+ Please use this as an example. This is not optimized.
108
+
109
+ 2. Build your image:
67
110
  ```bash
68
111
  docker build -t airbyte/source-kyriba:dev .
112
+ docker run airbyte/source-kyriba:dev spec
69
113
  ```
70
-
71
114
  Then run any of the connector commands as follows:
72
115
  ```
73
116
  docker run --rm airbyte/source-kyriba:dev spec
@@ -8,7 +8,7 @@ For information about how to use this connector within Airbyte, see [the documen
8
8
  ### Prerequisites
9
9
  **To iterate on this connector, make sure to complete this prerequisites section.**
10
10
 
11
- #### Minimum Python version required `= 3.7.0`
11
+ #### Minimum Python version required `= 3.10.0`
12
12
 
13
13
  #### Build & Activate Virtual Environment and install dependencies
14
14
  From this connector directory, create a virtual environment:
@@ -50,19 +50,70 @@ python main.py read --config secrets/config.json --catalog integration_tests/con
50
50
  ### Locally running the connector docker image
51
51
 
52
52
 
53
- #### Build
54
- **Via [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md) (recommended):**
53
+
54
+
55
+ #### Use `airbyte-ci` to build your connector
56
+ The Airbyte way of building this connector is to use our `airbyte-ci` tool.
57
+ You can follow install instructions [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md#L1).
58
+ Then running the following command will build your connector:
59
+
55
60
  ```bash
56
- airbyte-ci connectors --name=source-kyriba build
61
+ airbyte-ci connectors --name source-kyriba build
62
+ ```
63
+ Once the command is done, you will find your connector image in your local docker registry: `airbyte/source-kyriba:dev`.
64
+
65
+ ##### Customizing our build process
66
+ When contributing on our connector you might need to customize the build process to add a system dependency or set an env var.
67
+ You can customize our build process by adding a `build_customization.py` module to your connector.
68
+ This module should contain a `pre_connector_install` and `post_connector_install` async function that will mutate the base image and the connector container respectively.
69
+ It will be imported at runtime by our build process and the functions will be called if they exist.
70
+
71
+ Here is an example of a `build_customization.py` module:
72
+ ```python
73
+ from __future__ import annotations
74
+
75
+ from typing import TYPE_CHECKING
76
+
77
+ if TYPE_CHECKING:
78
+ # Feel free to check the dagger documentation for more information on the Container object and its methods.
79
+ # https://dagger-io.readthedocs.io/en/sdk-python-v0.6.4/
80
+ from dagger import Container
81
+
82
+
83
+ async def pre_connector_install(base_image_container: Container) -> Container:
84
+ return await base_image_container.with_env_variable("MY_PRE_BUILD_ENV_VAR", "my_pre_build_env_var_value")
85
+
86
+ async def post_connector_install(connector_container: Container) -> Container:
87
+ return await connector_container.with_env_variable("MY_POST_BUILD_ENV_VAR", "my_post_build_env_var_value")
57
88
  ```
58
89
 
59
- An image will be built with the tag `airbyte/source-kyriba:dev`.
90
+ #### Build your own connector image
91
+ This connector is built using our dynamic built process in `airbyte-ci`.
92
+ The base image used to build it is defined within the metadata.yaml file under the `connectorBuildOptions`.
93
+ The build logic is defined using [Dagger](https://dagger.io/) [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/pipelines/builds/python_connectors.py).
94
+ It does not rely on a Dockerfile.
95
+
96
+ If you would like to patch our connector and build your own a simple approach would be to:
97
+
98
+ 1. Create your own Dockerfile based on the latest version of the connector image.
99
+ ```Dockerfile
100
+ FROM airbyte/source-kyriba:latest
101
+
102
+ COPY . ./airbyte/integration_code
103
+ RUN pip install ./airbyte/integration_code
60
104
 
61
- **Via `docker build`:**
105
+ # The entrypoint and default env vars are already set in the base image
106
+ # ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
107
+ # ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
108
+ ```
109
+ Please use this as an example. This is not optimized.
110
+
111
+ 2. Build your image:
62
112
  ```bash
63
113
  docker build -t airbyte/source-kyriba:dev .
114
+ # Running the spec command against your patched connector
115
+ docker run airbyte/source-kyriba:dev spec
64
116
  ```
65
-
66
117
  #### Run
67
118
  Then run any of the connector commands as follows:
68
119
  ```
@@ -97,4 +148,3 @@ You've checked out the repo, implemented a million dollar feature, and you're re
97
148
  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).
98
149
  6. Pat yourself on the back for being an awesome contributor.
99
150
  7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
100
-
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-source-kyriba
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Source implementation for Kyriba.
5
5
  Author: Airbyte
6
6
  Author-email: contact@airbyte.io
7
7
  Description-Content-Type: text/markdown
8
- Requires-Dist: airbyte-cdk~=0.1
8
+ Requires-Dist: airbyte-cdk
9
9
  Provides-Extra: tests
10
10
  Requires-Dist: requests-mock~=1.9.3; extra == "tests"
11
11
  Requires-Dist: pytest~=6.1; extra == "tests"
@@ -56,18 +56,61 @@ python main.py read --config secrets/config.json --catalog integration_tests/con
56
56
 
57
57
 
58
58
 
59
- **Via [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md) (recommended):**
59
+
60
+
61
+ The Airbyte way of building this connector is to use our `airbyte-ci` tool.
62
+ You can follow install instructions [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md#L1).
63
+ Then running the following command will build your connector:
64
+
60
65
  ```bash
61
- airbyte-ci connectors --name=source-kyriba build
66
+ airbyte-ci connectors --name source-kyriba build
62
67
  ```
68
+ Once the command is done, you will find your connector image in your local docker registry: `airbyte/source-kyriba:dev`.
69
+
70
+ When contributing on our connector you might need to customize the build process to add a system dependency or set an env var.
71
+ You can customize our build process by adding a `build_customization.py` module to your connector.
72
+ This module should contain a `pre_connector_install` and `post_connector_install` async function that will mutate the base image and the connector container respectively.
73
+ It will be imported at runtime by our build process and the functions will be called if they exist.
74
+
75
+ Here is an example of a `build_customization.py` module:
76
+ ```python
77
+ from __future__ import annotations
63
78
 
64
- An image will be built with the tag `airbyte/source-kyriba:dev`.
79
+ from typing import TYPE_CHECKING
65
80
 
66
- **Via `docker build`:**
81
+ if TYPE_CHECKING:
82
+ from dagger import Container
83
+
84
+
85
+ async def pre_connector_install(base_image_container: Container) -> Container:
86
+ return await base_image_container.with_env_variable("MY_PRE_BUILD_ENV_VAR", "my_pre_build_env_var_value")
87
+
88
+ async def post_connector_install(connector_container: Container) -> Container:
89
+ return await connector_container.with_env_variable("MY_POST_BUILD_ENV_VAR", "my_post_build_env_var_value")
90
+ ```
91
+
92
+ This connector is built using our dynamic built process in `airbyte-ci`.
93
+ The base image used to build it is defined within the metadata.yaml file under the `connectorBuildOptions`.
94
+ The build logic is defined using [Dagger](https://dagger.io/) [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/pipelines/builds/python_connectors.py).
95
+ It does not rely on a Dockerfile.
96
+
97
+ If you would like to patch our connector and build your own a simple approach would be to:
98
+
99
+ 1. Create your own Dockerfile based on the latest version of the connector image.
100
+ ```Dockerfile
101
+ FROM airbyte/source-kyriba:latest
102
+
103
+ COPY . ./airbyte/integration_code
104
+ RUN pip install ./airbyte/integration_code
105
+
106
+ ```
107
+ Please use this as an example. This is not optimized.
108
+
109
+ 2. Build your image:
67
110
  ```bash
68
111
  docker build -t airbyte/source-kyriba:dev .
112
+ docker run airbyte/source-kyriba:dev spec
69
113
  ```
70
-
71
114
  Then run any of the connector commands as follows:
72
115
  ```
73
116
  docker run --rm airbyte/source-kyriba:dev spec
@@ -1,4 +1,4 @@
1
- airbyte-cdk~=0.1
1
+ airbyte-cdk
2
2
 
3
3
  [tests]
4
4
  requests-mock~=1.9.3
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = airbyte-source-kyriba
3
- version = 0.1.0
3
+ version = 0.1.1
4
4
  author = Airbyte
5
5
  author_email = contact@airbyte.io
6
6
  long_description = # Kyriba Source
@@ -48,18 +48,61 @@ long_description = # Kyriba Source
48
48
 
49
49
 
50
50
 
51
- **Via [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md) (recommended):**
51
+
52
+
53
+ The Airbyte way of building this connector is to use our `airbyte-ci` tool.
54
+ You can follow install instructions [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md#L1).
55
+ Then running the following command will build your connector:
56
+
52
57
  ```bash
53
- airbyte-ci connectors --name=source-kyriba build
58
+ airbyte-ci connectors --name source-kyriba build
54
59
  ```
60
+ Once the command is done, you will find your connector image in your local docker registry: `airbyte/source-kyriba:dev`.
61
+
62
+ When contributing on our connector you might need to customize the build process to add a system dependency or set an env var.
63
+ You can customize our build process by adding a `build_customization.py` module to your connector.
64
+ This module should contain a `pre_connector_install` and `post_connector_install` async function that will mutate the base image and the connector container respectively.
65
+ It will be imported at runtime by our build process and the functions will be called if they exist.
66
+
67
+ Here is an example of a `build_customization.py` module:
68
+ ```python
69
+ from __future__ import annotations
55
70
 
56
- An image will be built with the tag `airbyte/source-kyriba:dev`.
71
+ from typing import TYPE_CHECKING
57
72
 
58
- **Via `docker build`:**
73
+ if TYPE_CHECKING:
74
+ from dagger import Container
75
+
76
+
77
+ async def pre_connector_install(base_image_container: Container) -> Container:
78
+ return await base_image_container.with_env_variable("MY_PRE_BUILD_ENV_VAR", "my_pre_build_env_var_value")
79
+
80
+ async def post_connector_install(connector_container: Container) -> Container:
81
+ return await connector_container.with_env_variable("MY_POST_BUILD_ENV_VAR", "my_post_build_env_var_value")
82
+ ```
83
+
84
+ This connector is built using our dynamic built process in `airbyte-ci`.
85
+ The base image used to build it is defined within the metadata.yaml file under the `connectorBuildOptions`.
86
+ The build logic is defined using [Dagger](https://dagger.io/) [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/pipelines/builds/python_connectors.py).
87
+ It does not rely on a Dockerfile.
88
+
89
+ If you would like to patch our connector and build your own a simple approach would be to:
90
+
91
+ 1. Create your own Dockerfile based on the latest version of the connector image.
92
+ ```Dockerfile
93
+ FROM airbyte/source-kyriba:latest
94
+
95
+ COPY . ./airbyte/integration_code
96
+ RUN pip install ./airbyte/integration_code
97
+
98
+ ```
99
+ Please use this as an example. This is not optimized.
100
+
101
+ 2. Build your image:
59
102
  ```bash
60
103
  docker build -t airbyte/source-kyriba:dev .
104
+ docker run airbyte/source-kyriba:dev spec
61
105
  ```
62
-
63
106
  Then run any of the connector commands as follows:
64
107
  ```
65
108
  docker run --rm airbyte/source-kyriba:dev spec
@@ -6,7 +6,7 @@
6
6
  from setuptools import find_packages, setup
7
7
 
8
8
  MAIN_REQUIREMENTS = [
9
- "airbyte-cdk~=0.1",
9
+ "airbyte-cdk",
10
10
  ]
11
11
 
12
12
  TEST_REQUIREMENTS = [
@@ -0,0 +1,270 @@
1
+ {
2
+ "type": ["object", "null"],
3
+ "title": "AccountSearchModel",
4
+ "description": "Account search",
5
+ "$schema": "http://json-schema.org/schema#",
6
+ "properties": {
7
+ "accountCategory1": {
8
+ "type": ["object", "null"],
9
+ "properties": {
10
+ "code": {
11
+ "type": ["null", "string"]
12
+ },
13
+ "uuid": {
14
+ "type": ["null", "string"]
15
+ }
16
+ }
17
+ },
18
+ "accountCategory2": {
19
+ "type": ["object", "null"],
20
+ "properties": {
21
+ "code": {
22
+ "type": ["null", "string"]
23
+ },
24
+ "uuid": {
25
+ "type": ["null", "string"]
26
+ }
27
+ }
28
+ },
29
+ "accountCategory3": {
30
+ "type": ["object", "null"],
31
+ "properties": {
32
+ "code": {
33
+ "type": ["null", "string"]
34
+ },
35
+ "uuid": {
36
+ "type": ["null", "string"]
37
+ }
38
+ }
39
+ },
40
+ "accountCategory4": {
41
+ "type": ["object", "null"],
42
+ "properties": {
43
+ "code": {
44
+ "type": ["null", "string"]
45
+ },
46
+ "uuid": {
47
+ "type": ["null", "string"]
48
+ }
49
+ }
50
+ },
51
+ "accountCategory5": {
52
+ "type": ["object", "null"],
53
+ "properties": {
54
+ "code": {
55
+ "type": ["null", "string"]
56
+ },
57
+ "uuid": {
58
+ "type": ["null", "string"]
59
+ }
60
+ }
61
+ },
62
+ "accountCategory6": {
63
+ "type": ["object", "null"],
64
+ "properties": {
65
+ "code": {
66
+ "type": ["null", "string"]
67
+ },
68
+ "uuid": {
69
+ "type": ["null", "string"]
70
+ }
71
+ }
72
+ },
73
+ "accountCategory7": {
74
+ "type": ["object", "null"],
75
+ "properties": {
76
+ "code": {
77
+ "type": ["null", "string"]
78
+ },
79
+ "uuid": {
80
+ "type": ["null", "string"]
81
+ }
82
+ }
83
+ },
84
+ "accountCategory8": {
85
+ "type": ["object", "null"],
86
+ "properties": {
87
+ "code": {
88
+ "type": ["null", "string"]
89
+ },
90
+ "uuid": {
91
+ "type": ["null", "string"]
92
+ }
93
+ }
94
+ },
95
+ "accountCategory9": {
96
+ "type": ["object", "null"],
97
+ "properties": {
98
+ "code": {
99
+ "type": ["null", "string"]
100
+ },
101
+ "uuid": {
102
+ "type": ["null", "string"]
103
+ }
104
+ }
105
+ },
106
+ "accountCategory10": {
107
+ "type": ["object", "null"],
108
+ "properties": {
109
+ "code": {
110
+ "type": ["null", "string"]
111
+ },
112
+ "uuid": {
113
+ "type": ["null", "string"]
114
+ }
115
+ }
116
+ },
117
+ "accountAvailableForPayments": {
118
+ "type": ["boolean", "null"]
119
+ },
120
+ "accountType": {
121
+ "type": ["string", "null"]
122
+ },
123
+ "activeStatus": {
124
+ "type": ["string", "null"]
125
+ },
126
+ "attachments": {
127
+ "type": ["boolean", "null"]
128
+ },
129
+ "banCode": {
130
+ "type": ["string", "null"]
131
+ },
132
+ "bank": {
133
+ "type": ["object", "null"],
134
+ "properties": {
135
+ "code": {
136
+ "type": ["string", "null"]
137
+ },
138
+ "uuid": {
139
+ "type": ["string", "null"]
140
+ }
141
+ }
142
+ },
143
+ "branch": {
144
+ "type": ["object", "null"],
145
+ "properties": {
146
+ "code": {
147
+ "type": ["string", "null"]
148
+ },
149
+ "uuid": {
150
+ "type": ["string", "null"]
151
+ }
152
+ }
153
+ },
154
+ "branchDescription": {
155
+ "type": ["null", "string"]
156
+ },
157
+ "calendar": {
158
+ "type": ["object", "null"],
159
+ "properties": {
160
+ "code": {
161
+ "type": ["string", "null"]
162
+ },
163
+ "uuid": {
164
+ "type": ["string", "null"]
165
+ }
166
+ }
167
+ },
168
+ "closedAccount": {
169
+ "type": ["boolean", "null"]
170
+ },
171
+ "closingDate": {
172
+ "type": ["null", "string"]
173
+ },
174
+ "code": {
175
+ "type": ["string", "null"]
176
+ },
177
+ "company": {
178
+ "type": ["object", "null"],
179
+ "properties": {
180
+ "code": {
181
+ "type": ["string", "null"]
182
+ },
183
+ "uuid": {
184
+ "type": ["string", "null"]
185
+ }
186
+ }
187
+ },
188
+ "countryCode": {
189
+ "type": ["string", "null"]
190
+ },
191
+ "creationDate": {
192
+ "type": ["string", "null"]
193
+ },
194
+ "currency": {
195
+ "type": ["object", "null"],
196
+ "properties": {
197
+ "code": {
198
+ "type": ["string", "null"]
199
+ },
200
+ "uuid": {
201
+ "type": ["string", "null"]
202
+ }
203
+ }
204
+ },
205
+ "defaultGroup": {
206
+ "type": ["object", "null"],
207
+ "properties": {
208
+ "code": {
209
+ "type": ["null", "string"]
210
+ },
211
+ "uuid": {
212
+ "type": ["null", "string"]
213
+ }
214
+ }
215
+ },
216
+ "description": {
217
+ "type": ["null", "string"]
218
+ },
219
+ "description2": {
220
+ "type": ["null", "string"]
221
+ },
222
+ "documents": {
223
+ "type": ["boolean", "null"]
224
+ },
225
+ "glAccount": {
226
+ "type": ["object", "null"],
227
+ "properties": {
228
+ "code": {
229
+ "type": ["null", "string"]
230
+ },
231
+ "uuid": {
232
+ "type": ["null", "string"]
233
+ }
234
+ }
235
+ },
236
+ "ibanCode": {
237
+ "type": ["null", "string"]
238
+ },
239
+ "internalAccountCode": {
240
+ "type": ["null", "string"]
241
+ },
242
+ "marker1": {
243
+ "type": ["boolean", "null"]
244
+ },
245
+ "marker2": {
246
+ "type": ["boolean", "null"]
247
+ },
248
+ "marker3": {
249
+ "type": ["boolean", "null"]
250
+ },
251
+ "signatoryUsers": {
252
+ "type": ["integer", "null"]
253
+ },
254
+ "statementIdentifier": {
255
+ "type": ["null", "string"]
256
+ },
257
+ "status": {
258
+ "type": ["string", "null"]
259
+ },
260
+ "updateDate": {
261
+ "type": ["null", "string"]
262
+ },
263
+ "uuid": {
264
+ "type": ["string", "null"]
265
+ },
266
+ "zbaIdentifier": {
267
+ "type": ["null", "string"]
268
+ }
269
+ }
270
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "account": {
5
+ "type": ["object", "null"],
6
+ "properties": {
7
+ "code": {
8
+ "type": ["string", "null"]
9
+ },
10
+ "statementIdentifier": {
11
+ "type": ["null", "string"]
12
+ },
13
+ "uuid": {
14
+ "type": ["string", "null"]
15
+ }
16
+ }
17
+ },
18
+ "bankBalance": {
19
+ "type": ["object", "null"],
20
+ "properties": {
21
+ "amount": {
22
+ "type": ["number", "null"]
23
+ },
24
+ "balanceDate": {
25
+ "type": ["string", "null"]
26
+ },
27
+ "currencyCode": {
28
+ "type": ["string", "null"]
29
+ },
30
+ "lastKnownBalanceDate": {
31
+ "type": ["null", "string"]
32
+ }
33
+ }
34
+ }
35
+ },
36
+ "title": "BK-BankStatementBalanceModel",
37
+ "description": "Bank statement balance.",
38
+ "$schema": "http://json-schema.org/schema#"
39
+ }