airbyte-source-kyriba 0.1.1__py3-none-any.whl → 0.1.4__py3-none-any.whl
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.
- airbyte_source_kyriba-0.1.4.dist-info/METADATA +124 -0
- airbyte_source_kyriba-0.1.4.dist-info/RECORD +15 -0
- {airbyte_source_kyriba-0.1.1.dist-info → airbyte_source_kyriba-0.1.4.dist-info}/WHEEL +1 -2
- airbyte_source_kyriba-0.1.4.dist-info/entry_points.txt +3 -0
- source_kyriba/schemas/accounts.json +76 -0
- source_kyriba/schemas/bank_balances_eod.json +9 -0
- source_kyriba/schemas/bank_balances_intraday.json +9 -0
- source_kyriba/schemas/cash_balances_eod.json +16 -0
- source_kyriba/schemas/cash_balances_intraday.json +9 -0
- source_kyriba/schemas/cash_flows.json +13 -0
- airbyte_source_kyriba-0.1.1.dist-info/METADATA +0 -142
- airbyte_source_kyriba-0.1.1.dist-info/RECORD +0 -31
- airbyte_source_kyriba-0.1.1.dist-info/entry_points.txt +0 -2
- airbyte_source_kyriba-0.1.1.dist-info/top_level.txt +0 -3
- integration_tests/__init__.py +0 -3
- integration_tests/abnormal_state.json +0 -1
- integration_tests/acceptance.py +0 -16
- integration_tests/configured_catalog.json +0 -74
- integration_tests/invalid_config.json +0 -7
- integration_tests/sample_config.json +0 -7
- integration_tests/sample_state.json +0 -1
- unit_tests/__init__.py +0 -3
- unit_tests/test_account_sub_stream.py +0 -37
- unit_tests/test_bank_balances_stream.py +0 -71
- unit_tests/test_cash_balances_stream.py +0 -77
- unit_tests/test_cash_flows.py +0 -100
- unit_tests/test_incremental_streams.py +0 -72
- unit_tests/test_source.py +0 -27
- unit_tests/test_streams.py +0 -121
@@ -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,15 @@
|
|
1
|
+
source_kyriba/__init__.py,sha256=jOGOJsttHTq3d1vzU09nqrtOjYfr7jSxNDPpAh6jsdo,124
|
2
|
+
source_kyriba/run.py,sha256=PmVtNsb_MrljQOzs6RfRq1Whxag5nwOc8_bxSTsVrTs,230
|
3
|
+
source_kyriba/schemas/accounts.json,sha256=9ewVDlwluqDqmxfWfN2mqjyt9nsJbSs2N9xyR9_IwLQ,10240
|
4
|
+
source_kyriba/schemas/bank_balances_eod.json,sha256=N_ynjhU51rB-DbkSmqLmWkBTcJSKuqg5BxIiTffJEYk,1524
|
5
|
+
source_kyriba/schemas/bank_balances_intraday.json,sha256=Ko2ni379SkkoRdRGxF6FG-J0SGXWmUxHkJKRGvkZbqI,1516
|
6
|
+
source_kyriba/schemas/cash_balances_eod.json,sha256=1xOIGftpT_JHqMuVihk5jnNRqufdghpVdUMehaifsQY,2541
|
7
|
+
source_kyriba/schemas/cash_balances_intraday.json,sha256=dJlEC5-ZWxDKoktuI0PR8P1mDJZ4M_rlkxjSdFi6L9o,2076
|
8
|
+
source_kyriba/schemas/cash_flows.json,sha256=QER26bLwPZsNVcBM1jAlvnIYbZIwSB8QAoQlOfD6cWQ,2589
|
9
|
+
source_kyriba/schemas/shared/_definitions.json,sha256=QdyZ05GtnOEp6OHTojSAuDLNyo8Egv_0oYROjnCldCk,26897
|
10
|
+
source_kyriba/source.py,sha256=saS3p9Llnj9scA7e9Y6eNemV07SOc6H6zwAQBwikhtY,11774
|
11
|
+
source_kyriba/spec.json,sha256=DkLbDtCCWPILFVrctJVLtid1aMJKAT6dRV7VMLjGFJA,1513
|
12
|
+
airbyte_source_kyriba-0.1.4.dist-info/METADATA,sha256=1RY5fxvHGKEkNHxJqM80_TYnkP_gRWgw49FuJ2PE6-M,5210
|
13
|
+
airbyte_source_kyriba-0.1.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
14
|
+
airbyte_source_kyriba-0.1.4.dist-info/entry_points.txt,sha256=o1Bvk3Ls9e_mDpFnYlRCQ9mEgeBexoUjOoCt5hElma8,55
|
15
|
+
airbyte_source_kyriba-0.1.4.dist-info/RECORD,,
|
@@ -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
|
}
|
@@ -2,32 +2,41 @@
|
|
2
2
|
"type": "object",
|
3
3
|
"properties": {
|
4
4
|
"account": {
|
5
|
+
"description": "Information related to the bank account",
|
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 related to the account",
|
11
14
|
"type": ["null", "string"]
|
12
15
|
},
|
13
16
|
"uuid": {
|
17
|
+
"description": "The universally unique identifier for the account",
|
14
18
|
"type": ["string", "null"]
|
15
19
|
}
|
16
20
|
}
|
17
21
|
},
|
18
22
|
"bankBalance": {
|
23
|
+
"description": "Details about the bank balance",
|
19
24
|
"type": ["object", "null"],
|
20
25
|
"properties": {
|
21
26
|
"amount": {
|
27
|
+
"description": "The actual amount of the bank balance",
|
22
28
|
"type": ["number", "null"]
|
23
29
|
},
|
24
30
|
"balanceDate": {
|
31
|
+
"description": "The date and time the balance was recorded",
|
25
32
|
"type": ["string", "null"]
|
26
33
|
},
|
27
34
|
"currencyCode": {
|
35
|
+
"description": "The currency code for the amount",
|
28
36
|
"type": ["string", "null"]
|
29
37
|
},
|
30
38
|
"lastKnownBalanceDate": {
|
39
|
+
"description": "The date and time of the last known balance",
|
31
40
|
"type": ["string", "null"]
|
32
41
|
}
|
33
42
|
},
|
@@ -2,57 +2,73 @@
|
|
2
2
|
"type": "object",
|
3
3
|
"properties": {
|
4
4
|
"account": {
|
5
|
+
"description": "Details of the account associated with the cash balance",
|
5
6
|
"type": ["object", "null"],
|
6
7
|
"properties": {
|
7
8
|
"code": {
|
9
|
+
"description": "Unique code identifier for the account",
|
8
10
|
"type": ["string", "null"]
|
9
11
|
},
|
10
12
|
"statementIdentifier": {
|
13
|
+
"description": "Identifier for the statement related to the account",
|
11
14
|
"type": ["null", "string"]
|
12
15
|
},
|
13
16
|
"uuid": {
|
17
|
+
"description": "Universally unique identifier for the account",
|
14
18
|
"type": ["string", "null"]
|
15
19
|
}
|
16
20
|
}
|
17
21
|
},
|
18
22
|
"cashBalance": {
|
23
|
+
"description": "Array of cash balance data",
|
19
24
|
"type": ["array", "null"],
|
20
25
|
"items": {
|
26
|
+
"description": "Details of a specific cash balance entry",
|
21
27
|
"type": ["object", "null"],
|
22
28
|
"properties": {
|
23
29
|
"amount": {
|
30
|
+
"description": "The amount of cash balance on the specified date",
|
24
31
|
"type": ["number", "null"]
|
25
32
|
},
|
26
33
|
"balanceDate": {
|
34
|
+
"description": "Date and type of the cash balance entry",
|
27
35
|
"type": ["object", "null"],
|
28
36
|
"properties": {
|
29
37
|
"date": {
|
38
|
+
"description": "The date of the cash balance entry",
|
30
39
|
"type": ["string", "null"]
|
31
40
|
},
|
32
41
|
"dateType": {
|
42
|
+
"description": "Type of date entry (e.g., actual, estimated)",
|
33
43
|
"type": ["string", "null"]
|
34
44
|
}
|
35
45
|
}
|
36
46
|
},
|
37
47
|
"currencyCode": {
|
48
|
+
"description": "The currency code of the cash balance amount",
|
38
49
|
"type": ["string", "null"]
|
39
50
|
}
|
40
51
|
}
|
41
52
|
}
|
42
53
|
},
|
43
54
|
"cashFlowStatus": {
|
55
|
+
"description": "Status of the cash flow related to the account",
|
44
56
|
"type": ["object", "null"],
|
45
57
|
"properties": {
|
46
58
|
"actual": {
|
59
|
+
"description": "Status of actual cash flow",
|
47
60
|
"type": ["boolean", "null"]
|
48
61
|
},
|
49
62
|
"confirmedForecasts": {
|
63
|
+
"description": "Status of confirmed cash flow forecasts",
|
50
64
|
"type": ["boolean", "null"]
|
51
65
|
},
|
52
66
|
"estimatedForecasts": {
|
67
|
+
"description": "Status of estimated cash flow forecasts",
|
53
68
|
"type": ["boolean", "null"]
|
54
69
|
},
|
55
70
|
"intraday": {
|
71
|
+
"description": "Status of intraday cash flow",
|
56
72
|
"type": ["boolean", "null"]
|
57
73
|
}
|
58
74
|
}
|