@erp-galoper/main-package 1.0.8 → 1.0.9
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 +261 -173
- package/package.json +1 -1
package/openapi.ts
CHANGED
@@ -147,6 +147,20 @@ export interface paths {
|
|
147
147
|
*/
|
148
148
|
post: operations["inventory_warehouse_views_new_default_warehouse"];
|
149
149
|
};
|
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
|
+
};
|
150
164
|
"/api/v1/inventory/warehouse/{id}/": {
|
151
165
|
/**
|
152
166
|
* Get Warehouse
|
@@ -175,6 +189,46 @@ export interface paths {
|
|
175
189
|
*/
|
176
190
|
patch: operations["inventory_warehouse_views_update_warehouse"];
|
177
191
|
};
|
192
|
+
"/api/v1/company/find_steps/": {
|
193
|
+
/**
|
194
|
+
* Company Setup Steps
|
195
|
+
* @description Endpoint for get onboarding steps.
|
196
|
+
* Possible Responses:
|
197
|
+
* - 200: "Success"
|
198
|
+
* - "Success"
|
199
|
+
* - 405: "Method not allowed"
|
200
|
+
* - "Method not allowed"
|
201
|
+
*/
|
202
|
+
get: operations["company_views_company_setup_steps"];
|
203
|
+
};
|
204
|
+
"/api/v1/company/details/": {
|
205
|
+
/**
|
206
|
+
* Get Company
|
207
|
+
* @description Endpoint for retrieve company.
|
208
|
+
* Possible Responses:
|
209
|
+
* - 200: "Success"
|
210
|
+
* - "Success"
|
211
|
+
* - 404: "Not found"
|
212
|
+
* - "Company not found"
|
213
|
+
* - 403: "Forbidden"
|
214
|
+
* - "You do not have permission to perform this action"
|
215
|
+
*/
|
216
|
+
get: operations["company_views_get_company"];
|
217
|
+
};
|
218
|
+
"/api/v1/company/branch/onboarding/": {
|
219
|
+
/**
|
220
|
+
* Get Branch Onboarding
|
221
|
+
* @description Endpoint for retrieve branch.
|
222
|
+
* Possible Responses:
|
223
|
+
* - 200: "Success"
|
224
|
+
* - "Success"
|
225
|
+
* - 404: "Not found"
|
226
|
+
* - "Branch not found"
|
227
|
+
* - 403: "Forbidden"
|
228
|
+
* - "You do not have permission to perform this action"
|
229
|
+
*/
|
230
|
+
get: operations["company_views_get_branch_onboarding"];
|
231
|
+
};
|
178
232
|
"/api/v1/company/branch/": {
|
179
233
|
/**
|
180
234
|
* New Branch
|
@@ -208,18 +262,6 @@ export interface paths {
|
|
208
262
|
post: operations["company_views_new_company"];
|
209
263
|
};
|
210
264
|
"/api/v1/company/{id}/": {
|
211
|
-
/**
|
212
|
-
* Get Company
|
213
|
-
* @description Endpoint for retrieve company.
|
214
|
-
* Possible Responses:
|
215
|
-
* - 200: Success
|
216
|
-
* - Success
|
217
|
-
* - 404: companyNotFound
|
218
|
-
* - Company not found
|
219
|
-
* - 403: Forbidden
|
220
|
-
* - You do not have permission to perform this action
|
221
|
-
*/
|
222
|
-
get: operations["company_views_get_company"];
|
223
265
|
/**
|
224
266
|
* Update Company
|
225
267
|
* @description Endpoint for update company.
|
@@ -263,16 +305,6 @@ export interface paths {
|
|
263
305
|
*/
|
264
306
|
patch: operations["company_views_update_branch"];
|
265
307
|
};
|
266
|
-
"/api/v1/company/find_steps/": {
|
267
|
-
/**
|
268
|
-
* Company Setup Steps
|
269
|
-
* @description Endpoint for get onboarding steps.
|
270
|
-
* Possible Responses:
|
271
|
-
* - 200: Success
|
272
|
-
* - Success
|
273
|
-
*/
|
274
|
-
get: operations["company_views_company_setup_steps"];
|
275
|
-
};
|
276
308
|
"/api/v1/chartofaccount/chart_of_account_options/": {
|
277
309
|
/**
|
278
310
|
* Get Chart Of Account Options
|
@@ -331,7 +363,7 @@ export interface paths {
|
|
331
363
|
*/
|
332
364
|
get: operations["admin_panel_views_get_galoper_setting"];
|
333
365
|
};
|
334
|
-
"/api/v1/admin_panel/edit_chart_of_account
|
366
|
+
"/api/v1/admin_panel/edit_chart_of_account": {
|
335
367
|
/**
|
336
368
|
* Update Load Chart Of Account
|
337
369
|
* @description Endpoint for edit load chart of account.
|
@@ -556,6 +588,20 @@ export interface components {
|
|
556
588
|
address: string;
|
557
589
|
[key: string]: unknown;
|
558
590
|
};
|
591
|
+
/** RetrieveWarehouse */
|
592
|
+
RetrieveWarehouse: {
|
593
|
+
/** Id */
|
594
|
+
id: number;
|
595
|
+
/** Name */
|
596
|
+
name: string;
|
597
|
+
/** Country */
|
598
|
+
country: string;
|
599
|
+
/** City */
|
600
|
+
city: string;
|
601
|
+
/** Address */
|
602
|
+
address: string;
|
603
|
+
[key: string]: unknown;
|
604
|
+
};
|
559
605
|
/** UpdateWarehouse */
|
560
606
|
UpdateWarehouse: {
|
561
607
|
/** Name */
|
@@ -568,14 +614,80 @@ export interface components {
|
|
568
614
|
address?: string | null;
|
569
615
|
[key: string]: unknown;
|
570
616
|
};
|
571
|
-
/**
|
572
|
-
|
617
|
+
/** CurrencyName */
|
618
|
+
CurrencyName: {
|
619
|
+
/** Name */
|
620
|
+
name: string;
|
621
|
+
[key: string]: unknown;
|
622
|
+
};
|
623
|
+
/** RetrieveCompany */
|
624
|
+
RetrieveCompany: {
|
573
625
|
/** Id */
|
574
626
|
id: number;
|
575
627
|
/** Name */
|
576
628
|
name: string;
|
629
|
+
currency: components["schemas"]["CurrencyName"];
|
630
|
+
/** Vat */
|
631
|
+
vat: boolean;
|
632
|
+
/**
|
633
|
+
* Startdate
|
634
|
+
* Format: date
|
635
|
+
*/
|
636
|
+
startDate: string;
|
637
|
+
/**
|
638
|
+
* Vatdate
|
639
|
+
* Format: date
|
640
|
+
*/
|
641
|
+
vatDate?: string;
|
642
|
+
/** Mof */
|
643
|
+
mof: string;
|
644
|
+
/** Email */
|
645
|
+
email: string;
|
646
|
+
/** Fiscalyeardaystart */
|
647
|
+
fiscalYearDayStart: number;
|
648
|
+
/** Fiscalyeardayend */
|
649
|
+
fiscalYearDayEnd: number;
|
650
|
+
/** Fiscalyearmonthstart */
|
651
|
+
fiscalYearMonthStart: number;
|
652
|
+
/** Fiscalyearmonthend */
|
653
|
+
fiscalYearMonthEnd: number;
|
654
|
+
/** Phone1 */
|
655
|
+
phone1: string;
|
656
|
+
/** Phone2 */
|
657
|
+
phone2?: string | null;
|
658
|
+
/** Fax */
|
659
|
+
fax?: string | null;
|
577
660
|
/** Country */
|
578
661
|
country: string;
|
662
|
+
/** Postalcode */
|
663
|
+
postalcode?: string | null;
|
664
|
+
/** City */
|
665
|
+
city: string;
|
666
|
+
/** Address */
|
667
|
+
address: string;
|
668
|
+
/** Website */
|
669
|
+
website?: string | null;
|
670
|
+
/** Image */
|
671
|
+
image: string;
|
672
|
+
[key: string]: unknown;
|
673
|
+
};
|
674
|
+
/** RetrieveBranch */
|
675
|
+
RetrieveBranch: {
|
676
|
+
/** Id */
|
677
|
+
id: number;
|
678
|
+
/** Name */
|
679
|
+
name: string;
|
680
|
+
/** Code */
|
681
|
+
code?: string | null;
|
682
|
+
/**
|
683
|
+
* Startdate
|
684
|
+
* Format: date
|
685
|
+
*/
|
686
|
+
startDate: string;
|
687
|
+
/** Phone1 */
|
688
|
+
phone1: string;
|
689
|
+
/** Phone2 */
|
690
|
+
phone2?: string | null;
|
579
691
|
/** City */
|
580
692
|
city: string;
|
581
693
|
/** Address */
|
@@ -687,63 +799,6 @@ export interface components {
|
|
687
799
|
country?: string | null;
|
688
800
|
[key: string]: unknown;
|
689
801
|
};
|
690
|
-
/** CurrencyName */
|
691
|
-
CurrencyName: {
|
692
|
-
/** Name */
|
693
|
-
name: string;
|
694
|
-
[key: string]: unknown;
|
695
|
-
};
|
696
|
-
/** RetrieveCompany */
|
697
|
-
RetrieveCompany: {
|
698
|
-
/** Id */
|
699
|
-
id: number;
|
700
|
-
/** Name */
|
701
|
-
name: string;
|
702
|
-
currency: components["schemas"]["CurrencyName"];
|
703
|
-
/** Vat */
|
704
|
-
vat: boolean;
|
705
|
-
/**
|
706
|
-
* Startdate
|
707
|
-
* Format: date
|
708
|
-
*/
|
709
|
-
startDate: string;
|
710
|
-
/**
|
711
|
-
* Vatdate
|
712
|
-
* Format: date
|
713
|
-
*/
|
714
|
-
vatDate?: string;
|
715
|
-
/** Mof */
|
716
|
-
mof: string;
|
717
|
-
/** Email */
|
718
|
-
email: string;
|
719
|
-
/** Fiscalyeardaystart */
|
720
|
-
fiscalYearDayStart: number;
|
721
|
-
/** Fiscalyeardayend */
|
722
|
-
fiscalYearDayEnd: number;
|
723
|
-
/** Fiscalyearmonthstart */
|
724
|
-
fiscalYearMonthStart: number;
|
725
|
-
/** Fiscalyearmonthend */
|
726
|
-
fiscalYearMonthEnd: number;
|
727
|
-
/** Phone1 */
|
728
|
-
phone1: string;
|
729
|
-
/** Phone2 */
|
730
|
-
phone2?: string | null;
|
731
|
-
/** Fax */
|
732
|
-
fax?: string | null;
|
733
|
-
/** Country */
|
734
|
-
country: string;
|
735
|
-
/** Postalcode */
|
736
|
-
postalcode?: string | null;
|
737
|
-
/** City */
|
738
|
-
city: string;
|
739
|
-
/** Address */
|
740
|
-
address: string;
|
741
|
-
/** Website */
|
742
|
-
website?: string | null;
|
743
|
-
/** Image */
|
744
|
-
image: string;
|
745
|
-
[key: string]: unknown;
|
746
|
-
};
|
747
802
|
/** UpdateBranch */
|
748
803
|
UpdateBranch: {
|
749
804
|
/** Name */
|
@@ -762,29 +817,6 @@ export interface components {
|
|
762
817
|
address?: string | null;
|
763
818
|
[key: string]: unknown;
|
764
819
|
};
|
765
|
-
/** RetrieveBranch */
|
766
|
-
RetrieveBranch: {
|
767
|
-
/** Id */
|
768
|
-
id: number;
|
769
|
-
/** Name */
|
770
|
-
name: string;
|
771
|
-
/** Code */
|
772
|
-
code?: string | null;
|
773
|
-
/**
|
774
|
-
* Startdate
|
775
|
-
* Format: date
|
776
|
-
*/
|
777
|
-
startDate: string;
|
778
|
-
/** Phone1 */
|
779
|
-
phone1: string;
|
780
|
-
/** Phone2 */
|
781
|
-
phone2?: string | null;
|
782
|
-
/** City */
|
783
|
-
city: string;
|
784
|
-
/** Address */
|
785
|
-
address: string;
|
786
|
-
[key: string]: unknown;
|
787
|
-
};
|
788
820
|
/** ChartOfAccountOptions */
|
789
821
|
ChartOfAccountOptions: {
|
790
822
|
/** Label */
|
@@ -841,8 +873,6 @@ export interface components {
|
|
841
873
|
GaloperSettingChart: {
|
842
874
|
/** Value */
|
843
875
|
value: string;
|
844
|
-
/** Load Chart Of Account */
|
845
|
-
load_chart_of_account: string | null;
|
846
876
|
[key: string]: unknown;
|
847
877
|
};
|
848
878
|
/** LoadSettingsSchema */
|
@@ -1295,6 +1325,39 @@ export interface operations {
|
|
1295
1325
|
};
|
1296
1326
|
};
|
1297
1327
|
};
|
1328
|
+
/**
|
1329
|
+
* Get Warehouse Onboarding
|
1330
|
+
* @description Endpoint for retrieve warehouse.
|
1331
|
+
* Possible Responses:
|
1332
|
+
* - 200: Success
|
1333
|
+
* - Success
|
1334
|
+
* - 404: warehouseNotfound
|
1335
|
+
* - Warehouse not found
|
1336
|
+
* - 403: Forbidden
|
1337
|
+
* - You do not have permission to perform this action
|
1338
|
+
*/
|
1339
|
+
inventory_warehouse_views_get_warehouse_onboarding: {
|
1340
|
+
responses: {
|
1341
|
+
/** @description OK */
|
1342
|
+
200: {
|
1343
|
+
content: {
|
1344
|
+
"application/json": components["schemas"]["RetrieveWarehouse"];
|
1345
|
+
};
|
1346
|
+
};
|
1347
|
+
/** @description Forbidden */
|
1348
|
+
403: {
|
1349
|
+
content: {
|
1350
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1351
|
+
};
|
1352
|
+
};
|
1353
|
+
/** @description Not Found */
|
1354
|
+
404: {
|
1355
|
+
content: {
|
1356
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1357
|
+
};
|
1358
|
+
};
|
1359
|
+
};
|
1360
|
+
};
|
1298
1361
|
/**
|
1299
1362
|
* Get Warehouse
|
1300
1363
|
* @description Endpoint for retrieve warehouse.
|
@@ -1384,6 +1447,97 @@ export interface operations {
|
|
1384
1447
|
};
|
1385
1448
|
};
|
1386
1449
|
};
|
1450
|
+
/**
|
1451
|
+
* Company Setup Steps
|
1452
|
+
* @description Endpoint for get onboarding steps.
|
1453
|
+
* Possible Responses:
|
1454
|
+
* - 200: "Success"
|
1455
|
+
* - "Success"
|
1456
|
+
* - 405: "Method not allowed"
|
1457
|
+
* - "Method not allowed"
|
1458
|
+
*/
|
1459
|
+
company_views_company_setup_steps: {
|
1460
|
+
responses: {
|
1461
|
+
/** @description OK */
|
1462
|
+
200: {
|
1463
|
+
content: {
|
1464
|
+
"application/json": Record<string, never>;
|
1465
|
+
};
|
1466
|
+
};
|
1467
|
+
/** @description Method Not Allowed */
|
1468
|
+
405: {
|
1469
|
+
content: {
|
1470
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1471
|
+
};
|
1472
|
+
};
|
1473
|
+
};
|
1474
|
+
};
|
1475
|
+
/**
|
1476
|
+
* Get Company
|
1477
|
+
* @description Endpoint for retrieve company.
|
1478
|
+
* Possible Responses:
|
1479
|
+
* - 200: "Success"
|
1480
|
+
* - "Success"
|
1481
|
+
* - 404: "Not found"
|
1482
|
+
* - "Company not found"
|
1483
|
+
* - 403: "Forbidden"
|
1484
|
+
* - "You do not have permission to perform this action"
|
1485
|
+
*/
|
1486
|
+
company_views_get_company: {
|
1487
|
+
responses: {
|
1488
|
+
/** @description OK */
|
1489
|
+
200: {
|
1490
|
+
content: {
|
1491
|
+
"application/json": components["schemas"]["RetrieveCompany"];
|
1492
|
+
};
|
1493
|
+
};
|
1494
|
+
/** @description Forbidden */
|
1495
|
+
403: {
|
1496
|
+
content: {
|
1497
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1498
|
+
};
|
1499
|
+
};
|
1500
|
+
/** @description Not Found */
|
1501
|
+
404: {
|
1502
|
+
content: {
|
1503
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1504
|
+
};
|
1505
|
+
};
|
1506
|
+
};
|
1507
|
+
};
|
1508
|
+
/**
|
1509
|
+
* Get Branch Onboarding
|
1510
|
+
* @description Endpoint for retrieve branch.
|
1511
|
+
* Possible Responses:
|
1512
|
+
* - 200: "Success"
|
1513
|
+
* - "Success"
|
1514
|
+
* - 404: "Not found"
|
1515
|
+
* - "Branch not found"
|
1516
|
+
* - 403: "Forbidden"
|
1517
|
+
* - "You do not have permission to perform this action"
|
1518
|
+
*/
|
1519
|
+
company_views_get_branch_onboarding: {
|
1520
|
+
responses: {
|
1521
|
+
/** @description OK */
|
1522
|
+
200: {
|
1523
|
+
content: {
|
1524
|
+
"application/json": components["schemas"]["RetrieveBranch"];
|
1525
|
+
};
|
1526
|
+
};
|
1527
|
+
/** @description Forbidden */
|
1528
|
+
403: {
|
1529
|
+
content: {
|
1530
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1531
|
+
};
|
1532
|
+
};
|
1533
|
+
/** @description Not Found */
|
1534
|
+
404: {
|
1535
|
+
content: {
|
1536
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1537
|
+
};
|
1538
|
+
};
|
1539
|
+
};
|
1540
|
+
};
|
1387
1541
|
/**
|
1388
1542
|
* New Branch
|
1389
1543
|
* @description Endpoint for create branch.
|
@@ -1476,44 +1630,6 @@ export interface operations {
|
|
1476
1630
|
};
|
1477
1631
|
};
|
1478
1632
|
};
|
1479
|
-
/**
|
1480
|
-
* Get Company
|
1481
|
-
* @description Endpoint for retrieve company.
|
1482
|
-
* Possible Responses:
|
1483
|
-
* - 200: Success
|
1484
|
-
* - Success
|
1485
|
-
* - 404: companyNotFound
|
1486
|
-
* - Company not found
|
1487
|
-
* - 403: Forbidden
|
1488
|
-
* - You do not have permission to perform this action
|
1489
|
-
*/
|
1490
|
-
company_views_get_company: {
|
1491
|
-
parameters: {
|
1492
|
-
path: {
|
1493
|
-
id: number;
|
1494
|
-
};
|
1495
|
-
};
|
1496
|
-
responses: {
|
1497
|
-
/** @description OK */
|
1498
|
-
200: {
|
1499
|
-
content: {
|
1500
|
-
"application/json": components["schemas"]["RetrieveCompany"];
|
1501
|
-
};
|
1502
|
-
};
|
1503
|
-
/** @description Forbidden */
|
1504
|
-
403: {
|
1505
|
-
content: {
|
1506
|
-
"application/json": components["schemas"]["MessageResponse"];
|
1507
|
-
};
|
1508
|
-
};
|
1509
|
-
/** @description Not Found */
|
1510
|
-
404: {
|
1511
|
-
content: {
|
1512
|
-
"application/json": components["schemas"]["MessageResponse"];
|
1513
|
-
};
|
1514
|
-
};
|
1515
|
-
};
|
1516
|
-
};
|
1517
1633
|
/**
|
1518
1634
|
* Update Company
|
1519
1635
|
* @description Endpoint for update company.
|
@@ -1654,29 +1770,6 @@ export interface operations {
|
|
1654
1770
|
};
|
1655
1771
|
};
|
1656
1772
|
};
|
1657
|
-
/**
|
1658
|
-
* Company Setup Steps
|
1659
|
-
* @description Endpoint for get onboarding steps.
|
1660
|
-
* Possible Responses:
|
1661
|
-
* - 200: Success
|
1662
|
-
* - Success
|
1663
|
-
*/
|
1664
|
-
company_views_company_setup_steps: {
|
1665
|
-
responses: {
|
1666
|
-
/** @description OK */
|
1667
|
-
200: {
|
1668
|
-
content: {
|
1669
|
-
"application/json": Record<string, never>;
|
1670
|
-
};
|
1671
|
-
};
|
1672
|
-
/** @description Method Not Allowed */
|
1673
|
-
405: {
|
1674
|
-
content: {
|
1675
|
-
"application/json": components["schemas"]["MessageResponse"];
|
1676
|
-
};
|
1677
|
-
};
|
1678
|
-
};
|
1679
|
-
};
|
1680
1773
|
/**
|
1681
1774
|
* Get Chart Of Account Options
|
1682
1775
|
* @description Endpoint for load Chart of Account Options.
|
@@ -1832,11 +1925,6 @@ export interface operations {
|
|
1832
1925
|
* - You do not have permission to perform this action
|
1833
1926
|
*/
|
1834
1927
|
admin_panel_views_update_load_chart_of_account: {
|
1835
|
-
parameters: {
|
1836
|
-
path: {
|
1837
|
-
id: number;
|
1838
|
-
};
|
1839
|
-
};
|
1840
1928
|
requestBody: {
|
1841
1929
|
content: {
|
1842
1930
|
"application/json": components["schemas"]["GaloperSettingChart"];
|
package/package.json
CHANGED