@erp-galoper/main-package 1.0.12 → 1.0.14
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 +225 -234
- package/package.json +1 -1
package/openapi.ts
CHANGED
@@ -142,7 +142,7 @@ export interface paths {
|
|
142
142
|
* - Invalid parameters
|
143
143
|
* - 201: warehouseCreated
|
144
144
|
* - Warehouse Created Successfully
|
145
|
-
* - 403:
|
145
|
+
* - 403: forbidden
|
146
146
|
* - You do not have permission to perform this action
|
147
147
|
*/
|
148
148
|
post: operations["inventory_warehouse_views_new_default_warehouse"];
|
@@ -152,11 +152,11 @@ export interface paths {
|
|
152
152
|
* Get Warehouse Onboarding
|
153
153
|
* @description Endpoint for retrieve warehouse.
|
154
154
|
* Possible Responses:
|
155
|
-
* - 200:
|
155
|
+
* - 200: success
|
156
156
|
* - Success
|
157
157
|
* - 404: warehouseNotfound
|
158
158
|
* - Warehouse not found
|
159
|
-
* - 403:
|
159
|
+
* - 403: forbidden
|
160
160
|
* - You do not have permission to perform this action
|
161
161
|
*/
|
162
162
|
get: operations["inventory_warehouse_views_get_warehouse_onboarding"];
|
@@ -166,11 +166,11 @@ export interface paths {
|
|
166
166
|
* Get Warehouse
|
167
167
|
* @description Endpoint for retrieve warehouse.
|
168
168
|
* Possible Responses:
|
169
|
-
* - 200:
|
169
|
+
* - 200: success
|
170
170
|
* - Success
|
171
171
|
* - 404: warehouseNotfound
|
172
172
|
* - Warehouse not found
|
173
|
-
* - 403:
|
173
|
+
* - 403: forbidden
|
174
174
|
* - You do not have permission to perform this action
|
175
175
|
*/
|
176
176
|
get: operations["inventory_warehouse_views_get_warehouse"];
|
@@ -184,68 +184,24 @@ export interface paths {
|
|
184
184
|
* - Warehouse not found
|
185
185
|
* - 200: warehouseUpdated
|
186
186
|
* - Warehouse updated successfully
|
187
|
-
* - 403:
|
187
|
+
* - 403: forbidden
|
188
188
|
* - You do not have permission to perform this action
|
189
189
|
*/
|
190
190
|
patch: operations["inventory_warehouse_views_update_warehouse"];
|
191
191
|
};
|
192
|
-
"/api/v1/company/
|
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/": {
|
192
|
+
"/api/v1/company/": {
|
205
193
|
/**
|
206
194
|
* Get Company
|
207
195
|
* @description Endpoint for retrieve company.
|
208
196
|
* Possible Responses:
|
209
|
-
* - 200:
|
210
|
-
* -
|
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
|
-
};
|
232
|
-
"/api/v1/company/branch/": {
|
233
|
-
/**
|
234
|
-
* New Branch
|
235
|
-
* @description Endpoint for create branch.
|
236
|
-
* Possible Responses:
|
237
|
-
* - 400: invalidParameters
|
238
|
-
* - Invalid parameters
|
239
|
-
* - 201: branchCreated
|
240
|
-
* - Branch Created Successfully
|
241
|
-
* - 403: Forbidden
|
242
|
-
* - You do not have permission to perform this action
|
197
|
+
* - 200: success
|
198
|
+
* - Success
|
243
199
|
* - 404: companyNotFound
|
244
200
|
* - Company not found
|
201
|
+
* - 403: forbidden
|
202
|
+
* - You do not have permission to perform this action
|
245
203
|
*/
|
246
|
-
|
247
|
-
};
|
248
|
-
"/api/v1/company/": {
|
204
|
+
get: operations["company_views_get_company"];
|
249
205
|
/**
|
250
206
|
* New Company
|
251
207
|
* @description Endpoint for create company.
|
@@ -254,9 +210,9 @@ export interface paths {
|
|
254
210
|
* - Invalid parameters
|
255
211
|
* - 201: companyCreated
|
256
212
|
* - Company Created Successfully
|
257
|
-
* - 403:
|
213
|
+
* - 403: forbidden
|
258
214
|
* - You do not have permission to perform this action
|
259
|
-
* - 404:
|
215
|
+
* - 404: imageNotFound
|
260
216
|
* - Image Path Not Found
|
261
217
|
*/
|
262
218
|
post: operations["company_views_new_company"];
|
@@ -270,23 +226,39 @@ export interface paths {
|
|
270
226
|
* - Invalid parameters
|
271
227
|
* - 200: companyUpdated
|
272
228
|
* - Company updated successfully
|
273
|
-
* - 403:
|
229
|
+
* - 403: forbidden
|
274
230
|
* - You do not have permission to perform this action
|
275
231
|
* -404: companynotFound / currencyNotFound / imageNotFound
|
276
232
|
* - Company not found / Currency not found / Image path not found
|
277
233
|
*/
|
278
234
|
patch: operations["company_views_update_company"];
|
279
235
|
};
|
236
|
+
"/api/v1/company/branch/new/": {
|
237
|
+
/**
|
238
|
+
* New Branch
|
239
|
+
* @description Endpoint for create branch.
|
240
|
+
* Possible Responses:
|
241
|
+
* - 400: invalidParameters
|
242
|
+
* - Invalid parameters
|
243
|
+
* - 201: branchCreated
|
244
|
+
* - Branch Created Successfully
|
245
|
+
* - 403: forbidden
|
246
|
+
* - You do not have permission to perform this action
|
247
|
+
* - 404: companyNotFound
|
248
|
+
* - Company not found
|
249
|
+
*/
|
250
|
+
post: operations["company_views_new_branch"];
|
251
|
+
};
|
280
252
|
"/api/v1/company/branch/{id}/": {
|
281
253
|
/**
|
282
254
|
* Get Branch
|
283
255
|
* @description Endpoint for retrieve branch.
|
284
256
|
* Possible Responses:
|
285
|
-
* - 200:
|
257
|
+
* - 200: success
|
286
258
|
* - Success
|
287
259
|
* - 404: branchNotFound
|
288
260
|
* - Branch not found
|
289
|
-
* - 403:
|
261
|
+
* - 403: forbidden
|
290
262
|
* - You do not have permission to perform this action
|
291
263
|
*/
|
292
264
|
get: operations["company_views_get_branch"];
|
@@ -298,13 +270,37 @@ export interface paths {
|
|
298
270
|
* - Invalid parameters
|
299
271
|
* - 200: branchCreated
|
300
272
|
* - Branch created successfully
|
301
|
-
* - 403:
|
273
|
+
* - 403: forbidden
|
302
274
|
* - "You do not have permission to perform this action"
|
303
275
|
* -404: branchNotFound
|
304
276
|
* - Branch not found
|
305
277
|
*/
|
306
278
|
patch: operations["company_views_update_branch"];
|
307
279
|
};
|
280
|
+
"/api/v1/onboarding/find_steps/": {
|
281
|
+
/**
|
282
|
+
* Company Setup Steps
|
283
|
+
* @description Endpoint for get onboarding steps.
|
284
|
+
* Possible Responses:
|
285
|
+
* - 200: success
|
286
|
+
* - Success
|
287
|
+
*/
|
288
|
+
get: operations["company_views_company_setup_steps"];
|
289
|
+
};
|
290
|
+
"/api/v1/onboarding/branch/": {
|
291
|
+
/**
|
292
|
+
* Get Branch Onboarding
|
293
|
+
* @description Endpoint for retrieve branch.
|
294
|
+
* Possible Responses:
|
295
|
+
* - 200: success
|
296
|
+
* - Success
|
297
|
+
* - 404: branchNotFound
|
298
|
+
* - Branch not found
|
299
|
+
* - 403: forbidden
|
300
|
+
* - You do not have permission to perform this action
|
301
|
+
*/
|
302
|
+
get: operations["company_views_get_branch_onboarding"];
|
303
|
+
};
|
308
304
|
"/api/v1/chartofaccount/chart_of_account_options/": {
|
309
305
|
/**
|
310
306
|
* Get Chart Of Account Options
|
@@ -354,11 +350,11 @@ export interface paths {
|
|
354
350
|
* Get Galoper Setting
|
355
351
|
* @description Endpoint for retreive galoper setting.
|
356
352
|
* Possible Responses:
|
357
|
-
* - 200:
|
353
|
+
* - 200: success
|
358
354
|
* - Success
|
359
355
|
* - 404: galoperSettingNotFound
|
360
356
|
* - Galoper Settings not found
|
361
|
-
* - 403:
|
357
|
+
* - 403: forbidden
|
362
358
|
* - You do not have permission to perform this action
|
363
359
|
*/
|
364
360
|
get: operations["admin_panel_views_get_galoper_setting"];
|
@@ -372,9 +368,9 @@ export interface paths {
|
|
372
368
|
* - Invalid parameters
|
373
369
|
* - 404: galoperSettingNotFound / companyNotFound
|
374
370
|
* - Galoper Setting not found / Company not found
|
375
|
-
* - 200:
|
371
|
+
* - 200: success
|
376
372
|
* - Success
|
377
|
-
* - 403:
|
373
|
+
* - 403: forbidden
|
378
374
|
* - You do not have permission to perform this action
|
379
375
|
*/
|
380
376
|
patch: operations["admin_panel_views_update_load_chart_of_account"];
|
@@ -386,11 +382,11 @@ export interface paths {
|
|
386
382
|
* Possible Responses:
|
387
383
|
* - 400: invalidParameters
|
388
384
|
* - Invalid parameters
|
389
|
-
* - 200:
|
385
|
+
* - 200: success
|
390
386
|
* - Success
|
391
387
|
* - 201: chartOfAccountCreatedSuccessfully
|
392
388
|
* - Chart of Account Created Successfully
|
393
|
-
* - 403:
|
389
|
+
* - 403: forbidden
|
394
390
|
* - You do not have permission to perform this action
|
395
391
|
* - 404: galoperSettingNotFound / companyNotFound
|
396
392
|
* - Galoper Setting not found / Company not found
|
@@ -406,7 +402,7 @@ export interface paths {
|
|
406
402
|
* - Invalid parameters
|
407
403
|
* - 201: settingsCraeted
|
408
404
|
* - Settings Created Successfully
|
409
|
-
* - 403:
|
405
|
+
* - 403: forbidden
|
410
406
|
* - You do not have permission to perform this action
|
411
407
|
* - 404: companyNotFound
|
412
408
|
* - Company not Found
|
@@ -650,11 +646,8 @@ export interface components {
|
|
650
646
|
* Format: date
|
651
647
|
*/
|
652
648
|
startDate: string;
|
653
|
-
/**
|
654
|
-
|
655
|
-
* Format: date
|
656
|
-
*/
|
657
|
-
vatDate?: string;
|
649
|
+
/** Vatdate */
|
650
|
+
vatDate?: string | null;
|
658
651
|
/** Mof */
|
659
652
|
mof: string;
|
660
653
|
/** Email */
|
@@ -687,50 +680,6 @@ export interface components {
|
|
687
680
|
image: string;
|
688
681
|
[key: string]: unknown;
|
689
682
|
};
|
690
|
-
/** RetrieveBranch */
|
691
|
-
RetrieveBranch: {
|
692
|
-
/** Id */
|
693
|
-
id: number;
|
694
|
-
/** Name */
|
695
|
-
name: string;
|
696
|
-
/** Code */
|
697
|
-
code?: string | null;
|
698
|
-
/**
|
699
|
-
* Startdate
|
700
|
-
* Format: date
|
701
|
-
*/
|
702
|
-
startDate: string;
|
703
|
-
/** Phone1 */
|
704
|
-
phone1: string;
|
705
|
-
/** Phone2 */
|
706
|
-
phone2?: string | null;
|
707
|
-
/** City */
|
708
|
-
city: string;
|
709
|
-
/** Address */
|
710
|
-
address: string;
|
711
|
-
[key: string]: unknown;
|
712
|
-
};
|
713
|
-
/** BranchSchema */
|
714
|
-
BranchSchema: {
|
715
|
-
/** Name */
|
716
|
-
name: string;
|
717
|
-
/** Code */
|
718
|
-
code?: string | null;
|
719
|
-
/**
|
720
|
-
* Startdate
|
721
|
-
* Format: date
|
722
|
-
*/
|
723
|
-
startDate: string;
|
724
|
-
/** Phone1 */
|
725
|
-
phone1: string;
|
726
|
-
/** Phone2 */
|
727
|
-
phone2?: string | null;
|
728
|
-
/** City */
|
729
|
-
city: string;
|
730
|
-
/** Address */
|
731
|
-
address: string;
|
732
|
-
[key: string]: unknown;
|
733
|
-
};
|
734
683
|
/** CompanySchema */
|
735
684
|
CompanySchema: {
|
736
685
|
/** Name */
|
@@ -815,6 +764,27 @@ export interface components {
|
|
815
764
|
country?: string | null;
|
816
765
|
[key: string]: unknown;
|
817
766
|
};
|
767
|
+
/** BranchSchema */
|
768
|
+
BranchSchema: {
|
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
|
+
};
|
818
788
|
/** UpdateBranch */
|
819
789
|
UpdateBranch: {
|
820
790
|
/** Name */
|
@@ -833,6 +803,29 @@ export interface components {
|
|
833
803
|
address?: string | null;
|
834
804
|
[key: string]: unknown;
|
835
805
|
};
|
806
|
+
/** RetrieveBranch */
|
807
|
+
RetrieveBranch: {
|
808
|
+
/** Id */
|
809
|
+
id: number;
|
810
|
+
/** Name */
|
811
|
+
name: string;
|
812
|
+
/** Code */
|
813
|
+
code?: string | null;
|
814
|
+
/**
|
815
|
+
* Startdate
|
816
|
+
* Format: date
|
817
|
+
*/
|
818
|
+
startDate: string;
|
819
|
+
/** Phone1 */
|
820
|
+
phone1: string;
|
821
|
+
/** Phone2 */
|
822
|
+
phone2?: string | null;
|
823
|
+
/** City */
|
824
|
+
city: string;
|
825
|
+
/** Address */
|
826
|
+
address: string;
|
827
|
+
[key: string]: unknown;
|
828
|
+
};
|
836
829
|
/** ChartOfAccountOptions */
|
837
830
|
ChartOfAccountOptions: {
|
838
831
|
/** Label */
|
@@ -1467,7 +1460,7 @@ export interface operations {
|
|
1467
1460
|
* - Invalid parameters
|
1468
1461
|
* - 201: warehouseCreated
|
1469
1462
|
* - Warehouse Created Successfully
|
1470
|
-
* - 403:
|
1463
|
+
* - 403: forbidden
|
1471
1464
|
* - You do not have permission to perform this action
|
1472
1465
|
*/
|
1473
1466
|
inventory_warehouse_views_new_default_warehouse: {
|
@@ -1501,11 +1494,11 @@ export interface operations {
|
|
1501
1494
|
* Get Warehouse Onboarding
|
1502
1495
|
* @description Endpoint for retrieve warehouse.
|
1503
1496
|
* Possible Responses:
|
1504
|
-
* - 200:
|
1497
|
+
* - 200: success
|
1505
1498
|
* - Success
|
1506
1499
|
* - 404: warehouseNotfound
|
1507
1500
|
* - Warehouse not found
|
1508
|
-
* - 403:
|
1501
|
+
* - 403: forbidden
|
1509
1502
|
* - You do not have permission to perform this action
|
1510
1503
|
*/
|
1511
1504
|
inventory_warehouse_views_get_warehouse_onboarding: {
|
@@ -1534,11 +1527,11 @@ export interface operations {
|
|
1534
1527
|
* Get Warehouse
|
1535
1528
|
* @description Endpoint for retrieve warehouse.
|
1536
1529
|
* Possible Responses:
|
1537
|
-
* - 200:
|
1530
|
+
* - 200: success
|
1538
1531
|
* - Success
|
1539
1532
|
* - 404: warehouseNotfound
|
1540
1533
|
* - Warehouse not found
|
1541
|
-
* - 403:
|
1534
|
+
* - 403: forbidden
|
1542
1535
|
* - You do not have permission to perform this action
|
1543
1536
|
*/
|
1544
1537
|
inventory_warehouse_views_get_warehouse: {
|
@@ -1578,7 +1571,7 @@ export interface operations {
|
|
1578
1571
|
* - Warehouse not found
|
1579
1572
|
* - 200: warehouseUpdated
|
1580
1573
|
* - Warehouse updated successfully
|
1581
|
-
* - 403:
|
1574
|
+
* - 403: forbidden
|
1582
1575
|
* - You do not have permission to perform this action
|
1583
1576
|
*/
|
1584
1577
|
inventory_warehouse_views_update_warehouse: {
|
@@ -1619,41 +1612,16 @@ export interface operations {
|
|
1619
1612
|
};
|
1620
1613
|
};
|
1621
1614
|
};
|
1622
|
-
/**
|
1623
|
-
* Company Setup Steps
|
1624
|
-
* @description Endpoint for get onboarding steps.
|
1625
|
-
* Possible Responses:
|
1626
|
-
* - 200: "Success"
|
1627
|
-
* - "Success"
|
1628
|
-
* - 405: "Method not allowed"
|
1629
|
-
* - "Method not allowed"
|
1630
|
-
*/
|
1631
|
-
company_views_company_setup_steps: {
|
1632
|
-
responses: {
|
1633
|
-
/** @description OK */
|
1634
|
-
200: {
|
1635
|
-
content: {
|
1636
|
-
"application/json": Record<string, never>;
|
1637
|
-
};
|
1638
|
-
};
|
1639
|
-
/** @description Method Not Allowed */
|
1640
|
-
405: {
|
1641
|
-
content: {
|
1642
|
-
"application/json": components["schemas"]["MessageResponse"];
|
1643
|
-
};
|
1644
|
-
};
|
1645
|
-
};
|
1646
|
-
};
|
1647
1615
|
/**
|
1648
1616
|
* Get Company
|
1649
1617
|
* @description Endpoint for retrieve company.
|
1650
1618
|
* Possible Responses:
|
1651
|
-
* - 200:
|
1652
|
-
* -
|
1653
|
-
* - 404:
|
1654
|
-
* -
|
1655
|
-
* - 403:
|
1656
|
-
* -
|
1619
|
+
* - 200: success
|
1620
|
+
* - Success
|
1621
|
+
* - 404: companyNotFound
|
1622
|
+
* - Company not found
|
1623
|
+
* - 403: forbidden
|
1624
|
+
* - You do not have permission to perform this action
|
1657
1625
|
*/
|
1658
1626
|
company_views_get_company: {
|
1659
1627
|
responses: {
|
@@ -1678,55 +1646,22 @@ export interface operations {
|
|
1678
1646
|
};
|
1679
1647
|
};
|
1680
1648
|
/**
|
1681
|
-
*
|
1682
|
-
* @description Endpoint for
|
1683
|
-
* Possible Responses:
|
1684
|
-
* - 200: "Success"
|
1685
|
-
* - "Success"
|
1686
|
-
* - 404: "Not found"
|
1687
|
-
* - "Branch not found"
|
1688
|
-
* - 403: "Forbidden"
|
1689
|
-
* - "You do not have permission to perform this action"
|
1690
|
-
*/
|
1691
|
-
company_views_get_branch_onboarding: {
|
1692
|
-
responses: {
|
1693
|
-
/** @description OK */
|
1694
|
-
200: {
|
1695
|
-
content: {
|
1696
|
-
"application/json": components["schemas"]["RetrieveBranch"];
|
1697
|
-
};
|
1698
|
-
};
|
1699
|
-
/** @description Forbidden */
|
1700
|
-
403: {
|
1701
|
-
content: {
|
1702
|
-
"application/json": components["schemas"]["MessageResponse"];
|
1703
|
-
};
|
1704
|
-
};
|
1705
|
-
/** @description Not Found */
|
1706
|
-
404: {
|
1707
|
-
content: {
|
1708
|
-
"application/json": components["schemas"]["MessageResponse"];
|
1709
|
-
};
|
1710
|
-
};
|
1711
|
-
};
|
1712
|
-
};
|
1713
|
-
/**
|
1714
|
-
* New Branch
|
1715
|
-
* @description Endpoint for create branch.
|
1649
|
+
* New Company
|
1650
|
+
* @description Endpoint for create company.
|
1716
1651
|
* Possible Responses:
|
1717
1652
|
* - 400: invalidParameters
|
1718
1653
|
* - Invalid parameters
|
1719
|
-
* - 201:
|
1720
|
-
* -
|
1721
|
-
* - 403:
|
1654
|
+
* - 201: companyCreated
|
1655
|
+
* - Company Created Successfully
|
1656
|
+
* - 403: forbidden
|
1722
1657
|
* - You do not have permission to perform this action
|
1723
|
-
* - 404:
|
1724
|
-
* -
|
1658
|
+
* - 404: imageNotFound
|
1659
|
+
* - Image Path Not Found
|
1725
1660
|
*/
|
1726
|
-
|
1661
|
+
company_views_new_company: {
|
1727
1662
|
requestBody: {
|
1728
1663
|
content: {
|
1729
|
-
"application/json": components["schemas"]["
|
1664
|
+
"application/json": components["schemas"]["CompanySchema"];
|
1730
1665
|
};
|
1731
1666
|
};
|
1732
1667
|
responses: {
|
@@ -1757,27 +1692,32 @@ export interface operations {
|
|
1757
1692
|
};
|
1758
1693
|
};
|
1759
1694
|
/**
|
1760
|
-
*
|
1761
|
-
* @description Endpoint for
|
1695
|
+
* Update Company
|
1696
|
+
* @description Endpoint for update company.
|
1762
1697
|
* Possible Responses:
|
1763
1698
|
* - 400: invalidParameters
|
1764
1699
|
* - Invalid parameters
|
1765
|
-
* -
|
1766
|
-
* - Company
|
1767
|
-
* - 403:
|
1700
|
+
* - 200: companyUpdated
|
1701
|
+
* - Company updated successfully
|
1702
|
+
* - 403: forbidden
|
1768
1703
|
* - You do not have permission to perform this action
|
1769
|
-
* -
|
1770
|
-
* - Image
|
1704
|
+
* -404: companynotFound / currencyNotFound / imageNotFound
|
1705
|
+
* - Company not found / Currency not found / Image path not found
|
1771
1706
|
*/
|
1772
|
-
|
1707
|
+
company_views_update_company: {
|
1708
|
+
parameters: {
|
1709
|
+
path: {
|
1710
|
+
id: number;
|
1711
|
+
};
|
1712
|
+
};
|
1773
1713
|
requestBody: {
|
1774
1714
|
content: {
|
1775
|
-
"application/json": components["schemas"]["
|
1715
|
+
"application/json": components["schemas"]["UpdateCompany"];
|
1776
1716
|
};
|
1777
1717
|
};
|
1778
1718
|
responses: {
|
1779
|
-
/** @description
|
1780
|
-
|
1719
|
+
/** @description OK */
|
1720
|
+
200: {
|
1781
1721
|
content: {
|
1782
1722
|
"application/json": components["schemas"]["MessageResponse"];
|
1783
1723
|
};
|
@@ -1803,32 +1743,27 @@ export interface operations {
|
|
1803
1743
|
};
|
1804
1744
|
};
|
1805
1745
|
/**
|
1806
|
-
*
|
1807
|
-
* @description Endpoint for
|
1746
|
+
* New Branch
|
1747
|
+
* @description Endpoint for create branch.
|
1808
1748
|
* Possible Responses:
|
1809
1749
|
* - 400: invalidParameters
|
1810
1750
|
* - Invalid parameters
|
1811
|
-
* -
|
1812
|
-
* -
|
1813
|
-
* - 403:
|
1751
|
+
* - 201: branchCreated
|
1752
|
+
* - Branch Created Successfully
|
1753
|
+
* - 403: forbidden
|
1814
1754
|
* - You do not have permission to perform this action
|
1815
|
-
* -404:
|
1816
|
-
* - Company not found
|
1755
|
+
* - 404: companyNotFound
|
1756
|
+
* - Company not found
|
1817
1757
|
*/
|
1818
|
-
|
1819
|
-
parameters: {
|
1820
|
-
path: {
|
1821
|
-
id: number;
|
1822
|
-
};
|
1823
|
-
};
|
1758
|
+
company_views_new_branch: {
|
1824
1759
|
requestBody: {
|
1825
1760
|
content: {
|
1826
|
-
"application/json": components["schemas"]["
|
1761
|
+
"application/json": components["schemas"]["BranchSchema"];
|
1827
1762
|
};
|
1828
1763
|
};
|
1829
1764
|
responses: {
|
1830
|
-
/** @description
|
1831
|
-
|
1765
|
+
/** @description Created */
|
1766
|
+
201: {
|
1832
1767
|
content: {
|
1833
1768
|
"application/json": components["schemas"]["MessageResponse"];
|
1834
1769
|
};
|
@@ -1857,11 +1792,11 @@ export interface operations {
|
|
1857
1792
|
* Get Branch
|
1858
1793
|
* @description Endpoint for retrieve branch.
|
1859
1794
|
* Possible Responses:
|
1860
|
-
* - 200:
|
1795
|
+
* - 200: success
|
1861
1796
|
* - Success
|
1862
1797
|
* - 404: branchNotFound
|
1863
1798
|
* - Branch not found
|
1864
|
-
* - 403:
|
1799
|
+
* - 403: forbidden
|
1865
1800
|
* - You do not have permission to perform this action
|
1866
1801
|
*/
|
1867
1802
|
company_views_get_branch: {
|
@@ -1899,7 +1834,7 @@ export interface operations {
|
|
1899
1834
|
* - Invalid parameters
|
1900
1835
|
* - 200: branchCreated
|
1901
1836
|
* - Branch created successfully
|
1902
|
-
* - 403:
|
1837
|
+
* - 403: forbidden
|
1903
1838
|
* - "You do not have permission to perform this action"
|
1904
1839
|
* -404: branchNotFound
|
1905
1840
|
* - Branch not found
|
@@ -1942,6 +1877,62 @@ export interface operations {
|
|
1942
1877
|
};
|
1943
1878
|
};
|
1944
1879
|
};
|
1880
|
+
/**
|
1881
|
+
* Company Setup Steps
|
1882
|
+
* @description Endpoint for get onboarding steps.
|
1883
|
+
* Possible Responses:
|
1884
|
+
* - 200: success
|
1885
|
+
* - Success
|
1886
|
+
*/
|
1887
|
+
company_views_company_setup_steps: {
|
1888
|
+
responses: {
|
1889
|
+
/** @description OK */
|
1890
|
+
200: {
|
1891
|
+
content: {
|
1892
|
+
"application/json": Record<string, never>;
|
1893
|
+
};
|
1894
|
+
};
|
1895
|
+
/** @description Method Not Allowed */
|
1896
|
+
405: {
|
1897
|
+
content: {
|
1898
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1899
|
+
};
|
1900
|
+
};
|
1901
|
+
};
|
1902
|
+
};
|
1903
|
+
/**
|
1904
|
+
* Get Branch Onboarding
|
1905
|
+
* @description Endpoint for retrieve branch.
|
1906
|
+
* Possible Responses:
|
1907
|
+
* - 200: success
|
1908
|
+
* - Success
|
1909
|
+
* - 404: branchNotFound
|
1910
|
+
* - Branch not found
|
1911
|
+
* - 403: forbidden
|
1912
|
+
* - You do not have permission to perform this action
|
1913
|
+
*/
|
1914
|
+
company_views_get_branch_onboarding: {
|
1915
|
+
responses: {
|
1916
|
+
/** @description OK */
|
1917
|
+
200: {
|
1918
|
+
content: {
|
1919
|
+
"application/json": components["schemas"]["RetrieveBranch"];
|
1920
|
+
};
|
1921
|
+
};
|
1922
|
+
/** @description Forbidden */
|
1923
|
+
403: {
|
1924
|
+
content: {
|
1925
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1926
|
+
};
|
1927
|
+
};
|
1928
|
+
/** @description Not Found */
|
1929
|
+
404: {
|
1930
|
+
content: {
|
1931
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1932
|
+
};
|
1933
|
+
};
|
1934
|
+
};
|
1935
|
+
};
|
1945
1936
|
/**
|
1946
1937
|
* Get Chart Of Account Options
|
1947
1938
|
* @description Endpoint for load Chart of Account Options.
|
@@ -2054,11 +2045,11 @@ export interface operations {
|
|
2054
2045
|
* Get Galoper Setting
|
2055
2046
|
* @description Endpoint for retreive galoper setting.
|
2056
2047
|
* Possible Responses:
|
2057
|
-
* - 200:
|
2048
|
+
* - 200: success
|
2058
2049
|
* - Success
|
2059
2050
|
* - 404: galoperSettingNotFound
|
2060
2051
|
* - Galoper Settings not found
|
2061
|
-
* - 403:
|
2052
|
+
* - 403: forbidden
|
2062
2053
|
* - You do not have permission to perform this action
|
2063
2054
|
*/
|
2064
2055
|
admin_panel_views_get_galoper_setting: {
|
@@ -2091,9 +2082,9 @@ export interface operations {
|
|
2091
2082
|
* - Invalid parameters
|
2092
2083
|
* - 404: galoperSettingNotFound / companyNotFound
|
2093
2084
|
* - Galoper Setting not found / Company not found
|
2094
|
-
* - 200:
|
2085
|
+
* - 200: success
|
2095
2086
|
* - Success
|
2096
|
-
* - 403:
|
2087
|
+
* - 403: forbidden
|
2097
2088
|
* - You do not have permission to perform this action
|
2098
2089
|
*/
|
2099
2090
|
admin_panel_views_update_load_chart_of_account: {
|
@@ -2135,11 +2126,11 @@ export interface operations {
|
|
2135
2126
|
* Possible Responses:
|
2136
2127
|
* - 400: invalidParameters
|
2137
2128
|
* - Invalid parameters
|
2138
|
-
* - 200:
|
2129
|
+
* - 200: success
|
2139
2130
|
* - Success
|
2140
2131
|
* - 201: chartOfAccountCreatedSuccessfully
|
2141
2132
|
* - Chart of Account Created Successfully
|
2142
|
-
* - 403:
|
2133
|
+
* - 403: forbidden
|
2143
2134
|
* - You do not have permission to perform this action
|
2144
2135
|
* - 404: galoperSettingNotFound / companyNotFound
|
2145
2136
|
* - Galoper Setting not found / Company not found
|
@@ -2191,7 +2182,7 @@ export interface operations {
|
|
2191
2182
|
* - Invalid parameters
|
2192
2183
|
* - 201: settingsCraeted
|
2193
2184
|
* - Settings Created Successfully
|
2194
|
-
* - 403:
|
2185
|
+
* - 403: forbidden
|
2195
2186
|
* - You do not have permission to perform this action
|
2196
2187
|
* - 404: companyNotFound
|
2197
2188
|
* - Company not Found
|
package/package.json
CHANGED