@erp-galoper/main-package 1.0.32 → 1.0.33

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 (2) hide show
  1. package/openapi.ts +289 -93
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -133,7 +133,7 @@ export interface paths {
133
133
  */
134
134
  get: operations["authentication_views_get_user_info"];
135
135
  };
136
- "/api/v1/inventory/warehouse/": {
136
+ "/api/v1/inventory/warehouses/": {
137
137
  /**
138
138
  * New Default Warehouse
139
139
  * @description Endpoint for create warehouse.
@@ -144,24 +144,12 @@ export interface paths {
144
144
  * - Warehouse Created Successfully
145
145
  * - 403: forbidden
146
146
  * - You do not have permission to perform this action
147
+ * - 500: internalServerError
148
+ * - Internal server error
147
149
  */
148
150
  post: operations["inventory_warehouse_views_new_default_warehouse"];
149
151
  };
150
- "/api/v1/inventory/warehouse/onboarding/": {
151
- /**
152
- * Get Warehouse Onboarding
153
- * @description Endpoint for retrieve warehouse.
154
- * Possible Responses:
155
- * - 200: success
156
- * - Success
157
- * - 404: warehouseNotfound
158
- * - Warehouse not found
159
- * - 403: forbidden
160
- * - You do not have permission to perform this action
161
- */
162
- get: operations["inventory_warehouse_views_get_warehouse_onboarding"];
163
- };
164
- "/api/v1/inventory/warehouse/{id}/": {
152
+ "/api/v1/inventory/warehouses/{id}/": {
165
153
  /**
166
154
  * Get Warehouse
167
155
  * @description Endpoint for retrieve warehouse.
@@ -172,6 +160,8 @@ export interface paths {
172
160
  * - Warehouse not found
173
161
  * - 403: forbidden
174
162
  * - You do not have permission to perform this action
163
+ * - 500: internalServerError
164
+ * - Internal server error
175
165
  */
176
166
  get: operations["inventory_warehouse_views_get_warehouse"];
177
167
  /**
@@ -186,6 +176,8 @@ export interface paths {
186
176
  * - Warehouse updated successfully
187
177
  * - 403: forbidden
188
178
  * - You do not have permission to perform this action
179
+ * - 500: internalServerError
180
+ * - Internal server error
189
181
  */
190
182
  patch: operations["inventory_warehouse_views_update_warehouse"];
191
183
  };
@@ -200,20 +192,24 @@ export interface paths {
200
192
  * - Company not found
201
193
  * - 403: forbidden
202
194
  * - You do not have permission to perform this action
195
+ * - 500: internalServerError
196
+ * - Internal server error
203
197
  */
204
198
  get: operations["company_views_get_company"];
205
199
  /**
206
200
  * New Company
207
201
  * @description Endpoint for create company.
208
202
  * Possible Responses:
209
- * - 400: invalidParameters
210
- * - Invalid parameters
203
+ * - 400: invalidParameters / companyAlreadyExist
204
+ * - Invalid parameters / Company already exist
211
205
  * - 201: companyCreated
212
206
  * - Company Created Successfully
213
207
  * - 403: forbidden
214
208
  * - You do not have permission to perform this action
215
209
  * - 404: imageNotFound
216
210
  * - Image Path Not Found
211
+ * - 500: internalServerError
212
+ * - Internal server error
217
213
  */
218
214
  post: operations["company_views_new_company"];
219
215
  };
@@ -230,10 +226,12 @@ export interface paths {
230
226
  * - You do not have permission to perform this action
231
227
  * -404: companyNotFound / currencyNotFound / imageNotFound
232
228
  * - Company not found / Currency not found / Image path not found
229
+ * - 500: internalServerError
230
+ * - Internal server error
233
231
  */
234
232
  patch: operations["company_views_update_company"];
235
233
  };
236
- "/api/v1/company/branch/new/": {
234
+ "/api/v1/company/branches/new/": {
237
235
  /**
238
236
  * New Branch
239
237
  * @description Endpoint for create branch.
@@ -246,10 +244,12 @@ export interface paths {
246
244
  * - You do not have permission to perform this action
247
245
  * - 404: companyNotFound
248
246
  * - Company not found
247
+ * - 500: internalServerError
248
+ * - Internal server error
249
249
  */
250
250
  post: operations["company_views_new_branch"];
251
251
  };
252
- "/api/v1/company/branch/{id}/": {
252
+ "/api/v1/company/branches/{id}/": {
253
253
  /**
254
254
  * Get Branch
255
255
  * @description Endpoint for retrieve branch.
@@ -260,6 +260,8 @@ export interface paths {
260
260
  * - Branch not found
261
261
  * - 403: forbidden
262
262
  * - You do not have permission to perform this action
263
+ * - 500: internalServerError
264
+ * - Internal server error
263
265
  */
264
266
  get: operations["company_views_get_branch"];
265
267
  /**
@@ -269,14 +271,32 @@ export interface paths {
269
271
  * - 400: invalidParameters
270
272
  * - Invalid parameters
271
273
  * - 200: branchUpdated
272
- * - Branch created successfully
274
+ * - Branch updated successfully
273
275
  * - 403: forbidden
274
276
  * - "You do not have permission to perform this action"
275
277
  * -404: branchNotFound
276
278
  * - Branch not found
279
+ * - 500: internalServerError
280
+ * - Internal server error
277
281
  */
278
282
  patch: operations["company_views_update_branch"];
279
283
  };
284
+ "/api/v1/onboarding/warehouse/": {
285
+ /**
286
+ * Get Warehouse Onboarding
287
+ * @description Endpoint for retrieve warehouse.
288
+ * Possible Responses:
289
+ * - 200: success
290
+ * - Success
291
+ * - 404: warehouseNotfound
292
+ * - Warehouse not found
293
+ * - 403: forbidden
294
+ * - You do not have permission to perform this action
295
+ * - 500: internalServerError
296
+ * - Internal server error
297
+ */
298
+ get: operations["company_views_get_warehouse_onboarding"];
299
+ };
280
300
  "/api/v1/onboarding/find_steps/": {
281
301
  /**
282
302
  * Company Setup Steps
@@ -298,10 +318,12 @@ export interface paths {
298
318
  * - Branch not found
299
319
  * - 403: forbidden
300
320
  * - You do not have permission to perform this action
321
+ * - 500: internalServerError
322
+ * - Internal server error
301
323
  */
302
324
  get: operations["company_views_get_branch_onboarding"];
303
325
  };
304
- "/api/v1/chartofaccount/chart_of_account_options/": {
326
+ "/api/v1/chart_of_account/chart_of_account_options/": {
305
327
  /**
306
328
  * Get Chart Of Account Options
307
329
  * @description Endpoint for load Chart of Account Options.
@@ -318,6 +340,8 @@ export interface paths {
318
340
  * Possible Responses:
319
341
  * - 200: Success
320
342
  * - Success"
343
+ * - 500: internalServerError
344
+ * - Internal server error
321
345
  */
322
346
  get: operations["common_views_get_fiscal_year_end_date"];
323
347
  };
@@ -328,8 +352,10 @@ export interface paths {
328
352
  * Possible Responses:
329
353
  * - 400: unsupportedFileType / noFileProvided
330
354
  * - Unsupported file type / No file provided
331
- * - 200: Success
332
- * - Success
355
+ * - 200: success
356
+ * - success
357
+ * - 500: internalServerError
358
+ * - Internal server error
333
359
  */
334
360
  post: operations["common_views_upload_image"];
335
361
  };
@@ -342,6 +368,8 @@ export interface paths {
342
368
  * - Success
343
369
  * - 404: countryNotFound
344
370
  * - Not Found
371
+ * - 500: internalServerError
372
+ * - Internal server error
345
373
  */
346
374
  get: operations["common_views_get_currency_code"];
347
375
  };
@@ -356,6 +384,8 @@ export interface paths {
356
384
  * - Galoper Settings not found
357
385
  * - 403: forbidden
358
386
  * - You do not have permission to perform this action
387
+ * - 500: internalServerError
388
+ * - Internal server error
359
389
  */
360
390
  get: operations["admin_panel_views_get_galoper_setting"];
361
391
  };
@@ -368,10 +398,12 @@ export interface paths {
368
398
  * - Invalid parameters
369
399
  * - 404: galoperSettingNotFound / companyNotFound
370
400
  * - Galoper Setting not found / Company not found
371
- * - 200: success
372
- * - Success
401
+ * - 200: chartOfAccountUpdated
402
+ * - Chart of account updated successfully
373
403
  * - 403: forbidden
374
404
  * - You do not have permission to perform this action
405
+ * - 500: internalServerError
406
+ * - Internal server error
375
407
  */
376
408
  patch: operations["admin_panel_views_update_load_chart_of_account"];
377
409
  };
@@ -382,14 +414,14 @@ export interface paths {
382
414
  * Possible Responses:
383
415
  * - 400: invalidParameters
384
416
  * - Invalid parameters
385
- * - 200: success
386
- * - Success
387
417
  * - 201: chartOfAccountCreatedSuccessfully
388
418
  * - Chart of Account Created Successfully
389
419
  * - 403: forbidden
390
420
  * - You do not have permission to perform this action
391
421
  * - 404: galoperSettingNotFound / companyNotFound
392
422
  * - Galoper Setting not found / Company not found
423
+ * - 500: internalServerError
424
+ * - Internal server error
393
425
  */
394
426
  post: operations["admin_panel_views_load_chart_of_account"];
395
427
  };
@@ -400,17 +432,29 @@ export interface paths {
400
432
  * Possible Responses:
401
433
  * - 400: invalidParameters
402
434
  * - Invalid parameters
403
- * - 201: settingsCraeted
435
+ * - 201: settingsCreated
404
436
  * - Settings Created Successfully
405
437
  * - 403: forbidden
406
438
  * - You do not have permission to perform this action
407
439
  * - 404: companyNotFound
408
440
  * - Company not Found
441
+ * - 500: internalServerError
442
+ * - Internal server error
409
443
  */
410
444
  post: operations["erp_settings_views_load_settings"];
411
445
  };
412
446
  "/api/v1/settings/get_settings/": {
413
- /** Get Settings Options */
447
+ /**
448
+ * Get Settings Options
449
+ * @description Endpoint for get selected apps.
450
+ * Possible Responses:
451
+ * - 200: success
452
+ * - Success
453
+ * - 404: galoperSettingNotFound
454
+ * - Galoper settings not found
455
+ * - 500: internalServerError
456
+ * - Internal server error
457
+ */
414
458
  get: operations["erp_settings_views_get_settings_options"];
415
459
  };
416
460
  "/api/v1/reports/profit_loss/": {
@@ -600,6 +644,18 @@ export interface components {
600
644
  address: string;
601
645
  [key: string]: unknown;
602
646
  };
647
+ /** UpdateWarehouse */
648
+ UpdateWarehouse: {
649
+ /** Name */
650
+ name?: string | null;
651
+ /** Country */
652
+ country?: string | null;
653
+ /** City */
654
+ city?: string | null;
655
+ /** Address */
656
+ address?: string | null;
657
+ [key: string]: unknown;
658
+ };
603
659
  /** RecordUserSchema */
604
660
  RecordUserSchema: {
605
661
  /** Id */
@@ -635,18 +691,6 @@ export interface components {
635
691
  address: string;
636
692
  [key: string]: unknown;
637
693
  };
638
- /** UpdateWarehouse */
639
- UpdateWarehouse: {
640
- /** Name */
641
- name?: string | null;
642
- /** Country */
643
- country?: string | null;
644
- /** City */
645
- city?: string | null;
646
- /** Address */
647
- address?: string | null;
648
- [key: string]: unknown;
649
- };
650
694
  /** CurrencyName */
651
695
  CurrencyName: {
652
696
  /** Name */
@@ -891,10 +935,8 @@ export interface components {
891
935
  currencyCode: string;
892
936
  [key: string]: unknown;
893
937
  };
894
- /** RetrieveGaloperSetting */
895
- RetrieveGaloperSetting: {
896
- /** Id */
897
- id: number;
938
+ /** GaloperSettingSchemaList */
939
+ GaloperSettingSchemaList: {
898
940
  /** Accounting */
899
941
  accounting: boolean;
900
942
  /** Purchase */
@@ -915,6 +957,8 @@ export interface components {
915
957
  customer: boolean;
916
958
  /** Bank */
917
959
  bank: boolean;
960
+ /** Loadchartofaccount */
961
+ loadChartOfAccount?: string | null;
918
962
  [key: string]: unknown;
919
963
  };
920
964
  /** GaloperSettingChart */
@@ -1499,6 +1543,8 @@ export interface operations {
1499
1543
  * - Warehouse Created Successfully
1500
1544
  * - 403: forbidden
1501
1545
  * - You do not have permission to perform this action
1546
+ * - 500: internalServerError
1547
+ * - Internal server error
1502
1548
  */
1503
1549
  inventory_warehouse_views_new_default_warehouse: {
1504
1550
  requestBody: {
@@ -1525,35 +1571,8 @@ export interface operations {
1525
1571
  "application/json": components["schemas"]["MessageResponse"];
1526
1572
  };
1527
1573
  };
1528
- };
1529
- };
1530
- /**
1531
- * Get Warehouse Onboarding
1532
- * @description Endpoint for retrieve warehouse.
1533
- * Possible Responses:
1534
- * - 200: success
1535
- * - Success
1536
- * - 404: warehouseNotfound
1537
- * - Warehouse not found
1538
- * - 403: forbidden
1539
- * - You do not have permission to perform this action
1540
- */
1541
- inventory_warehouse_views_get_warehouse_onboarding: {
1542
- responses: {
1543
- /** @description OK */
1544
- 200: {
1545
- content: {
1546
- "application/json": components["schemas"]["RetrieveWarehouse"];
1547
- };
1548
- };
1549
- /** @description Forbidden */
1550
- 403: {
1551
- content: {
1552
- "application/json": components["schemas"]["MessageResponse"];
1553
- };
1554
- };
1555
- /** @description Not Found */
1556
- 404: {
1574
+ /** @description Internal Server Error */
1575
+ 500: {
1557
1576
  content: {
1558
1577
  "application/json": components["schemas"]["MessageResponse"];
1559
1578
  };
@@ -1570,6 +1589,8 @@ export interface operations {
1570
1589
  * - Warehouse not found
1571
1590
  * - 403: forbidden
1572
1591
  * - You do not have permission to perform this action
1592
+ * - 500: internalServerError
1593
+ * - Internal server error
1573
1594
  */
1574
1595
  inventory_warehouse_views_get_warehouse: {
1575
1596
  parameters: {
@@ -1596,6 +1617,12 @@ export interface operations {
1596
1617
  "application/json": components["schemas"]["MessageResponse"];
1597
1618
  };
1598
1619
  };
1620
+ /** @description Internal Server Error */
1621
+ 500: {
1622
+ content: {
1623
+ "application/json": components["schemas"]["MessageResponse"];
1624
+ };
1625
+ };
1599
1626
  };
1600
1627
  };
1601
1628
  /**
@@ -1610,6 +1637,8 @@ export interface operations {
1610
1637
  * - Warehouse updated successfully
1611
1638
  * - 403: forbidden
1612
1639
  * - You do not have permission to perform this action
1640
+ * - 500: internalServerError
1641
+ * - Internal server error
1613
1642
  */
1614
1643
  inventory_warehouse_views_update_warehouse: {
1615
1644
  parameters: {
@@ -1647,6 +1676,12 @@ export interface operations {
1647
1676
  "application/json": components["schemas"]["MessageResponse"];
1648
1677
  };
1649
1678
  };
1679
+ /** @description Internal Server Error */
1680
+ 500: {
1681
+ content: {
1682
+ "application/json": components["schemas"]["MessageResponse"];
1683
+ };
1684
+ };
1650
1685
  };
1651
1686
  };
1652
1687
  /**
@@ -1659,6 +1694,8 @@ export interface operations {
1659
1694
  * - Company not found
1660
1695
  * - 403: forbidden
1661
1696
  * - You do not have permission to perform this action
1697
+ * - 500: internalServerError
1698
+ * - Internal server error
1662
1699
  */
1663
1700
  company_views_get_company: {
1664
1701
  responses: {
@@ -1680,20 +1717,28 @@ export interface operations {
1680
1717
  "application/json": components["schemas"]["MessageResponse"];
1681
1718
  };
1682
1719
  };
1720
+ /** @description Internal Server Error */
1721
+ 500: {
1722
+ content: {
1723
+ "application/json": components["schemas"]["MessageResponse"];
1724
+ };
1725
+ };
1683
1726
  };
1684
1727
  };
1685
1728
  /**
1686
1729
  * New Company
1687
1730
  * @description Endpoint for create company.
1688
1731
  * Possible Responses:
1689
- * - 400: invalidParameters
1690
- * - Invalid parameters
1732
+ * - 400: invalidParameters / companyAlreadyExist
1733
+ * - Invalid parameters / Company already exist
1691
1734
  * - 201: companyCreated
1692
1735
  * - Company Created Successfully
1693
1736
  * - 403: forbidden
1694
1737
  * - You do not have permission to perform this action
1695
1738
  * - 404: imageNotFound
1696
1739
  * - Image Path Not Found
1740
+ * - 500: internalServerError
1741
+ * - Internal server error
1697
1742
  */
1698
1743
  company_views_new_company: {
1699
1744
  requestBody: {
@@ -1726,6 +1771,12 @@ export interface operations {
1726
1771
  "application/json": components["schemas"]["MessageResponse"];
1727
1772
  };
1728
1773
  };
1774
+ /** @description Internal Server Error */
1775
+ 500: {
1776
+ content: {
1777
+ "application/json": components["schemas"]["MessageResponse"];
1778
+ };
1779
+ };
1729
1780
  };
1730
1781
  };
1731
1782
  /**
@@ -1740,6 +1791,8 @@ export interface operations {
1740
1791
  * - You do not have permission to perform this action
1741
1792
  * -404: companyNotFound / currencyNotFound / imageNotFound
1742
1793
  * - Company not found / Currency not found / Image path not found
1794
+ * - 500: internalServerError
1795
+ * - Internal server error
1743
1796
  */
1744
1797
  company_views_update_company: {
1745
1798
  parameters: {
@@ -1777,6 +1830,12 @@ export interface operations {
1777
1830
  "application/json": components["schemas"]["MessageResponse"];
1778
1831
  };
1779
1832
  };
1833
+ /** @description Internal Server Error */
1834
+ 500: {
1835
+ content: {
1836
+ "application/json": components["schemas"]["MessageResponse"];
1837
+ };
1838
+ };
1780
1839
  };
1781
1840
  };
1782
1841
  /**
@@ -1791,6 +1850,8 @@ export interface operations {
1791
1850
  * - You do not have permission to perform this action
1792
1851
  * - 404: companyNotFound
1793
1852
  * - Company not found
1853
+ * - 500: internalServerError
1854
+ * - Internal server error
1794
1855
  */
1795
1856
  company_views_new_branch: {
1796
1857
  requestBody: {
@@ -1823,6 +1884,12 @@ export interface operations {
1823
1884
  "application/json": components["schemas"]["MessageResponse"];
1824
1885
  };
1825
1886
  };
1887
+ /** @description Internal Server Error */
1888
+ 500: {
1889
+ content: {
1890
+ "application/json": components["schemas"]["MessageResponse"];
1891
+ };
1892
+ };
1826
1893
  };
1827
1894
  };
1828
1895
  /**
@@ -1835,6 +1902,8 @@ export interface operations {
1835
1902
  * - Branch not found
1836
1903
  * - 403: forbidden
1837
1904
  * - You do not have permission to perform this action
1905
+ * - 500: internalServerError
1906
+ * - Internal server error
1838
1907
  */
1839
1908
  company_views_get_branch: {
1840
1909
  parameters: {
@@ -1861,6 +1930,12 @@ export interface operations {
1861
1930
  "application/json": components["schemas"]["MessageResponse"];
1862
1931
  };
1863
1932
  };
1933
+ /** @description Internal Server Error */
1934
+ 500: {
1935
+ content: {
1936
+ "application/json": components["schemas"]["MessageResponse"];
1937
+ };
1938
+ };
1864
1939
  };
1865
1940
  };
1866
1941
  /**
@@ -1870,11 +1945,13 @@ export interface operations {
1870
1945
  * - 400: invalidParameters
1871
1946
  * - Invalid parameters
1872
1947
  * - 200: branchUpdated
1873
- * - Branch created successfully
1948
+ * - Branch updated successfully
1874
1949
  * - 403: forbidden
1875
1950
  * - "You do not have permission to perform this action"
1876
1951
  * -404: branchNotFound
1877
1952
  * - Branch not found
1953
+ * - 500: internalServerError
1954
+ * - Internal server error
1878
1955
  */
1879
1956
  company_views_update_branch: {
1880
1957
  parameters: {
@@ -1912,6 +1989,53 @@ export interface operations {
1912
1989
  "application/json": components["schemas"]["MessageResponse"];
1913
1990
  };
1914
1991
  };
1992
+ /** @description Internal Server Error */
1993
+ 500: {
1994
+ content: {
1995
+ "application/json": components["schemas"]["MessageResponse"];
1996
+ };
1997
+ };
1998
+ };
1999
+ };
2000
+ /**
2001
+ * Get Warehouse Onboarding
2002
+ * @description Endpoint for retrieve warehouse.
2003
+ * Possible Responses:
2004
+ * - 200: success
2005
+ * - Success
2006
+ * - 404: warehouseNotfound
2007
+ * - Warehouse not found
2008
+ * - 403: forbidden
2009
+ * - You do not have permission to perform this action
2010
+ * - 500: internalServerError
2011
+ * - Internal server error
2012
+ */
2013
+ company_views_get_warehouse_onboarding: {
2014
+ responses: {
2015
+ /** @description OK */
2016
+ 200: {
2017
+ content: {
2018
+ "application/json": components["schemas"]["RetrieveWarehouse"];
2019
+ };
2020
+ };
2021
+ /** @description Forbidden */
2022
+ 403: {
2023
+ content: {
2024
+ "application/json": components["schemas"]["MessageResponse"];
2025
+ };
2026
+ };
2027
+ /** @description Not Found */
2028
+ 404: {
2029
+ content: {
2030
+ "application/json": components["schemas"]["MessageResponse"];
2031
+ };
2032
+ };
2033
+ /** @description Internal Server Error */
2034
+ 500: {
2035
+ content: {
2036
+ "application/json": components["schemas"]["MessageResponse"];
2037
+ };
2038
+ };
1915
2039
  };
1916
2040
  };
1917
2041
  /**
@@ -1947,6 +2071,8 @@ export interface operations {
1947
2071
  * - Branch not found
1948
2072
  * - 403: forbidden
1949
2073
  * - You do not have permission to perform this action
2074
+ * - 500: internalServerError
2075
+ * - Internal server error
1950
2076
  */
1951
2077
  company_views_get_branch_onboarding: {
1952
2078
  responses: {
@@ -1968,6 +2094,12 @@ export interface operations {
1968
2094
  "application/json": components["schemas"]["MessageResponse"];
1969
2095
  };
1970
2096
  };
2097
+ /** @description Internal Server Error */
2098
+ 500: {
2099
+ content: {
2100
+ "application/json": components["schemas"]["MessageResponse"];
2101
+ };
2102
+ };
1971
2103
  };
1972
2104
  };
1973
2105
  /**
@@ -1993,6 +2125,8 @@ export interface operations {
1993
2125
  * Possible Responses:
1994
2126
  * - 200: Success
1995
2127
  * - Success"
2128
+ * - 500: internalServerError
2129
+ * - Internal server error
1996
2130
  */
1997
2131
  common_views_get_fiscal_year_end_date: {
1998
2132
  parameters: {
@@ -2008,6 +2142,12 @@ export interface operations {
2008
2142
  "application/json": components["schemas"]["FiscalYearCalculationOut"];
2009
2143
  };
2010
2144
  };
2145
+ /** @description Internal Server Error */
2146
+ 500: {
2147
+ content: {
2148
+ "application/json": components["schemas"]["MessageResponse"];
2149
+ };
2150
+ };
2011
2151
  };
2012
2152
  };
2013
2153
  /**
@@ -2016,8 +2156,10 @@ export interface operations {
2016
2156
  * Possible Responses:
2017
2157
  * - 400: unsupportedFileType / noFileProvided
2018
2158
  * - Unsupported file type / No file provided
2019
- * - 200: Success
2020
- * - Success
2159
+ * - 200: success
2160
+ * - success
2161
+ * - 500: internalServerError
2162
+ * - Internal server error
2021
2163
  */
2022
2164
  common_views_upload_image: {
2023
2165
  requestBody: {
@@ -2046,6 +2188,12 @@ export interface operations {
2046
2188
  "application/json": components["schemas"]["MessageResponse"];
2047
2189
  };
2048
2190
  };
2191
+ /** @description Internal Server Error */
2192
+ 500: {
2193
+ content: {
2194
+ "application/json": components["schemas"]["MessageResponse"];
2195
+ };
2196
+ };
2049
2197
  };
2050
2198
  };
2051
2199
  /**
@@ -2056,6 +2204,8 @@ export interface operations {
2056
2204
  * - Success
2057
2205
  * - 404: countryNotFound
2058
2206
  * - Not Found
2207
+ * - 500: internalServerError
2208
+ * - Internal server error
2059
2209
  */
2060
2210
  common_views_get_currency_code: {
2061
2211
  parameters: {
@@ -2076,6 +2226,12 @@ export interface operations {
2076
2226
  "application/json": components["schemas"]["MessageResponse"];
2077
2227
  };
2078
2228
  };
2229
+ /** @description Internal Server Error */
2230
+ 500: {
2231
+ content: {
2232
+ "application/json": components["schemas"]["MessageResponse"];
2233
+ };
2234
+ };
2079
2235
  };
2080
2236
  };
2081
2237
  /**
@@ -2088,13 +2244,15 @@ export interface operations {
2088
2244
  * - Galoper Settings not found
2089
2245
  * - 403: forbidden
2090
2246
  * - You do not have permission to perform this action
2247
+ * - 500: internalServerError
2248
+ * - Internal server error
2091
2249
  */
2092
2250
  admin_panel_views_get_galoper_setting: {
2093
2251
  responses: {
2094
2252
  /** @description OK */
2095
2253
  200: {
2096
2254
  content: {
2097
- "application/json": components["schemas"]["RetrieveGaloperSetting"];
2255
+ "application/json": components["schemas"]["GaloperSettingSchemaList"];
2098
2256
  };
2099
2257
  };
2100
2258
  /** @description Forbidden */
@@ -2109,6 +2267,12 @@ export interface operations {
2109
2267
  "application/json": components["schemas"]["MessageResponse"];
2110
2268
  };
2111
2269
  };
2270
+ /** @description Internal Server Error */
2271
+ 500: {
2272
+ content: {
2273
+ "application/json": components["schemas"]["MessageResponse"];
2274
+ };
2275
+ };
2112
2276
  };
2113
2277
  };
2114
2278
  /**
@@ -2119,10 +2283,12 @@ export interface operations {
2119
2283
  * - Invalid parameters
2120
2284
  * - 404: galoperSettingNotFound / companyNotFound
2121
2285
  * - Galoper Setting not found / Company not found
2122
- * - 200: success
2123
- * - Success
2286
+ * - 200: chartOfAccountUpdated
2287
+ * - Chart of account updated successfully
2124
2288
  * - 403: forbidden
2125
2289
  * - You do not have permission to perform this action
2290
+ * - 500: internalServerError
2291
+ * - Internal server error
2126
2292
  */
2127
2293
  admin_panel_views_update_load_chart_of_account: {
2128
2294
  requestBody: {
@@ -2155,6 +2321,12 @@ export interface operations {
2155
2321
  "application/json": components["schemas"]["MessageResponse"];
2156
2322
  };
2157
2323
  };
2324
+ /** @description Internal Server Error */
2325
+ 500: {
2326
+ content: {
2327
+ "application/json": components["schemas"]["MessageResponse"];
2328
+ };
2329
+ };
2158
2330
  };
2159
2331
  };
2160
2332
  /**
@@ -2163,14 +2335,14 @@ export interface operations {
2163
2335
  * Possible Responses:
2164
2336
  * - 400: invalidParameters
2165
2337
  * - Invalid parameters
2166
- * - 200: success
2167
- * - Success
2168
2338
  * - 201: chartOfAccountCreatedSuccessfully
2169
2339
  * - Chart of Account Created Successfully
2170
2340
  * - 403: forbidden
2171
2341
  * - You do not have permission to perform this action
2172
2342
  * - 404: galoperSettingNotFound / companyNotFound
2173
2343
  * - Galoper Setting not found / Company not found
2344
+ * - 500: internalServerError
2345
+ * - Internal server error
2174
2346
  */
2175
2347
  admin_panel_views_load_chart_of_account: {
2176
2348
  requestBody: {
@@ -2179,12 +2351,6 @@ export interface operations {
2179
2351
  };
2180
2352
  };
2181
2353
  responses: {
2182
- /** @description OK */
2183
- 200: {
2184
- content: {
2185
- "application/json": components["schemas"]["MessageResponse"];
2186
- };
2187
- };
2188
2354
  /** @description Created */
2189
2355
  201: {
2190
2356
  content: {
@@ -2209,6 +2375,12 @@ export interface operations {
2209
2375
  "application/json": components["schemas"]["MessageResponse"];
2210
2376
  };
2211
2377
  };
2378
+ /** @description Internal Server Error */
2379
+ 500: {
2380
+ content: {
2381
+ "application/json": components["schemas"]["MessageResponse"];
2382
+ };
2383
+ };
2212
2384
  };
2213
2385
  };
2214
2386
  /**
@@ -2217,12 +2389,14 @@ export interface operations {
2217
2389
  * Possible Responses:
2218
2390
  * - 400: invalidParameters
2219
2391
  * - Invalid parameters
2220
- * - 201: settingsCraeted
2392
+ * - 201: settingsCreated
2221
2393
  * - Settings Created Successfully
2222
2394
  * - 403: forbidden
2223
2395
  * - You do not have permission to perform this action
2224
2396
  * - 404: companyNotFound
2225
2397
  * - Company not Found
2398
+ * - 500: internalServerError
2399
+ * - Internal server error
2226
2400
  */
2227
2401
  erp_settings_views_load_settings: {
2228
2402
  requestBody: {
@@ -2255,9 +2429,25 @@ export interface operations {
2255
2429
  "application/json": components["schemas"]["MessageResponse"];
2256
2430
  };
2257
2431
  };
2432
+ /** @description Internal Server Error */
2433
+ 500: {
2434
+ content: {
2435
+ "application/json": components["schemas"]["MessageResponse"];
2436
+ };
2437
+ };
2258
2438
  };
2259
2439
  };
2260
- /** Get Settings Options */
2440
+ /**
2441
+ * Get Settings Options
2442
+ * @description Endpoint for get selected apps.
2443
+ * Possible Responses:
2444
+ * - 200: success
2445
+ * - Success
2446
+ * - 404: galoperSettingNotFound
2447
+ * - Galoper settings not found
2448
+ * - 500: internalServerError
2449
+ * - Internal server error
2450
+ */
2261
2451
  erp_settings_views_get_settings_options: {
2262
2452
  responses: {
2263
2453
  /** @description OK */
@@ -2272,6 +2462,12 @@ export interface operations {
2272
2462
  "application/json": components["schemas"]["MessageResponse"];
2273
2463
  };
2274
2464
  };
2465
+ /** @description Internal Server Error */
2466
+ 500: {
2467
+ content: {
2468
+ "application/json": components["schemas"]["MessageResponse"];
2469
+ };
2470
+ };
2275
2471
  };
2276
2472
  };
2277
2473
  /**
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "main": "openapi.ts"
5
5
  }