cashctrl 0.0.1 → 0.1.0

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 (119) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +21 -0
  3. data/README.md +549 -14
  4. data/lib/cashctrl/client.rb +216 -0
  5. data/lib/cashctrl/collection.rb +77 -0
  6. data/lib/cashctrl/configuration.rb +30 -0
  7. data/lib/cashctrl/error.rb +27 -0
  8. data/lib/cashctrl/localized_string.rb +115 -0
  9. data/lib/cashctrl/models/account.rb +35 -0
  10. data/lib/cashctrl/models/article.rb +40 -0
  11. data/lib/cashctrl/models/asset.rb +32 -0
  12. data/lib/cashctrl/models/bank.rb +16 -0
  13. data/lib/cashctrl/models/category.rb +13 -0
  14. data/lib/cashctrl/models/certificate_document.rb +14 -0
  15. data/lib/cashctrl/models/certificate_template.rb +13 -0
  16. data/lib/cashctrl/models/cost_center.rb +15 -0
  17. data/lib/cashctrl/models/currency.rb +18 -0
  18. data/lib/cashctrl/models/custom_field.rb +18 -0
  19. data/lib/cashctrl/models/custom_field_group.rb +12 -0
  20. data/lib/cashctrl/models/file.rb +19 -0
  21. data/lib/cashctrl/models/fiscal_period.rb +16 -0
  22. data/lib/cashctrl/models/fiscal_period_task.rb +14 -0
  23. data/lib/cashctrl/models/history.rb +19 -0
  24. data/lib/cashctrl/models/insurance_type.rb +13 -0
  25. data/lib/cashctrl/models/journal.rb +56 -0
  26. data/lib/cashctrl/models/journal_import.rb +18 -0
  27. data/lib/cashctrl/models/journal_import_entry.rb +20 -0
  28. data/lib/cashctrl/models/loader.rb +52 -0
  29. data/lib/cashctrl/models/location.rb +22 -0
  30. data/lib/cashctrl/models/order.rb +46 -0
  31. data/lib/cashctrl/models/order_book_entry.rb +17 -0
  32. data/lib/cashctrl/models/order_document.rb +15 -0
  33. data/lib/cashctrl/models/order_layout.rb +18 -0
  34. data/lib/cashctrl/models/order_payment.rb +16 -0
  35. data/lib/cashctrl/models/person.rb +72 -0
  36. data/lib/cashctrl/models/report.rb +15 -0
  37. data/lib/cashctrl/models/report_collection.rb +13 -0
  38. data/lib/cashctrl/models/report_element.rb +16 -0
  39. data/lib/cashctrl/models/rounding.rb +15 -0
  40. data/lib/cashctrl/models/salary_book_entry.rb +16 -0
  41. data/lib/cashctrl/models/salary_certificate.rb +15 -0
  42. data/lib/cashctrl/models/salary_document.rb +15 -0
  43. data/lib/cashctrl/models/salary_field.rb +16 -0
  44. data/lib/cashctrl/models/salary_layout.rb +13 -0
  45. data/lib/cashctrl/models/salary_payment.rb +16 -0
  46. data/lib/cashctrl/models/salary_setting.rb +12 -0
  47. data/lib/cashctrl/models/salary_statement.rb +17 -0
  48. data/lib/cashctrl/models/salary_status.rb +12 -0
  49. data/lib/cashctrl/models/salary_sum.rb +14 -0
  50. data/lib/cashctrl/models/salary_template.rb +12 -0
  51. data/lib/cashctrl/models/salary_type.rb +14 -0
  52. data/lib/cashctrl/models/sequence_number.rb +13 -0
  53. data/lib/cashctrl/models/setting.rb +33 -0
  54. data/lib/cashctrl/models/tax.rb +17 -0
  55. data/lib/cashctrl/models/text.rb +13 -0
  56. data/lib/cashctrl/models/title.rb +13 -0
  57. data/lib/cashctrl/models/unit.rb +11 -0
  58. data/lib/cashctrl/resource.rb +190 -0
  59. data/lib/cashctrl/resources/account/bank.rb +24 -0
  60. data/lib/cashctrl/resources/account/category.rb +22 -0
  61. data/lib/cashctrl/resources/account/cost_center/category.rb +24 -0
  62. data/lib/cashctrl/resources/account/cost_center.rb +48 -0
  63. data/lib/cashctrl/resources/account.rb +54 -0
  64. data/lib/cashctrl/resources/base.rb +161 -0
  65. data/lib/cashctrl/resources/currency.rb +26 -0
  66. data/lib/cashctrl/resources/custom_field/group.rb +24 -0
  67. data/lib/cashctrl/resources/custom_field.rb +30 -0
  68. data/lib/cashctrl/resources/file/category.rb +22 -0
  69. data/lib/cashctrl/resources/file.rb +66 -0
  70. data/lib/cashctrl/resources/fiscal_period/task.rb +30 -0
  71. data/lib/cashctrl/resources/fiscal_period.rb +96 -0
  72. data/lib/cashctrl/resources/history.rb +44 -0
  73. data/lib/cashctrl/resources/inventory/article/category.rb +24 -0
  74. data/lib/cashctrl/resources/inventory/article.rb +34 -0
  75. data/lib/cashctrl/resources/inventory/asset/category.rb +24 -0
  76. data/lib/cashctrl/resources/inventory/asset.rb +34 -0
  77. data/lib/cashctrl/resources/inventory/unit.rb +12 -0
  78. data/lib/cashctrl/resources/journal/import/entry.rb +54 -0
  79. data/lib/cashctrl/resources/journal/import.rb +22 -0
  80. data/lib/cashctrl/resources/journal.rb +94 -0
  81. data/lib/cashctrl/resources/location.rb +10 -0
  82. data/lib/cashctrl/resources/order/book_entry.rb +12 -0
  83. data/lib/cashctrl/resources/order/category.rb +32 -0
  84. data/lib/cashctrl/resources/order/document.rb +38 -0
  85. data/lib/cashctrl/resources/order/layout.rb +12 -0
  86. data/lib/cashctrl/resources/order/payment.rb +56 -0
  87. data/lib/cashctrl/resources/order.rb +94 -0
  88. data/lib/cashctrl/resources/person/category.rb +22 -0
  89. data/lib/cashctrl/resources/person/title.rb +12 -0
  90. data/lib/cashctrl/resources/person.rb +40 -0
  91. data/lib/cashctrl/resources/report/collection.rb +72 -0
  92. data/lib/cashctrl/resources/report/element.rb +80 -0
  93. data/lib/cashctrl/resources/report.rb +60 -0
  94. data/lib/cashctrl/resources/rounding.rb +10 -0
  95. data/lib/cashctrl/resources/salary/book_entry.rb +12 -0
  96. data/lib/cashctrl/resources/salary/category.rb +22 -0
  97. data/lib/cashctrl/resources/salary/certificate/document.rb +72 -0
  98. data/lib/cashctrl/resources/salary/certificate/template.rb +24 -0
  99. data/lib/cashctrl/resources/salary/certificate.rb +30 -0
  100. data/lib/cashctrl/resources/salary/document.rb +62 -0
  101. data/lib/cashctrl/resources/salary/field.rb +38 -0
  102. data/lib/cashctrl/resources/salary/insurance/type.rb +14 -0
  103. data/lib/cashctrl/resources/salary/layout.rb +12 -0
  104. data/lib/cashctrl/resources/salary/payment.rb +56 -0
  105. data/lib/cashctrl/resources/salary/setting.rb +12 -0
  106. data/lib/cashctrl/resources/salary/statement.rb +77 -0
  107. data/lib/cashctrl/resources/salary/status.rb +24 -0
  108. data/lib/cashctrl/resources/salary/sum.rb +12 -0
  109. data/lib/cashctrl/resources/salary/template.rb +22 -0
  110. data/lib/cashctrl/resources/salary/type.rb +24 -0
  111. data/lib/cashctrl/resources/sequence_number.rb +20 -0
  112. data/lib/cashctrl/resources/setting.rb +52 -0
  113. data/lib/cashctrl/resources/tax.rb +10 -0
  114. data/lib/cashctrl/resources/text.rb +10 -0
  115. data/lib/cashctrl/schema.yml +601 -0
  116. data/lib/cashctrl/version.rb +1 -1
  117. data/lib/cashctrl.rb +114 -2
  118. data/lib/generators/model_generator.rb +92 -0
  119. metadata +115 -1
