@erp-galoper/main-package 1.0.61 → 1.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/openapi.ts +106 -94
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -231,24 +231,6 @@ export interface paths {
231
231
  */
232
232
  patch: operations["company_views_update_company"];
233
233
  };
234
- "/api/v1/company/branches/new/": {
235
- /**
236
- * New Branch
237
- * @description Endpoint for create branch.
238
- * Possible Responses:
239
- * - 400: invalidParameters
240
- * - Invalid parameters
241
- * - 201: branchCreated
242
- * - Branch Created Successfully
243
- * - 403: forbidden
244
- * - You do not have permission to perform this action
245
- * - 404: companyNotFound
246
- * - Company not found
247
- * - 500: internalServerError
248
- * - Internal server error
249
- */
250
- post: operations["company_views_new_branch"];
251
- };
252
234
  "/api/v1/company/branches/{id}/": {
253
235
  /**
254
236
  * Get Branch
@@ -307,6 +289,24 @@ export interface paths {
307
289
  */
308
290
  get: operations["company_views_company_setup_steps"];
309
291
  };
292
+ "/api/v1/onboarding/branch/new/": {
293
+ /**
294
+ * New Branch
295
+ * @description Endpoint for create branch.
296
+ * Possible Responses:
297
+ * - 400: invalidParameters
298
+ * - Invalid parameters
299
+ * - 201: branchCreated
300
+ * - Branch Created Successfully
301
+ * - 403: forbidden
302
+ * - You do not have permission to perform this action
303
+ * - 404: companyNotFound
304
+ * - Company not found
305
+ * - 500: internalServerError
306
+ * - Internal server error
307
+ */
308
+ post: operations["company_views_new_branch"];
309
+ };
310
310
  "/api/v1/onboarding/branch/": {
311
311
  /**
312
312
  * Get Branch Onboarding
@@ -838,27 +838,6 @@ export interface components {
838
838
  country?: string | null;
839
839
  [key: string]: unknown;
840
840
  };
841
- /** BranchSchema */
842
- BranchSchema: {
843
- /** Name */
844
- name: string;
845
- /** Code */
846
- code?: string | null;
847
- /**
848
- * Startdate
849
- * Format: date
850
- */
851
- startDate: string;
852
- /** Phone1 */
853
- phone1: string;
854
- /** Phone2 */
855
- phone2?: string | null;
856
- /** City */
857
- city: string;
858
- /** Address */
859
- address: string;
860
- [key: string]: unknown;
861
- };
862
841
  /** UpdateBranch */
863
842
  UpdateBranch: {
864
843
  /** Name */
@@ -909,6 +888,27 @@ export interface components {
909
888
  address: string;
910
889
  [key: string]: unknown;
911
890
  };
891
+ /** BranchSchema */
892
+ BranchSchema: {
893
+ /** Name */
894
+ name: string;
895
+ /** Code */
896
+ code?: string | null;
897
+ /**
898
+ * Startdate
899
+ * Format: date
900
+ */
901
+ startDate: string;
902
+ /** Phone1 */
903
+ phone1: string;
904
+ /** Phone2 */
905
+ phone2?: string | null;
906
+ /** City */
907
+ city: string;
908
+ /** Address */
909
+ address: string;
910
+ [key: string]: unknown;
911
+ };
912
912
  /** ChartOfAccountOptions */
913
913
  ChartOfAccountOptions: {
914
914
  /** Label */
@@ -989,6 +989,18 @@ export interface components {
989
989
  appointmentSettings: boolean;
990
990
  [key: string]: unknown;
991
991
  };
992
+ /** SettingsOptions */
993
+ SettingsOptions: {
994
+ /** Value */
995
+ value: string;
996
+ /** Label */
997
+ label: string;
998
+ /** Disabled */
999
+ disabled: boolean;
1000
+ /** Checked */
1001
+ checked: boolean;
1002
+ [key: string]: unknown;
1003
+ };
992
1004
  /**
993
1005
  * PeriodType
994
1006
  * @enum {string}
@@ -1716,60 +1728,6 @@ export interface operations {
1716
1728
  };
1717
1729
  };
1718
1730
  };
1719
- /**
1720
- * New Branch
1721
- * @description Endpoint for create branch.
1722
- * Possible Responses:
1723
- * - 400: invalidParameters
1724
- * - Invalid parameters
1725
- * - 201: branchCreated
1726
- * - Branch Created Successfully
1727
- * - 403: forbidden
1728
- * - You do not have permission to perform this action
1729
- * - 404: companyNotFound
1730
- * - Company not found
1731
- * - 500: internalServerError
1732
- * - Internal server error
1733
- */
1734
- company_views_new_branch: {
1735
- requestBody: {
1736
- content: {
1737
- "application/json": components["schemas"]["BranchSchema"];
1738
- };
1739
- };
1740
- responses: {
1741
- /** @description Created */
1742
- 201: {
1743
- content: {
1744
- "application/json": components["schemas"]["MessageResponse"];
1745
- };
1746
- };
1747
- /** @description Bad Request */
1748
- 400: {
1749
- content: {
1750
- "application/json": components["schemas"]["MessageResponse"];
1751
- };
1752
- };
1753
- /** @description Forbidden */
1754
- 403: {
1755
- content: {
1756
- "application/json": components["schemas"]["MessageResponse"];
1757
- };
1758
- };
1759
- /** @description Not Found */
1760
- 404: {
1761
- content: {
1762
- "application/json": components["schemas"]["MessageResponse"];
1763
- };
1764
- };
1765
- /** @description Internal Server Error */
1766
- 500: {
1767
- content: {
1768
- "application/json": components["schemas"]["MessageResponse"];
1769
- };
1770
- };
1771
- };
1772
- };
1773
1731
  /**
1774
1732
  * Get Branch
1775
1733
  * @description Endpoint for retrieve branch.
@@ -1939,6 +1897,60 @@ export interface operations {
1939
1897
  };
1940
1898
  };
1941
1899
  };
1900
+ /**
1901
+ * New Branch
1902
+ * @description Endpoint for create branch.
1903
+ * Possible Responses:
1904
+ * - 400: invalidParameters
1905
+ * - Invalid parameters
1906
+ * - 201: branchCreated
1907
+ * - Branch Created Successfully
1908
+ * - 403: forbidden
1909
+ * - You do not have permission to perform this action
1910
+ * - 404: companyNotFound
1911
+ * - Company not found
1912
+ * - 500: internalServerError
1913
+ * - Internal server error
1914
+ */
1915
+ company_views_new_branch: {
1916
+ requestBody: {
1917
+ content: {
1918
+ "application/json": components["schemas"]["BranchSchema"];
1919
+ };
1920
+ };
1921
+ responses: {
1922
+ /** @description Created */
1923
+ 201: {
1924
+ content: {
1925
+ "application/json": components["schemas"]["MessageResponse"];
1926
+ };
1927
+ };
1928
+ /** @description Bad Request */
1929
+ 400: {
1930
+ content: {
1931
+ "application/json": components["schemas"]["MessageResponse"];
1932
+ };
1933
+ };
1934
+ /** @description Forbidden */
1935
+ 403: {
1936
+ content: {
1937
+ "application/json": components["schemas"]["MessageResponse"];
1938
+ };
1939
+ };
1940
+ /** @description Not Found */
1941
+ 404: {
1942
+ content: {
1943
+ "application/json": components["schemas"]["MessageResponse"];
1944
+ };
1945
+ };
1946
+ /** @description Internal Server Error */
1947
+ 500: {
1948
+ content: {
1949
+ "application/json": components["schemas"]["MessageResponse"];
1950
+ };
1951
+ };
1952
+ };
1953
+ };
1942
1954
  /**
1943
1955
  * Get Branch Onboarding
1944
1956
  * @description Endpoint for retrieve branch.
@@ -2331,7 +2343,7 @@ export interface operations {
2331
2343
  /** @description OK */
2332
2344
  200: {
2333
2345
  content: {
2334
- "application/json": unknown[];
2346
+ "application/json": components["schemas"]["SettingsOptions"][];
2335
2347
  };
2336
2348
  };
2337
2349
  /** @description Not Found */
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "main": "openapi.ts"
5
5
  }