@erp-galoper/main-package 1.0.8 → 1.0.10
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 +486 -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.
|
@@ -385,6 +417,22 @@ export interface paths {
|
|
385
417
|
/** Get Settings Options */
|
386
418
|
get: operations["erp_settings_views_get_settings_options"];
|
387
419
|
};
|
420
|
+
"/api/v1/reports/profit_loss/": {
|
421
|
+
/**
|
422
|
+
* Profit And Loss
|
423
|
+
* @description Endpoint to get profit and loss report
|
424
|
+
* possible responses:
|
425
|
+
* - 200: noMessage, noCode, justData
|
426
|
+
* - 400: startDateAndEndDateAreRequiredForCustomPeriodType , invalidStartDateFormat , invalidEndDateFormat
|
427
|
+
* - 403: forbidden
|
428
|
+
* - 404: branchNotFound
|
429
|
+
*/
|
430
|
+
get: operations["reports_views_profit_and_loss"];
|
431
|
+
};
|
432
|
+
"/api/v1/currencies/primary_and_secondary/": {
|
433
|
+
/** Get Primary And Secondary Currency */
|
434
|
+
get: operations["common_currency_views_get_primary_and_secondary_currency"];
|
435
|
+
};
|
388
436
|
}
|
389
437
|
|
390
438
|
export type webhooks = Record<string, never>;
|
@@ -556,6 +604,20 @@ export interface components {
|
|
556
604
|
address: string;
|
557
605
|
[key: string]: unknown;
|
558
606
|
};
|
607
|
+
/** RetrieveWarehouse */
|
608
|
+
RetrieveWarehouse: {
|
609
|
+
/** Id */
|
610
|
+
id: number;
|
611
|
+
/** Name */
|
612
|
+
name: string;
|
613
|
+
/** Country */
|
614
|
+
country: string;
|
615
|
+
/** City */
|
616
|
+
city: string;
|
617
|
+
/** Address */
|
618
|
+
address: string;
|
619
|
+
[key: string]: unknown;
|
620
|
+
};
|
559
621
|
/** UpdateWarehouse */
|
560
622
|
UpdateWarehouse: {
|
561
623
|
/** Name */
|
@@ -568,14 +630,80 @@ export interface components {
|
|
568
630
|
address?: string | null;
|
569
631
|
[key: string]: unknown;
|
570
632
|
};
|
571
|
-
/**
|
572
|
-
|
633
|
+
/** CurrencyName */
|
634
|
+
CurrencyName: {
|
635
|
+
/** Name */
|
636
|
+
name: string;
|
637
|
+
[key: string]: unknown;
|
638
|
+
};
|
639
|
+
/** RetrieveCompany */
|
640
|
+
RetrieveCompany: {
|
573
641
|
/** Id */
|
574
642
|
id: number;
|
575
643
|
/** Name */
|
576
644
|
name: string;
|
645
|
+
currency: components["schemas"]["CurrencyName"];
|
646
|
+
/** Vat */
|
647
|
+
vat: boolean;
|
648
|
+
/**
|
649
|
+
* Startdate
|
650
|
+
* Format: date
|
651
|
+
*/
|
652
|
+
startDate: string;
|
653
|
+
/**
|
654
|
+
* Vatdate
|
655
|
+
* Format: date
|
656
|
+
*/
|
657
|
+
vatDate?: string;
|
658
|
+
/** Mof */
|
659
|
+
mof: string;
|
660
|
+
/** Email */
|
661
|
+
email: string;
|
662
|
+
/** Fiscalyeardaystart */
|
663
|
+
fiscalYearDayStart: number;
|
664
|
+
/** Fiscalyeardayend */
|
665
|
+
fiscalYearDayEnd: number;
|
666
|
+
/** Fiscalyearmonthstart */
|
667
|
+
fiscalYearMonthStart: number;
|
668
|
+
/** Fiscalyearmonthend */
|
669
|
+
fiscalYearMonthEnd: number;
|
670
|
+
/** Phone1 */
|
671
|
+
phone1: string;
|
672
|
+
/** Phone2 */
|
673
|
+
phone2?: string | null;
|
674
|
+
/** Fax */
|
675
|
+
fax?: string | null;
|
577
676
|
/** Country */
|
578
677
|
country: string;
|
678
|
+
/** Postalcode */
|
679
|
+
postalcode?: string | null;
|
680
|
+
/** City */
|
681
|
+
city: string;
|
682
|
+
/** Address */
|
683
|
+
address: string;
|
684
|
+
/** Website */
|
685
|
+
website?: string | null;
|
686
|
+
/** Image */
|
687
|
+
image: string;
|
688
|
+
[key: string]: unknown;
|
689
|
+
};
|
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;
|
579
707
|
/** City */
|
580
708
|
city: string;
|
581
709
|
/** Address */
|
@@ -687,63 +815,6 @@ export interface components {
|
|
687
815
|
country?: string | null;
|
688
816
|
[key: string]: unknown;
|
689
817
|
};
|
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
818
|
/** UpdateBranch */
|
748
819
|
UpdateBranch: {
|
749
820
|
/** Name */
|
@@ -762,29 +833,6 @@ export interface components {
|
|
762
833
|
address?: string | null;
|
763
834
|
[key: string]: unknown;
|
764
835
|
};
|
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
836
|
/** ChartOfAccountOptions */
|
789
837
|
ChartOfAccountOptions: {
|
790
838
|
/** Label */
|
@@ -841,8 +889,6 @@ export interface components {
|
|
841
889
|
GaloperSettingChart: {
|
842
890
|
/** Value */
|
843
891
|
value: string;
|
844
|
-
/** Load Chart Of Account */
|
845
|
-
load_chart_of_account: string | null;
|
846
892
|
[key: string]: unknown;
|
847
893
|
};
|
848
894
|
/** LoadSettingsSchema */
|
@@ -865,6 +911,162 @@ export interface components {
|
|
865
911
|
primaryCurrency: boolean;
|
866
912
|
[key: string]: unknown;
|
867
913
|
};
|
914
|
+
/**
|
915
|
+
* PeriodType
|
916
|
+
* @enum {string}
|
917
|
+
*/
|
918
|
+
PeriodType: "this Month" | "this Year" | "last Month" | "last Year" | "custom";
|
919
|
+
/** Costs */
|
920
|
+
Costs: {
|
921
|
+
details: components["schemas"]["CostsDetails"];
|
922
|
+
totalCosts: components["schemas"]["currencyObject"];
|
923
|
+
[key: string]: unknown;
|
924
|
+
};
|
925
|
+
/** CostsDetails */
|
926
|
+
CostsDetails: {
|
927
|
+
purchaseAndVariationOfInventory: components["schemas"]["currencyObject"];
|
928
|
+
purchaseOfGoods: components["schemas"]["currencyObject"];
|
929
|
+
chargesOnGoodsPurchasing: components["schemas"]["currencyObject"];
|
930
|
+
goodsInventoryVariance: components["schemas"]["currencyObject"];
|
931
|
+
rawMaterialsPurchases: components["schemas"]["currencyObject"];
|
932
|
+
chargesOnRawMaterialPurchases: components["schemas"]["currencyObject"];
|
933
|
+
rawMatConsumInventoryVariance: components["schemas"]["currencyObject"];
|
934
|
+
purchasesOfWork: components["schemas"]["currencyObject"];
|
935
|
+
purchasesOfServices: components["schemas"]["currencyObject"];
|
936
|
+
purchasesOfWorkAndServices: components["schemas"]["currencyObject"];
|
937
|
+
productionVariation_m: components["schemas"]["currencyObject"];
|
938
|
+
costOfInventoriesSoldConsumedOrAuxiliaryMaterials: components["schemas"]["currencyObject"];
|
939
|
+
[key: string]: unknown;
|
940
|
+
};
|
941
|
+
/** GeneralExpenses */
|
942
|
+
GeneralExpenses: {
|
943
|
+
details: components["schemas"]["GeneralExpensesDetails"];
|
944
|
+
totalGeneralExpenses: components["schemas"]["currencyObject"];
|
945
|
+
[key: string]: unknown;
|
946
|
+
};
|
947
|
+
/** GeneralExpensesDetails */
|
948
|
+
GeneralExpensesDetails: {
|
949
|
+
transportationAndCommunication: components["schemas"]["currencyObject"];
|
950
|
+
equipMaintenanceRepair: components["schemas"]["currencyObject"];
|
951
|
+
rent: components["schemas"]["currencyObject"];
|
952
|
+
hotelAndRestaurant: components["schemas"]["currencyObject"];
|
953
|
+
staffServices: components["schemas"]["currencyObject"];
|
954
|
+
teachingServices: components["schemas"]["currencyObject"];
|
955
|
+
researchAndStudies: components["schemas"]["currencyObject"];
|
956
|
+
insurancePremium: components["schemas"]["currencyObject"];
|
957
|
+
otherOperatingExpenses: components["schemas"]["currencyObject"];
|
958
|
+
otherExternalServices: components["schemas"]["currencyObject"];
|
959
|
+
leasingPatentFeesRoyalties: components["schemas"]["currencyObject"];
|
960
|
+
feesAndTaxes: components["schemas"]["currencyObject"];
|
961
|
+
externalServices: components["schemas"]["currencyObject"];
|
962
|
+
subcontacts: components["schemas"]["currencyObject"];
|
963
|
+
utilities: components["schemas"]["currencyObject"];
|
964
|
+
lubricants: components["schemas"]["currencyObject"];
|
965
|
+
quick_wear_tools_and_utensils: components["schemas"]["currencyObject"];
|
966
|
+
commissionsToIntermediaries: components["schemas"]["currencyObject"];
|
967
|
+
publicityAndAdvertising: components["schemas"]["currencyObject"];
|
968
|
+
travelExpense: components["schemas"]["currencyObject"];
|
969
|
+
impairmentLossesForThePeriod: components["schemas"]["currencyObject"];
|
970
|
+
[key: string]: unknown;
|
971
|
+
};
|
972
|
+
/** OtherExpenses */
|
973
|
+
OtherExpenses: {
|
974
|
+
details: components["schemas"]["OtherExpensesDetails"];
|
975
|
+
totalOtherExpenses: components["schemas"]["currencyObject"];
|
976
|
+
[key: string]: unknown;
|
977
|
+
};
|
978
|
+
/** OtherExpensesDetails */
|
979
|
+
OtherExpensesDetails: {
|
980
|
+
otherNonOperatingExpenses: components["schemas"]["currencyObject"];
|
981
|
+
lossesByReducingTheFairValue: components["schemas"]["currencyObject"];
|
982
|
+
[key: string]: unknown;
|
983
|
+
};
|
984
|
+
/** OtherIncome */
|
985
|
+
OtherIncome: {
|
986
|
+
details: components["schemas"]["OtherIncomeDetails"];
|
987
|
+
totalOtherIncome: components["schemas"]["currencyObject"];
|
988
|
+
[key: string]: unknown;
|
989
|
+
};
|
990
|
+
/** OtherIncomeDetails */
|
991
|
+
OtherIncomeDetails: {
|
992
|
+
otherOperatingRevenues: components["schemas"]["currencyObject"];
|
993
|
+
otherNonOperatingRevenues: components["schemas"]["currencyObject"];
|
994
|
+
[key: string]: unknown;
|
995
|
+
};
|
996
|
+
/** Payroll */
|
997
|
+
Payroll: {
|
998
|
+
details: components["schemas"]["PayrollDetail"];
|
999
|
+
totalPayroll: components["schemas"]["currencyObject"];
|
1000
|
+
[key: string]: unknown;
|
1001
|
+
};
|
1002
|
+
/** PayrollDetail */
|
1003
|
+
PayrollDetail: {
|
1004
|
+
personnelWages: components["schemas"]["currencyObject"];
|
1005
|
+
socialCharges: components["schemas"]["currencyObject"];
|
1006
|
+
[key: string]: unknown;
|
1007
|
+
};
|
1008
|
+
/** Revenue */
|
1009
|
+
Revenue: {
|
1010
|
+
details: components["schemas"]["RevenueDetails"];
|
1011
|
+
totalRevenue: components["schemas"]["currencyObject"];
|
1012
|
+
[key: string]: unknown;
|
1013
|
+
};
|
1014
|
+
/** RevenueDetails */
|
1015
|
+
RevenueDetails: {
|
1016
|
+
salesOfGoods: components["schemas"]["currencyObject"];
|
1017
|
+
salesOfManufacturedGoods: components["schemas"]["currencyObject"];
|
1018
|
+
salesOfByProductsItems: components["schemas"]["currencyObject"];
|
1019
|
+
salesOfScrap: components["schemas"]["currencyObject"];
|
1020
|
+
works: components["schemas"]["currencyObject"];
|
1021
|
+
salesServices: components["schemas"]["currencyObject"];
|
1022
|
+
revenuesOfProductsWorksAndServices: components["schemas"]["currencyObject"];
|
1023
|
+
discountsGranted: components["schemas"]["currencyObject"];
|
1024
|
+
productionVariation: components["schemas"]["currencyObject"];
|
1025
|
+
productionOfFixedAssets: components["schemas"]["currencyObject"];
|
1026
|
+
operatingSubsides: components["schemas"]["currencyObject"];
|
1027
|
+
writeBackProvision: components["schemas"]["currencyObject"];
|
1028
|
+
discountsAndRebatesGoodsFinishedGoodsProductsWasteAndScrapAndBiologicalAssets: components["schemas"]["currencyObject"];
|
1029
|
+
salesDiscountService: components["schemas"]["currencyObject"];
|
1030
|
+
[key: string]: unknown;
|
1031
|
+
};
|
1032
|
+
/** currencyObject */
|
1033
|
+
currencyObject: {
|
1034
|
+
/** Usd */
|
1035
|
+
usd: number;
|
1036
|
+
/** Company */
|
1037
|
+
company: number;
|
1038
|
+
[key: string]: unknown;
|
1039
|
+
};
|
1040
|
+
/** profitAndLossSchema */
|
1041
|
+
profitAndLossSchema: {
|
1042
|
+
revenue: components["schemas"]["Revenue"];
|
1043
|
+
costs: components["schemas"]["Costs"];
|
1044
|
+
totalOperatingLossesProfit: components["schemas"]["currencyObject"];
|
1045
|
+
payroll: components["schemas"]["Payroll"];
|
1046
|
+
generalExpenses: components["schemas"]["GeneralExpenses"];
|
1047
|
+
totalOverheads: components["schemas"]["currencyObject"];
|
1048
|
+
grossOperatingLossProfit: components["schemas"]["currencyObject"];
|
1049
|
+
otherIncome: components["schemas"]["OtherIncome"];
|
1050
|
+
otherExpenses: components["schemas"]["OtherExpenses"];
|
1051
|
+
EBITDA: components["schemas"]["currencyObject"];
|
1052
|
+
financialRevenue: components["schemas"]["currencyObject"];
|
1053
|
+
financialCharges: components["schemas"]["currencyObject"];
|
1054
|
+
depreciationAmortization: components["schemas"]["currencyObject"];
|
1055
|
+
netIncomeBeforeDepreciation: components["schemas"]["currencyObject"];
|
1056
|
+
provisionsAllocation: components["schemas"]["currencyObject"];
|
1057
|
+
netIncomeBeforeTax: components["schemas"]["currencyObject"];
|
1058
|
+
incomeTax: components["schemas"]["currencyObject"];
|
1059
|
+
netIncomeLoss: components["schemas"]["currencyObject"];
|
1060
|
+
[key: string]: unknown;
|
1061
|
+
};
|
1062
|
+
/** CurrencyList */
|
1063
|
+
CurrencyList: {
|
1064
|
+
/** Name */
|
1065
|
+
name: string;
|
1066
|
+
/** Id */
|
1067
|
+
id: number;
|
1068
|
+
[key: string]: unknown;
|
1069
|
+
};
|
868
1070
|
};
|
869
1071
|
responses: never;
|
870
1072
|
parameters: never;
|
@@ -1295,6 +1497,39 @@ export interface operations {
|
|
1295
1497
|
};
|
1296
1498
|
};
|
1297
1499
|
};
|
1500
|
+
/**
|
1501
|
+
* Get Warehouse Onboarding
|
1502
|
+
* @description Endpoint for retrieve warehouse.
|
1503
|
+
* Possible Responses:
|
1504
|
+
* - 200: Success
|
1505
|
+
* - Success
|
1506
|
+
* - 404: warehouseNotfound
|
1507
|
+
* - Warehouse not found
|
1508
|
+
* - 403: Forbidden
|
1509
|
+
* - You do not have permission to perform this action
|
1510
|
+
*/
|
1511
|
+
inventory_warehouse_views_get_warehouse_onboarding: {
|
1512
|
+
responses: {
|
1513
|
+
/** @description OK */
|
1514
|
+
200: {
|
1515
|
+
content: {
|
1516
|
+
"application/json": components["schemas"]["RetrieveWarehouse"];
|
1517
|
+
};
|
1518
|
+
};
|
1519
|
+
/** @description Forbidden */
|
1520
|
+
403: {
|
1521
|
+
content: {
|
1522
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1523
|
+
};
|
1524
|
+
};
|
1525
|
+
/** @description Not Found */
|
1526
|
+
404: {
|
1527
|
+
content: {
|
1528
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1529
|
+
};
|
1530
|
+
};
|
1531
|
+
};
|
1532
|
+
};
|
1298
1533
|
/**
|
1299
1534
|
* Get Warehouse
|
1300
1535
|
* @description Endpoint for retrieve warehouse.
|
@@ -1384,6 +1619,97 @@ export interface operations {
|
|
1384
1619
|
};
|
1385
1620
|
};
|
1386
1621
|
};
|
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
|
+
/**
|
1648
|
+
* Get Company
|
1649
|
+
* @description Endpoint for retrieve company.
|
1650
|
+
* Possible Responses:
|
1651
|
+
* - 200: "Success"
|
1652
|
+
* - "Success"
|
1653
|
+
* - 404: "Not found"
|
1654
|
+
* - "Company not found"
|
1655
|
+
* - 403: "Forbidden"
|
1656
|
+
* - "You do not have permission to perform this action"
|
1657
|
+
*/
|
1658
|
+
company_views_get_company: {
|
1659
|
+
responses: {
|
1660
|
+
/** @description OK */
|
1661
|
+
200: {
|
1662
|
+
content: {
|
1663
|
+
"application/json": components["schemas"]["RetrieveCompany"];
|
1664
|
+
};
|
1665
|
+
};
|
1666
|
+
/** @description Forbidden */
|
1667
|
+
403: {
|
1668
|
+
content: {
|
1669
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1670
|
+
};
|
1671
|
+
};
|
1672
|
+
/** @description Not Found */
|
1673
|
+
404: {
|
1674
|
+
content: {
|
1675
|
+
"application/json": components["schemas"]["MessageResponse"];
|
1676
|
+
};
|
1677
|
+
};
|
1678
|
+
};
|
1679
|
+
};
|
1680
|
+
/**
|
1681
|
+
* Get Branch Onboarding
|
1682
|
+
* @description Endpoint for retrieve branch.
|
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
|
+
};
|
1387
1713
|
/**
|
1388
1714
|
* New Branch
|
1389
1715
|
* @description Endpoint for create branch.
|
@@ -1476,44 +1802,6 @@ export interface operations {
|
|
1476
1802
|
};
|
1477
1803
|
};
|
1478
1804
|
};
|
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
1805
|
/**
|
1518
1806
|
* Update Company
|
1519
1807
|
* @description Endpoint for update company.
|
@@ -1654,29 +1942,6 @@ export interface operations {
|
|
1654
1942
|
};
|
1655
1943
|
};
|
1656
1944
|
};
|
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
1945
|
/**
|
1681
1946
|
* Get Chart Of Account Options
|
1682
1947
|
* @description Endpoint for load Chart of Account Options.
|
@@ -1832,11 +2097,6 @@ export interface operations {
|
|
1832
2097
|
* - You do not have permission to perform this action
|
1833
2098
|
*/
|
1834
2099
|
admin_panel_views_update_load_chart_of_account: {
|
1835
|
-
parameters: {
|
1836
|
-
path: {
|
1837
|
-
id: number;
|
1838
|
-
};
|
1839
|
-
};
|
1840
2100
|
requestBody: {
|
1841
2101
|
content: {
|
1842
2102
|
"application/json": components["schemas"]["GaloperSettingChart"];
|
@@ -1986,4 +2246,57 @@ export interface operations {
|
|
1986
2246
|
};
|
1987
2247
|
};
|
1988
2248
|
};
|
2249
|
+
/**
|
2250
|
+
* Profit And Loss
|
2251
|
+
* @description Endpoint to get profit and loss report
|
2252
|
+
* possible responses:
|
2253
|
+
* - 200: noMessage, noCode, justData
|
2254
|
+
* - 400: startDateAndEndDateAreRequiredForCustomPeriodType , invalidStartDateFormat , invalidEndDateFormat
|
2255
|
+
* - 403: forbidden
|
2256
|
+
* - 404: branchNotFound
|
2257
|
+
*/
|
2258
|
+
reports_views_profit_and_loss: {
|
2259
|
+
parameters: {
|
2260
|
+
query: {
|
2261
|
+
branches: number[];
|
2262
|
+
/** @description Period type: this_month, this_year, last_month, custom */
|
2263
|
+
periodType: "this Month" | "this Year" | "last Month" | "last Year" | "custom";
|
2264
|
+
/** @description Start date for custom range (YYYY-MM-DD) */
|
2265
|
+
startDate?: string | null;
|
2266
|
+
/** @description End date for custom range (YYYY-MM-DD) */
|
2267
|
+
endDate?: string | null;
|
2268
|
+
};
|
2269
|
+
};
|
2270
|
+
responses: {
|
2271
|
+
/** @description OK */
|
2272
|
+
200: {
|
2273
|
+
content: {
|
2274
|
+
"application/json": components["schemas"]["profitAndLossSchema"];
|
2275
|
+
};
|
2276
|
+
};
|
2277
|
+
/** @description Bad Request */
|
2278
|
+
400: {
|
2279
|
+
content: {
|
2280
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2281
|
+
};
|
2282
|
+
};
|
2283
|
+
/** @description Not Found */
|
2284
|
+
404: {
|
2285
|
+
content: {
|
2286
|
+
"application/json": components["schemas"]["MessageResponse"];
|
2287
|
+
};
|
2288
|
+
};
|
2289
|
+
};
|
2290
|
+
};
|
2291
|
+
/** Get Primary And Secondary Currency */
|
2292
|
+
common_currency_views_get_primary_and_secondary_currency: {
|
2293
|
+
responses: {
|
2294
|
+
/** @description OK */
|
2295
|
+
200: {
|
2296
|
+
content: {
|
2297
|
+
"application/json": components["schemas"]["CurrencyList"][];
|
2298
|
+
};
|
2299
|
+
};
|
2300
|
+
};
|
2301
|
+
};
|
1989
2302
|
}
|
package/package.json
CHANGED