@@ -0,0 +1,601 @@
1
+ account:
2
+ attributes:
3
+ category_id: { type: integer }
4
+ category_display: { type: string, readonly: true }
5
+ account_class: { type: string }
6
+ tax_id: { type: integer }
7
+ tax_name: { type: string, readonly: true }
8
+ currency_id: { type: integer }
9
+ currency_code: { type: string }
10
+ number: { type: string }
11
+ name: { type: string }
12
+ custom: { type: string }
13
+ notes: { type: string }
14
+ attachment_count: { type: integer, readonly: true }
15
+ allocation_count: { type: integer, readonly: true }
16
+ cost_center_ids: { type: string }
17
+ cost_center_numbers: { type: string, readonly: true }
18
+ opening_amount: { type: decimal }
19
+ end_amount: { type: decimal, readonly: true }
20
+ target_min: { type: decimal }
21
+ target_max: { type: decimal }
22
+ target_display: { type: string, readonly: true }
23
+ default_currency_opening_amount: { type: decimal, readonly: true }
24
+ default_currency_end_amount: { type: decimal, readonly: true }
25
+ is_inactive: { type: boolean }
26
+ is_in_salary_type: { type: boolean, readonly: true }
27
+ is_bank_account: { type: boolean, readonly: true }
28
+
29
+ person:
30
+ attributes:
31
+ category_id: { type: integer }
32
+ category_name: { type: string, readonly: true }
33
+ category_display: { type: string, readonly: true }
34
+ thumbnail_file_id: { type: integer }
35
+ certificate_template_id: { type: integer }
36
+ certificate_values: { type: string }
37
+ title: { type: string, readonly: true }
38
+ title_id: { type: integer }
39
+ title_sentence: { type: string, readonly: true }
40
+ gender: { type: string }
41
+ gender_name: { type: string, readonly: true }
42
+ nr: { type: string }
43
+ name: { type: string, readonly: true }
44
+ first_name: { type: string }
45
+ last_name: { type: string }
46
+ company: { type: string }
47
+ position: { type: string }
48
+ industry: { type: string }
49
+ department: { type: string }
50
+ language: { type: string }
51
+ language_name: { type: string, readonly: true }
52
+ iban: { type: string }
53
+ bic: { type: string }
54
+ vat_uid: { type: string }
55
+ date_birth: { type: date }
56
+ discount_percentage: { type: decimal }
57
+ discount_inherited: { type: decimal, readonly: true }
58
+ discount_effective: { type: decimal, readonly: true }
59
+ notes: { type: string }
60
+ email_work: { type: string }
61
+ email_private: { type: string }
62
+ phone_work: { type: string }
63
+ phone_private: { type: string }
64
+ mobile_work: { type: string }
65
+ mobile_private: { type: string }
66
+ url: { type: string }
67
+ address: { type: string }
68
+ zip: { type: string }
69
+ city: { type: string }
70
+ canton: { type: string }
71
+ country: { type: string }
72
+ country_name: { type: string, readonly: true }
73
+ superior_id: { type: integer }
74
+ superior_name: { type: string, readonly: true }
75
+ color: { type: string }
76
+ alt_name: { type: string }
77
+ user_id: { type: integer }
78
+ location_id: { type: integer }
79
+ location_name: { type: string, readonly: true }
80
+ ssn: { type: string }
81
+ insurance_nr: { type: string }
82
+ insurance_member_nr: { type: string }
83
+ custom: { type: string }
84
+ attachment_count: { type: integer, readonly: true }
85
+ children_count: { type: integer, readonly: true }
86
+ is_customer: { type: boolean }
87
+ is_vendor: { type: boolean }
88
+ is_employee: { type: boolean }
89
+ is_insurance: { type: boolean }
90
+ is_family: { type: boolean }
91
+ is_auto_fill_responsible_person: { type: boolean }
92
+ is_inactive: { type: boolean }
93
+
94
+ currency:
95
+ attributes:
96
+ code: { type: string }
97
+ description: { type: string }
98
+ rate: { type: decimal }
99
+ value: { type: string, readonly: true }
100
+ index: { type: string, readonly: true }
101
+ text: { type: string, readonly: true }
102
+ is_default: { type: boolean }
103
+ is_auto: { type: boolean }
104
+
105
+ tax:
106
+ attributes:
107
+ name: { type: string }
108
+ percentage: { type: decimal }
109
+ document_name: { type: string }
110
+ calc_type: { type: string }
111
+ account_id: { type: integer }
112
+ account_name: { type: string, readonly: true }
113
+ is_inactive: { type: boolean }
114
+
115
+ journal:
116
+ attributes:
117
+ debit_id: { type: integer }
118
+ debit_name: { type: string, readonly: true }
119
+ credit_id: { type: integer }
120
+ credit_name: { type: string, readonly: true }
121
+ associate_id: { type: integer }
122
+ associate_name: { type: string, readonly: true }
123
+ tax_id: { type: integer }
124
+ tax_name: { type: string, readonly: true }
125
+ order_id: { type: integer, readonly: true }
126
+ order_book_entry_id: { type: integer, readonly: true }
127
+ salary_book_entry_id: { type: integer, readonly: true }
128
+ statement_id: { type: integer, readonly: true }
129
+ inventory_id: { type: integer, readonly: true }
130
+ import_entry_id: { type: integer, readonly: true }
131
+ type: { type: string, readonly: true }
132
+ date_added: { type: date }
133
+ title: { type: string }
134
+ custom: { type: string }
135
+ notes: { type: string }
136
+ reference: { type: string }
137
+ amount: { type: decimal }
138
+ currency_id: { type: integer }
139
+ currency_rate: { type: decimal }
140
+ currency_code: { type: string, readonly: true }
141
+ account_id: { type: integer }
142
+ account_currency_id: { type: integer, readonly: true }
143
+ account_class: { type: string, readonly: true }
144
+ balance: { type: decimal, readonly: true }
145
+ name_singular: { type: string, readonly: true }
146
+ order_type: { type: string, readonly: true }
147
+ items_count: { type: integer, readonly: true }
148
+ recurrence: { type: string }
149
+ start_date: { type: date }
150
+ end_date: { type: date }
151
+ days_before: { type: integer }
152
+ notify_type: { type: string }
153
+ notify_person_id: { type: integer }
154
+ notify_user_id: { type: integer }
155
+ notify_email: { type: string }
156
+ attachment_count: { type: integer, readonly: true }
157
+ allocation_count: { type: integer, readonly: true }
158
+ cost_center_ids: { type: string }
159
+ cost_center_numbers: { type: string, readonly: true }
160
+ imported: { type: datetime, readonly: true }
161
+ imported_by: { type: string, readonly: true }
162
+ is_recurring: { type: boolean, readonly: true }
163
+
164
+ order:
165
+ attributes:
166
+ category_id: { type: integer }
167
+ category_name: { type: string, readonly: true }
168
+ category_display: { type: string, readonly: true }
169
+ associate_id: { type: integer }
170
+ associate_name: { type: string, readonly: true }
171
+ responsible_person_id: { type: integer }
172
+ responsible_person_name: { type: string, readonly: true }
173
+ type: { type: string }
174
+ nr: { type: string }
175
+ status: { type: string }
176
+ status_name: { type: string, readonly: true }
177
+ date: { type: date }
178
+ due_date: { type: date }
179
+ currency_id: { type: integer }
180
+ currency_code: { type: string, readonly: true }
181
+ currency_rate: { type: decimal }
182
+ discount_percentage: { type: decimal }
183
+ rounding_id: { type: integer }
184
+ description: { type: string }
185
+ header: { type: string }
186
+ footer: { type: string }
187
+ items: { type: json }
188
+ custom: { type: string }
189
+ notes: { type: string }
190
+ total: { type: decimal, readonly: true }
191
+ total_default_currency: { type: decimal, readonly: true }
192
+ attachment_count: { type: integer, readonly: true }
193
+ recurrence: { type: string }
194
+ start_date: { type: date }
195
+ end_date: { type: date }
196
+ days_before: { type: integer }
197
+ notify_type: { type: string }
198
+ notify_person_id: { type: integer }
199
+ notify_user_id: { type: integer }
200
+ notify_email: { type: string }
201
+ is_recurring: { type: boolean, readonly: true }
202
+
203
+ fiscal_period:
204
+ attributes:
205
+ name: { type: string }
206
+ start: { type: date }
207
+ end: { type: date }
208
+ is_current: { type: boolean, readonly: true }
209
+ is_closed: { type: boolean, readonly: true }
210
+ is_custom: { type: boolean }
211
+
212
+ location:
213
+ attributes:
214
+ name: { type: string }
215
+ address: { type: string }
216
+ zip: { type: string }
217
+ city: { type: string }
218
+ country: { type: string }
219
+ country_name: { type: string, readonly: true }
220
+ logo_file_id: { type: integer }
221
+ bic: { type: string }
222
+ iban: { type: string }
223
+ qr_iban: { type: string }
224
+ vat_uid: { type: string }
225
+ is_default: { type: boolean }
226
+
227
+ rounding:
228
+ attributes:
229
+ name: { type: string }
230
+ account_id: { type: integer }
231
+ account_name: { type: string, readonly: true }
232
+ mode: { type: string }
233
+ value: { type: decimal }
234
+
235
+ sequence_number:
236
+ attributes:
237
+ name: { type: string }
238
+ pattern: { type: string }
239
+ counter: { type: integer }
240
+
241
+ custom_field:
242
+ attributes:
243
+ type: { type: string }
244
+ group_id: { type: integer }
245
+ group_name: { type: string, readonly: true }
246
+ name: { type: string }
247
+ description: { type: string }
248
+ data_type: { type: string }
249
+ values: { type: string }
250
+ is_multi: { type: boolean }
251
+
252
+ file:
253
+ attributes:
254
+ category_id: { type: integer }
255
+ category_name: { type: string, readonly: true }
256
+ name: { type: string }
257
+ mime_type: { type: string }
258
+ size: { type: integer, readonly: true }
259
+ width: { type: integer, readonly: true }
260
+ height: { type: integer, readonly: true }
261
+ notes: { type: string }
262
+ is_archived: { type: boolean, readonly: true }
263
+
264
+ article:
265
+ attributes:
266
+ category_id: { type: integer }
267
+ category_name: { type: string, readonly: true }
268
+ nr: { type: string }
269
+ name: { type: string }
270
+ description: { type: string }
271
+ unit_id: { type: integer }
272
+ unit_name: { type: string, readonly: true }
273
+ unit_price: { type: decimal }
274
+ sales_account_id: { type: integer }
275
+ sales_account_name: { type: string, readonly: true }
276
+ purchase_account_id: { type: integer }
277
+ purchase_account_name: { type: string, readonly: true }
278
+ sales_tax_id: { type: integer }
279
+ sales_tax_name: { type: string, readonly: true }
280
+ purchase_tax_id: { type: integer }
281
+ purchase_tax_name: { type: string, readonly: true }
282
+ currency_id: { type: integer }
283
+ currency_code: { type: string, readonly: true }
284
+ last_purchase_price: { type: decimal, readonly: true }
285
+ last_sales_price: { type: decimal, readonly: true }
286
+ bin_location: { type: string }
287
+ stock: { type: decimal }
288
+ min_stock: { type: decimal }
289
+ custom: { type: string }
290
+ notes: { type: string }
291
+ attachment_count: { type: integer, readonly: true }
292
+ is_stock_article: { type: boolean }
293
+ is_purchase_price_gross: { type: boolean }
294
+ is_sales_price_gross: { type: boolean }
295
+ is_inactive: { type: boolean }
296
+
297
+ asset:
298
+ attributes:
299
+ category_id: { type: integer }
300
+ category_name: { type: string, readonly: true }
301
+ nr: { type: string }
302
+ name: { type: string }
303
+ date_acquired: { type: date }
304
+ value_acquisition: { type: decimal }
305
+ value_current: { type: decimal, readonly: true }
306
+ value_depreciation: { type: decimal, readonly: true }
307
+ value_salvage: { type: decimal }
308
+ depreciation_type: { type: string }
309
+ depreciation_rate: { type: decimal }
310
+ useful_life: { type: integer }
311
+ account_asset_id: { type: integer }
312
+ account_asset_name: { type: string, readonly: true }
313
+ account_depreciation_id: { type: integer }
314
+ account_depreciation_name: { type: string, readonly: true }
315
+ account_expense_id: { type: integer }
316
+ account_expense_name: { type: string, readonly: true }
317
+ custom: { type: string }
318
+ notes: { type: string }
319
+ attachment_count: { type: integer, readonly: true }
320
+ is_inactive: { type: boolean }
321
+
322
+ unit:
323
+ attributes:
324
+ name: { type: string }
325
+
326
+ category:
327
+ attributes:
328
+ parent_id: { type: integer }
329
+ name: { type: string }
330
+ sequence: { type: integer }
331
+
332
+ text:
333
+ attributes:
334
+ type: { type: string }
335
+ name: { type: string }
336
+ value: { type: string }
337
+
338
+ report:
339
+ attributes:
340
+ name: { type: string }
341
+ type: { type: string }
342
+ data: { type: json }
343
+ columns: { type: json }
344
+ has_children: { type: boolean, readonly: true }
345
+
346
+ setting:
347
+ attributes:
348
+ fiscal_period_id: { type: integer }
349
+ fiscal_period_name: { type: string, readonly: true }
350
+ default_currency_id: { type: integer }
351
+ default_currency_code: { type: string, readonly: true }
352
+ default_location_id: { type: integer }
353
+ default_location_name: { type: string, readonly: true }
354
+ default_debit_id: { type: integer }
355
+ default_debit_name: { type: string, readonly: true }
356
+ default_credit_id: { type: integer }
357
+ default_credit_name: { type: string, readonly: true }
358
+ default_opening_id: { type: integer }
359
+ default_opening_name: { type: string, readonly: true }
360
+ default_tax_id: { type: integer }
361
+ default_tax_name: { type: string, readonly: true }
362
+ default_order_category_id: { type: integer }
363
+ default_person_category_customer_id: { type: integer }
364
+ default_person_category_vendor_id: { type: integer }
365
+ logo_file_id: { type: integer }
366
+ csv_delimiter: { type: string }
367
+ journal_import_duplicate_check: { type: string }
368
+ journal_import_force_duplicate_detection: { type: boolean }
369
+ tax_accounting_method: { type: string }
370
+ tax_type: { type: string }
371
+
372
+ history:
373
+ attributes:
374
+ type: { type: string }
375
+ action: { type: string }
376
+ entity_id: { type: integer }
377
+ entity_name: { type: string }
378
+ user_id: { type: integer }
379
+ user_name: { type: string }
380
+ date: { type: datetime }
381
+ description: { type: string }
382
+ changes: { type: json }
383
+
384
+ bank:
385
+ attributes:
386
+ account_id: { type: integer }
387
+ account_name: { type: string, readonly: true }
388
+ name: { type: string }
389
+ iban: { type: string }
390
+ bic: { type: string }
391
+ qr_iban: { type: string }
392
+
393
+ cost_center:
394
+ attributes:
395
+ category_id: { type: integer }
396
+ category_name: { type: string, readonly: true }
397
+ number: { type: string }
398
+ name: { type: string }
399
+ notes: { type: string }
400
+
401
+ title:
402
+ attributes:
403
+ name: { type: string }
404
+ sentence: { type: string }
405
+ gender: { type: string }
406
+
407
+ custom_field_group:
408
+ attributes:
409
+ type: { type: string }
410
+ name: { type: string }
411
+
412
+ order_book_entry:
413
+ attributes:
414
+ order_id: { type: integer }
415
+ account_id: { type: integer }
416
+ account_name: { type: string, readonly: true }
417
+ tax_id: { type: integer }
418
+ tax_name: { type: string, readonly: true }
419
+ description: { type: string }
420
+ amount: { type: decimal }
421
+
422
+ order_document:
423
+ attributes:
424
+ order_id: { type: integer }
425
+ layout_id: { type: integer }
426
+ name: { type: string }
427
+ file_id: { type: integer, readonly: true }
428
+ mime_type: { type: string, readonly: true }
429
+
430
+ order_layout:
431
+ attributes:
432
+ type: { type: string }
433
+ name: { type: string }
434
+ page_size: { type: string }
435
+ margin_top: { type: decimal }
436
+ margin_bottom: { type: decimal }
437
+ margin_left: { type: decimal }
438
+ margin_right: { type: decimal }
439
+ is_default: { type: boolean }
440
+
441
+ order_payment:
442
+ attributes:
443
+ order_id: { type: integer }
444
+ account_id: { type: integer }
445
+ account_name: { type: string, readonly: true }
446
+ date: { type: date }
447
+ amount: { type: decimal }
448
+ notes: { type: string }
449
+
450
+ journal_import:
451
+ attributes:
452
+ account_id: { type: integer }
453
+ account_name: { type: string, readonly: true }
454
+ name: { type: string }
455
+ date_start: { type: date }
456
+ date_end: { type: date }
457
+ total_entries: { type: integer, readonly: true }
458
+ mapped_entries: { type: integer, readonly: true }
459
+ booked_entries: { type: integer, readonly: true }
460
+
461
+ journal_import_entry:
462
+ attributes:
463
+ import_id: { type: integer }
464
+ date: { type: date }
465
+ amount: { type: decimal }
466
+ description: { type: string }
467
+ reference: { type: string }
468
+ balance: { type: decimal }
469
+ debit_id: { type: integer }
470
+ credit_id: { type: integer }
471
+ is_booked: { type: boolean, readonly: true }
472
+ is_duplicate: { type: boolean, readonly: true }
473
+
474
+ fiscal_period_task:
475
+ attributes:
476
+ fiscal_period_id: { type: integer }
477
+ name: { type: string }
478
+ description: { type: string }
479
+ is_done: { type: boolean }
480
+
481
+ report_collection:
482
+ attributes:
483
+ name: { type: string }
484
+ fiscal_period_id: { type: integer }
485
+ elements: { type: json }
486
+
487
+ report_element:
488
+ attributes:
489
+ collection_id: { type: integer }
490
+ report_id: { type: integer }
491
+ name: { type: string }
492
+ type: { type: string }
493
+ params: { type: json }
494
+ sequence: { type: integer }
495
+
496
+ salary_book_entry:
497
+ attributes:
498
+ salary_id: { type: integer }
499
+ statement_id: { type: integer }
500
+ account_id: { type: integer }
501
+ account_name: { type: string, readonly: true }
502
+ description: { type: string }
503
+ amount: { type: decimal }
504
+
505
+ salary_certificate:
506
+ attributes:
507
+ person_id: { type: integer }
508
+ person_name: { type: string, readonly: true }
509
+ template_id: { type: integer }
510
+ year: { type: integer }
511
+ values: { type: json }
512
+
513
+ salary_document:
514
+ attributes:
515
+ salary_id: { type: integer }
516
+ statement_id: { type: integer }
517
+ layout_id: { type: integer }
518
+ name: { type: string }
519
+ file_id: { type: integer, readonly: true }
520
+
521
+ salary_field:
522
+ attributes:
523
+ type_id: { type: integer }
524
+ name: { type: string }
525
+ description: { type: string }
526
+ calc_formula: { type: string }
527
+ sequence: { type: integer }
528
+ is_visible: { type: boolean }
529
+
530
+ salary_layout:
531
+ attributes:
532
+ type: { type: string }
533
+ name: { type: string }
534
+ is_default: { type: boolean }
535
+
536
+ salary_payment:
537
+ attributes:
538
+ statement_id: { type: integer }
539
+ account_id: { type: integer }
540
+ account_name: { type: string, readonly: true }
541
+ date: { type: date }
542
+ amount: { type: decimal }
543
+ notes: { type: string }
544
+
545
+ salary_setting:
546
+ attributes:
547
+ name: { type: string }
548
+ value: { type: string }
549
+
550
+ salary_statement:
551
+ attributes:
552
+ person_id: { type: integer }
553
+ person_name: { type: string, readonly: true }
554
+ period_start: { type: date }
555
+ period_end: { type: date }
556
+ status: { type: string }
557
+ total_gross: { type: decimal, readonly: true }
558
+ total_net: { type: decimal, readonly: true }
559
+
560
+ salary_status:
561
+ attributes:
562
+ name: { type: string }
563
+ sequence: { type: integer }
564
+
565
+ salary_sum:
566
+ attributes:
567
+ type_id: { type: integer }
568
+ name: { type: string }
569
+ description: { type: string }
570
+ sequence: { type: integer }
571
+
572
+ salary_template:
573
+ attributes:
574
+ name: { type: string }
575
+ description: { type: string }
576
+
577
+ salary_type:
578
+ attributes:
579
+ name: { type: string }
580
+ description: { type: string }
581
+ account_id: { type: integer }
582
+ account_name: { type: string, readonly: true }
583
+
584
+ insurance_type:
585
+ attributes:
586
+ name: { type: string }
587
+ code: { type: string }
588
+ description: { type: string }
589
+
590
+ certificate_document:
591
+ attributes:
592
+ certificate_id: { type: integer }
593
+ layout_id: { type: integer }
594
+ name: { type: string }
595
+ file_id: { type: integer, readonly: true }
596
+
597
+ certificate_template:
598
+ attributes:
599
+ name: { type: string }
600
+ year: { type: integer }
601
+ fields: { type: json }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cashctrl
4
- VERSION = "0.0.1"
4
+ VERSION = "0.1.0"
5
5
  end