@erp-galoper/main-package 1.0.32 → 1.0.34
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.
- package/openapi.ts +296 -96
- 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/
|
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/
|
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/
|
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/
|
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
|
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/
|
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:
|
332
|
-
* -
|
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:
|
372
|
-
* -
|
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:
|
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
|
-
/**
|
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/": {
|
@@ -585,7 +629,7 @@ export interface components {
|
|
585
629
|
/** Message */
|
586
630
|
message: string;
|
587
631
|
/** Code */
|
588
|
-
code
|
632
|
+
code?: string | null;
|
589
633
|
[key: string]: unknown;
|
590
634
|
};
|
591
635
|
/** WarehouseSchema */
|
@@ -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 */
|
@@ -881,20 +925,22 @@ export interface components {
|
|
881
925
|
};
|
882
926
|
/** ImageSchema */
|
883
927
|
ImageSchema: {
|
884
|
-
|
885
|
-
type: string;
|
928
|
+
type: components["schemas"]["ImageType"];
|
886
929
|
[key: string]: unknown;
|
887
930
|
};
|
931
|
+
/**
|
932
|
+
* ImageType
|
933
|
+
* @enum {string}
|
934
|
+
*/
|
935
|
+
ImageType: "item" | "company" | "user" | "supplier" | "customer";
|
888
936
|
/** currencyCodeOut */
|
889
937
|
currencyCodeOut: {
|
890
938
|
/** Currencycode */
|
891
939
|
currencyCode: string;
|
892
940
|
[key: string]: unknown;
|
893
941
|
};
|
894
|
-
/**
|
895
|
-
|
896
|
-
/** Id */
|
897
|
-
id: number;
|
942
|
+
/** GaloperSettingSchemaList */
|
943
|
+
GaloperSettingSchemaList: {
|
898
944
|
/** Accounting */
|
899
945
|
accounting: boolean;
|
900
946
|
/** Purchase */
|
@@ -915,6 +961,8 @@ export interface components {
|
|
915
961
|
customer: boolean;
|
916
962
|
/** Bank */
|
917
963
|
bank: boolean;
|
964
|
+
/** Loadchartofaccount */
|
965
|
+
loadChartOfAccount?: string | null;
|
918
966
|
[key: string]: unknown;
|
919
967
|
};
|
920
968
|
/** GaloperSettingChart */
|
@@ -1499,6 +1547,8 @@ export interface operations {
|
|
1499
1547
|
* - Warehouse Created Successfully
|
1500
1548
|
* - 403: forbidden
|
1501
1549
|
* - You do not have permission to perform this action
|
1550
|
+
* - 500: internalServerError
|
1551
|
+
* - Internal server error
|
1502
1552
|
*/
|
1503
1553
|
inventory_warehouse_views_new_default_warehouse: {
|
1504
1554
|
requestBody: {
|
@@ -1525,35 +1575,8 @@ export interface operations {
|
|
1525
1575
|
"application/json": components["schemas"]["MessageResponse"];
|
1526
1576
|
};
|
1527
1577
|
};
|
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: {
|
1578
|
+
/** @description Internal Server Error */
|
1579
|
+
500: {
|
1557
1580
|
content: {
|
1558
1581
|
"application/json": components["schemas"]["MessageResponse"];
|
1559
1582
|
};
|
@@ -1570,6 +1593,8 @@ export interface operations {
|
|
1570
1593
|
* - Warehouse not found
|
1571
1594
|
* - 403: forbidden
|
1572
1595
|
* - You do not have permission to perform this action
|
1596
|
+
* - 500: internalServerError
|
1597
|
+
* - Internal server error
|
1573
1598
|
*/
|
1574
1599
|
inventory_warehouse_views_get_warehouse: {
|
1575
1600
|
parameters: {
|
@@ -1596,6 +1621,12 @@ export interface operations {
|
|
1596
1621
|
"application/json": components["schemas"]["MessageResponse"];
|
1597
1622
|
};
|
1598
1623
|
};
|
1624
|
+
/** @description Internal Server Error */
|
1625
|
+
500: {
|
1626
|
+
content: {
|
1627
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1628
|
+
};
|
1629
|
+
};
|
1599
1630
|
};
|
1600
1631
|
};
|
1601
1632
|
/**
|
@@ -1610,6 +1641,8 @@ export interface operations {
|
|
1610
1641
|
* - Warehouse updated successfully
|
1611
1642
|
* - 403: forbidden
|
1612
1643
|
* - You do not have permission to perform this action
|
1644
|
+
* - 500: internalServerError
|
1645
|
+
* - Internal server error
|
1613
1646
|
*/
|
1614
1647
|
inventory_warehouse_views_update_warehouse: {
|
1615
1648
|
parameters: {
|
@@ -1647,6 +1680,12 @@ export interface operations {
|
|
1647
1680
|
"application/json": components["schemas"]["MessageResponse"];
|
1648
1681
|
};
|
1649
1682
|
};
|
1683
|
+
/** @description Internal Server Error */
|
1684
|
+
500: {
|
1685
|
+
content: {
|
1686
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1687
|
+
};
|
1688
|
+
};
|
1650
1689
|
};
|
1651
1690
|
};
|
1652
1691
|
/**
|
@@ -1659,6 +1698,8 @@ export interface operations {
|
|
1659
1698
|
* - Company not found
|
1660
1699
|
* - 403: forbidden
|
1661
1700
|
* - You do not have permission to perform this action
|
1701
|
+
* - 500: internalServerError
|
1702
|
+
* - Internal server error
|
1662
1703
|
*/
|
1663
1704
|
company_views_get_company: {
|
1664
1705
|
responses: {
|
@@ -1680,20 +1721,28 @@ export interface operations {
|
|
1680
1721
|
"application/json": components["schemas"]["MessageResponse"];
|
1681
1722
|
};
|
1682
1723
|
};
|
1724
|
+
/** @description Internal Server Error */
|
1725
|
+
500: {
|
1726
|
+
content: {
|
1727
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1728
|
+
};
|
1729
|
+
};
|
1683
1730
|
};
|
1684
1731
|
};
|
1685
1732
|
/**
|
1686
1733
|
* New Company
|
1687
1734
|
* @description Endpoint for create company.
|
1688
1735
|
* Possible Responses:
|
1689
|
-
* - 400: invalidParameters
|
1690
|
-
* - Invalid parameters
|
1736
|
+
* - 400: invalidParameters / companyAlreadyExist
|
1737
|
+
* - Invalid parameters / Company already exist
|
1691
1738
|
* - 201: companyCreated
|
1692
1739
|
* - Company Created Successfully
|
1693
1740
|
* - 403: forbidden
|
1694
1741
|
* - You do not have permission to perform this action
|
1695
1742
|
* - 404: imageNotFound
|
1696
1743
|
* - Image Path Not Found
|
1744
|
+
* - 500: internalServerError
|
1745
|
+
* - Internal server error
|
1697
1746
|
*/
|
1698
1747
|
company_views_new_company: {
|
1699
1748
|
requestBody: {
|
@@ -1726,6 +1775,12 @@ export interface operations {
|
|
1726
1775
|
"application/json": components["schemas"]["MessageResponse"];
|
1727
1776
|
};
|
1728
1777
|
};
|
1778
|
+
/** @description Internal Server Error */
|
1779
|
+
500: {
|
1780
|
+
content: {
|
1781
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1782
|
+
};
|
1783
|
+
};
|
1729
1784
|
};
|
1730
1785
|
};
|
1731
1786
|
/**
|
@@ -1740,6 +1795,8 @@ export interface operations {
|
|
1740
1795
|
* - You do not have permission to perform this action
|
1741
1796
|
* -404: companyNotFound / currencyNotFound / imageNotFound
|
1742
1797
|
* - Company not found / Currency not found / Image path not found
|
1798
|
+
* - 500: internalServerError
|
1799
|
+
* - Internal server error
|
1743
1800
|
*/
|
1744
1801
|
company_views_update_company: {
|
1745
1802
|
parameters: {
|
@@ -1777,6 +1834,12 @@ export interface operations {
|
|
1777
1834
|
"application/json": components["schemas"]["MessageResponse"];
|
1778
1835
|
};
|
1779
1836
|
};
|
1837
|
+
/** @description Internal Server Error */
|
1838
|
+
500: {
|
1839
|
+
content: {
|
1840
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1841
|
+
};
|
1842
|
+
};
|
1780
1843
|
};
|
1781
1844
|
};
|
1782
1845
|
/**
|
@@ -1791,6 +1854,8 @@ export interface operations {
|
|
1791
1854
|
* - You do not have permission to perform this action
|
1792
1855
|
* - 404: companyNotFound
|
1793
1856
|
* - Company not found
|
1857
|
+
* - 500: internalServerError
|
1858
|
+
* - Internal server error
|
1794
1859
|
*/
|
1795
1860
|
company_views_new_branch: {
|
1796
1861
|
requestBody: {
|
@@ -1823,6 +1888,12 @@ export interface operations {
|
|
1823
1888
|
"application/json": components["schemas"]["MessageResponse"];
|
1824
1889
|
};
|
1825
1890
|
};
|
1891
|
+
/** @description Internal Server Error */
|
1892
|
+
500: {
|
1893
|
+
content: {
|
1894
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1895
|
+
};
|
1896
|
+
};
|
1826
1897
|
};
|
1827
1898
|
};
|
1828
1899
|
/**
|
@@ -1835,6 +1906,8 @@ export interface operations {
|
|
1835
1906
|
* - Branch not found
|
1836
1907
|
* - 403: forbidden
|
1837
1908
|
* - You do not have permission to perform this action
|
1909
|
+
* - 500: internalServerError
|
1910
|
+
* - Internal server error
|
1838
1911
|
*/
|
1839
1912
|
company_views_get_branch: {
|
1840
1913
|
parameters: {
|
@@ -1861,6 +1934,12 @@ export interface operations {
|
|
1861
1934
|
"application/json": components["schemas"]["MessageResponse"];
|
1862
1935
|
};
|
1863
1936
|
};
|
1937
|
+
/** @description Internal Server Error */
|
1938
|
+
500: {
|
1939
|
+
content: {
|
1940
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1941
|
+
};
|
1942
|
+
};
|
1864
1943
|
};
|
1865
1944
|
};
|
1866
1945
|
/**
|
@@ -1870,11 +1949,13 @@ export interface operations {
|
|
1870
1949
|
* - 400: invalidParameters
|
1871
1950
|
* - Invalid parameters
|
1872
1951
|
* - 200: branchUpdated
|
1873
|
-
* - Branch
|
1952
|
+
* - Branch updated successfully
|
1874
1953
|
* - 403: forbidden
|
1875
1954
|
* - "You do not have permission to perform this action"
|
1876
1955
|
* -404: branchNotFound
|
1877
1956
|
* - Branch not found
|
1957
|
+
* - 500: internalServerError
|
1958
|
+
* - Internal server error
|
1878
1959
|
*/
|
1879
1960
|
company_views_update_branch: {
|
1880
1961
|
parameters: {
|
@@ -1912,6 +1993,53 @@ export interface operations {
|
|
1912
1993
|
"application/json": components["schemas"]["MessageResponse"];
|
1913
1994
|
};
|
1914
1995
|
};
|
1996
|
+
/** @description Internal Server Error */
|
1997
|
+
500: {
|
1998
|
+
content: {
|
1999
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2000
|
+
};
|
2001
|
+
};
|
2002
|
+
};
|
2003
|
+
};
|
2004
|
+
/**
|
2005
|
+
* Get Warehouse Onboarding
|
2006
|
+
* @description Endpoint for retrieve warehouse.
|
2007
|
+
* Possible Responses:
|
2008
|
+
* - 200: success
|
2009
|
+
* - Success
|
2010
|
+
* - 404: warehouseNotfound
|
2011
|
+
* - Warehouse not found
|
2012
|
+
* - 403: forbidden
|
2013
|
+
* - You do not have permission to perform this action
|
2014
|
+
* - 500: internalServerError
|
2015
|
+
* - Internal server error
|
2016
|
+
*/
|
2017
|
+
company_views_get_warehouse_onboarding: {
|
2018
|
+
responses: {
|
2019
|
+
/** @description OK */
|
2020
|
+
200: {
|
2021
|
+
content: {
|
2022
|
+
"application/json": components["schemas"]["RetrieveWarehouse"];
|
2023
|
+
};
|
2024
|
+
};
|
2025
|
+
/** @description Forbidden */
|
2026
|
+
403: {
|
2027
|
+
content: {
|
2028
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2029
|
+
};
|
2030
|
+
};
|
2031
|
+
/** @description Not Found */
|
2032
|
+
404: {
|
2033
|
+
content: {
|
2034
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2035
|
+
};
|
2036
|
+
};
|
2037
|
+
/** @description Internal Server Error */
|
2038
|
+
500: {
|
2039
|
+
content: {
|
2040
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2041
|
+
};
|
2042
|
+
};
|
1915
2043
|
};
|
1916
2044
|
};
|
1917
2045
|
/**
|
@@ -1947,6 +2075,8 @@ export interface operations {
|
|
1947
2075
|
* - Branch not found
|
1948
2076
|
* - 403: forbidden
|
1949
2077
|
* - You do not have permission to perform this action
|
2078
|
+
* - 500: internalServerError
|
2079
|
+
* - Internal server error
|
1950
2080
|
*/
|
1951
2081
|
company_views_get_branch_onboarding: {
|
1952
2082
|
responses: {
|
@@ -1968,6 +2098,12 @@ export interface operations {
|
|
1968
2098
|
"application/json": components["schemas"]["MessageResponse"];
|
1969
2099
|
};
|
1970
2100
|
};
|
2101
|
+
/** @description Internal Server Error */
|
2102
|
+
500: {
|
2103
|
+
content: {
|
2104
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2105
|
+
};
|
2106
|
+
};
|
1971
2107
|
};
|
1972
2108
|
};
|
1973
2109
|
/**
|
@@ -1993,6 +2129,8 @@ export interface operations {
|
|
1993
2129
|
* Possible Responses:
|
1994
2130
|
* - 200: Success
|
1995
2131
|
* - Success"
|
2132
|
+
* - 500: internalServerError
|
2133
|
+
* - Internal server error
|
1996
2134
|
*/
|
1997
2135
|
common_views_get_fiscal_year_end_date: {
|
1998
2136
|
parameters: {
|
@@ -2008,6 +2146,12 @@ export interface operations {
|
|
2008
2146
|
"application/json": components["schemas"]["FiscalYearCalculationOut"];
|
2009
2147
|
};
|
2010
2148
|
};
|
2149
|
+
/** @description Internal Server Error */
|
2150
|
+
500: {
|
2151
|
+
content: {
|
2152
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2153
|
+
};
|
2154
|
+
};
|
2011
2155
|
};
|
2012
2156
|
};
|
2013
2157
|
/**
|
@@ -2016,8 +2160,10 @@ export interface operations {
|
|
2016
2160
|
* Possible Responses:
|
2017
2161
|
* - 400: unsupportedFileType / noFileProvided
|
2018
2162
|
* - Unsupported file type / No file provided
|
2019
|
-
* - 200:
|
2020
|
-
* -
|
2163
|
+
* - 200: success
|
2164
|
+
* - success
|
2165
|
+
* - 500: internalServerError
|
2166
|
+
* - Internal server error
|
2021
2167
|
*/
|
2022
2168
|
common_views_upload_image: {
|
2023
2169
|
requestBody: {
|
@@ -2046,6 +2192,12 @@ export interface operations {
|
|
2046
2192
|
"application/json": components["schemas"]["MessageResponse"];
|
2047
2193
|
};
|
2048
2194
|
};
|
2195
|
+
/** @description Internal Server Error */
|
2196
|
+
500: {
|
2197
|
+
content: {
|
2198
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2199
|
+
};
|
2200
|
+
};
|
2049
2201
|
};
|
2050
2202
|
};
|
2051
2203
|
/**
|
@@ -2056,6 +2208,8 @@ export interface operations {
|
|
2056
2208
|
* - Success
|
2057
2209
|
* - 404: countryNotFound
|
2058
2210
|
* - Not Found
|
2211
|
+
* - 500: internalServerError
|
2212
|
+
* - Internal server error
|
2059
2213
|
*/
|
2060
2214
|
common_views_get_currency_code: {
|
2061
2215
|
parameters: {
|
@@ -2076,6 +2230,12 @@ export interface operations {
|
|
2076
2230
|
"application/json": components["schemas"]["MessageResponse"];
|
2077
2231
|
};
|
2078
2232
|
};
|
2233
|
+
/** @description Internal Server Error */
|
2234
|
+
500: {
|
2235
|
+
content: {
|
2236
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2237
|
+
};
|
2238
|
+
};
|
2079
2239
|
};
|
2080
2240
|
};
|
2081
2241
|
/**
|
@@ -2088,13 +2248,15 @@ export interface operations {
|
|
2088
2248
|
* - Galoper Settings not found
|
2089
2249
|
* - 403: forbidden
|
2090
2250
|
* - You do not have permission to perform this action
|
2251
|
+
* - 500: internalServerError
|
2252
|
+
* - Internal server error
|
2091
2253
|
*/
|
2092
2254
|
admin_panel_views_get_galoper_setting: {
|
2093
2255
|
responses: {
|
2094
2256
|
/** @description OK */
|
2095
2257
|
200: {
|
2096
2258
|
content: {
|
2097
|
-
"application/json": components["schemas"]["
|
2259
|
+
"application/json": components["schemas"]["GaloperSettingSchemaList"];
|
2098
2260
|
};
|
2099
2261
|
};
|
2100
2262
|
/** @description Forbidden */
|
@@ -2109,6 +2271,12 @@ export interface operations {
|
|
2109
2271
|
"application/json": components["schemas"]["MessageResponse"];
|
2110
2272
|
};
|
2111
2273
|
};
|
2274
|
+
/** @description Internal Server Error */
|
2275
|
+
500: {
|
2276
|
+
content: {
|
2277
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2278
|
+
};
|
2279
|
+
};
|
2112
2280
|
};
|
2113
2281
|
};
|
2114
2282
|
/**
|
@@ -2119,10 +2287,12 @@ export interface operations {
|
|
2119
2287
|
* - Invalid parameters
|
2120
2288
|
* - 404: galoperSettingNotFound / companyNotFound
|
2121
2289
|
* - Galoper Setting not found / Company not found
|
2122
|
-
* - 200:
|
2123
|
-
* -
|
2290
|
+
* - 200: chartOfAccountUpdated
|
2291
|
+
* - Chart of account updated successfully
|
2124
2292
|
* - 403: forbidden
|
2125
2293
|
* - You do not have permission to perform this action
|
2294
|
+
* - 500: internalServerError
|
2295
|
+
* - Internal server error
|
2126
2296
|
*/
|
2127
2297
|
admin_panel_views_update_load_chart_of_account: {
|
2128
2298
|
requestBody: {
|
@@ -2155,6 +2325,12 @@ export interface operations {
|
|
2155
2325
|
"application/json": components["schemas"]["MessageResponse"];
|
2156
2326
|
};
|
2157
2327
|
};
|
2328
|
+
/** @description Internal Server Error */
|
2329
|
+
500: {
|
2330
|
+
content: {
|
2331
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2332
|
+
};
|
2333
|
+
};
|
2158
2334
|
};
|
2159
2335
|
};
|
2160
2336
|
/**
|
@@ -2163,14 +2339,14 @@ export interface operations {
|
|
2163
2339
|
* Possible Responses:
|
2164
2340
|
* - 400: invalidParameters
|
2165
2341
|
* - Invalid parameters
|
2166
|
-
* - 200: success
|
2167
|
-
* - Success
|
2168
2342
|
* - 201: chartOfAccountCreatedSuccessfully
|
2169
2343
|
* - Chart of Account Created Successfully
|
2170
2344
|
* - 403: forbidden
|
2171
2345
|
* - You do not have permission to perform this action
|
2172
2346
|
* - 404: galoperSettingNotFound / companyNotFound
|
2173
2347
|
* - Galoper Setting not found / Company not found
|
2348
|
+
* - 500: internalServerError
|
2349
|
+
* - Internal server error
|
2174
2350
|
*/
|
2175
2351
|
admin_panel_views_load_chart_of_account: {
|
2176
2352
|
requestBody: {
|
@@ -2179,12 +2355,6 @@ export interface operations {
|
|
2179
2355
|
};
|
2180
2356
|
};
|
2181
2357
|
responses: {
|
2182
|
-
/** @description OK */
|
2183
|
-
200: {
|
2184
|
-
content: {
|
2185
|
-
"application/json": components["schemas"]["MessageResponse"];
|
2186
|
-
};
|
2187
|
-
};
|
2188
2358
|
/** @description Created */
|
2189
2359
|
201: {
|
2190
2360
|
content: {
|
@@ -2209,6 +2379,12 @@ export interface operations {
|
|
2209
2379
|
"application/json": components["schemas"]["MessageResponse"];
|
2210
2380
|
};
|
2211
2381
|
};
|
2382
|
+
/** @description Internal Server Error */
|
2383
|
+
500: {
|
2384
|
+
content: {
|
2385
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2386
|
+
};
|
2387
|
+
};
|
2212
2388
|
};
|
2213
2389
|
};
|
2214
2390
|
/**
|
@@ -2217,12 +2393,14 @@ export interface operations {
|
|
2217
2393
|
* Possible Responses:
|
2218
2394
|
* - 400: invalidParameters
|
2219
2395
|
* - Invalid parameters
|
2220
|
-
* - 201:
|
2396
|
+
* - 201: settingsCreated
|
2221
2397
|
* - Settings Created Successfully
|
2222
2398
|
* - 403: forbidden
|
2223
2399
|
* - You do not have permission to perform this action
|
2224
2400
|
* - 404: companyNotFound
|
2225
2401
|
* - Company not Found
|
2402
|
+
* - 500: internalServerError
|
2403
|
+
* - Internal server error
|
2226
2404
|
*/
|
2227
2405
|
erp_settings_views_load_settings: {
|
2228
2406
|
requestBody: {
|
@@ -2255,9 +2433,25 @@ export interface operations {
|
|
2255
2433
|
"application/json": components["schemas"]["MessageResponse"];
|
2256
2434
|
};
|
2257
2435
|
};
|
2436
|
+
/** @description Internal Server Error */
|
2437
|
+
500: {
|
2438
|
+
content: {
|
2439
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2440
|
+
};
|
2441
|
+
};
|
2258
2442
|
};
|
2259
2443
|
};
|
2260
|
-
/**
|
2444
|
+
/**
|
2445
|
+
* Get Settings Options
|
2446
|
+
* @description Endpoint for get selected apps.
|
2447
|
+
* Possible Responses:
|
2448
|
+
* - 200: success
|
2449
|
+
* - Success
|
2450
|
+
* - 404: galoperSettingNotFound
|
2451
|
+
* - Galoper settings not found
|
2452
|
+
* - 500: internalServerError
|
2453
|
+
* - Internal server error
|
2454
|
+
*/
|
2261
2455
|
erp_settings_views_get_settings_options: {
|
2262
2456
|
responses: {
|
2263
2457
|
/** @description OK */
|
@@ -2272,6 +2466,12 @@ export interface operations {
|
|
2272
2466
|
"application/json": components["schemas"]["MessageResponse"];
|
2273
2467
|
};
|
2274
2468
|
};
|
2469
|
+
/** @description Internal Server Error */
|
2470
|
+
500: {
|
2471
|
+
content: {
|
2472
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2473
|
+
};
|
2474
|
+
};
|
2275
2475
|
};
|
2276
2476
|
};
|
2277
2477
|
/**
|
package/package.json
CHANGED