@erp-galoper/types 1.0.766 → 1.0.768
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 +101 -8
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -4716,6 +4716,41 @@ export interface paths {
|
|
|
4716
4716
|
patch?: never;
|
|
4717
4717
|
trace?: never;
|
|
4718
4718
|
};
|
|
4719
|
+
"/api/v1/customers/import-excel/": {
|
|
4720
|
+
parameters: {
|
|
4721
|
+
query?: never;
|
|
4722
|
+
header?: never;
|
|
4723
|
+
path?: never;
|
|
4724
|
+
cookie?: never;
|
|
4725
|
+
};
|
|
4726
|
+
get?: never;
|
|
4727
|
+
put?: never;
|
|
4728
|
+
/**
|
|
4729
|
+
* Import Customer Excel
|
|
4730
|
+
* @description Endpoint for import customer from excel file.
|
|
4731
|
+
* Possible Responses:
|
|
4732
|
+
* - 200:
|
|
4733
|
+
* - customersImported
|
|
4734
|
+
* - 400:
|
|
4735
|
+
* - regionDoesNotExist
|
|
4736
|
+
* - currencyIdDoesNotExist
|
|
4737
|
+
* - priceListDoesNotExist
|
|
4738
|
+
* - cityDoesNotExist
|
|
4739
|
+
* - RegionDoesNotBelongToSelectedCountry
|
|
4740
|
+
* - CityDoesNotBelongToSelectedRegion
|
|
4741
|
+
* - invalidFileType
|
|
4742
|
+
* - 403:
|
|
4743
|
+
* - permissionDenied
|
|
4744
|
+
* -500:
|
|
4745
|
+
* - internalServerError
|
|
4746
|
+
*/
|
|
4747
|
+
post: operations["customer_views_import_customer_excel"];
|
|
4748
|
+
delete?: never;
|
|
4749
|
+
options?: never;
|
|
4750
|
+
head?: never;
|
|
4751
|
+
patch?: never;
|
|
4752
|
+
trace?: never;
|
|
4753
|
+
};
|
|
4719
4754
|
"/api/v1/customers/individual/{id}/": {
|
|
4720
4755
|
parameters: {
|
|
4721
4756
|
query?: never;
|
|
@@ -18973,7 +19008,7 @@ export interface components {
|
|
|
18973
19008
|
* BasePermissionsSchema_Inventory_ItemEnum
|
|
18974
19009
|
* @enum {string}
|
|
18975
19010
|
*/
|
|
18976
|
-
BasePermissionsSchema_Inventory_ItemEnum: "add" | "change" | "delete" | "view";
|
|
19011
|
+
BasePermissionsSchema_Inventory_ItemEnum: "add" | "change" | "delete" | "import" | "view";
|
|
18977
19012
|
/**
|
|
18978
19013
|
* BasePermissionsSchema_Inventory_ItemcategoryEnum
|
|
18979
19014
|
* @enum {string}
|
|
@@ -20118,22 +20153,22 @@ export interface components {
|
|
|
20118
20153
|
*/
|
|
20119
20154
|
possettings: components["schemas"]["BasePermissionsSchema_Settings_Pos_PossettingsEnum"][];
|
|
20120
20155
|
/**
|
|
20121
|
-
*
|
|
20122
|
-
* @description
|
|
20156
|
+
* Role
|
|
20157
|
+
* @description role actions
|
|
20123
20158
|
* @default []
|
|
20124
20159
|
*/
|
|
20125
|
-
|
|
20160
|
+
role: components["schemas"]["BasePermissionsSchema_Settings_Pos_RoleEnum"][];
|
|
20126
20161
|
};
|
|
20127
20162
|
/**
|
|
20128
|
-
*
|
|
20163
|
+
* BasePermissionsSchema_Settings_Pos_PossettingsEnum
|
|
20129
20164
|
* @enum {string}
|
|
20130
20165
|
*/
|
|
20131
|
-
|
|
20166
|
+
BasePermissionsSchema_Settings_Pos_PossettingsEnum: "add" | "change" | "delete" | "view";
|
|
20132
20167
|
/**
|
|
20133
|
-
*
|
|
20168
|
+
* BasePermissionsSchema_Settings_Pos_RoleEnum
|
|
20134
20169
|
* @enum {string}
|
|
20135
20170
|
*/
|
|
20136
|
-
|
|
20171
|
+
BasePermissionsSchema_Settings_Pos_RoleEnum: "add" | "change" | "delete" | "view";
|
|
20137
20172
|
/** BasePermissionsSchema_Settings_Purchase */
|
|
20138
20173
|
BasePermissionsSchema_Settings_Purchase: {
|
|
20139
20174
|
/**
|
|
@@ -57742,6 +57777,64 @@ export interface operations {
|
|
|
57742
57777
|
};
|
|
57743
57778
|
};
|
|
57744
57779
|
};
|
|
57780
|
+
customer_views_import_customer_excel: {
|
|
57781
|
+
parameters: {
|
|
57782
|
+
query?: never;
|
|
57783
|
+
header?: never;
|
|
57784
|
+
path?: never;
|
|
57785
|
+
cookie?: never;
|
|
57786
|
+
};
|
|
57787
|
+
requestBody: {
|
|
57788
|
+
content: {
|
|
57789
|
+
"multipart/form-data": {
|
|
57790
|
+
/**
|
|
57791
|
+
* File
|
|
57792
|
+
* Format: binary
|
|
57793
|
+
* @description only excel files are allowed for import
|
|
57794
|
+
*/
|
|
57795
|
+
file: string;
|
|
57796
|
+
};
|
|
57797
|
+
};
|
|
57798
|
+
};
|
|
57799
|
+
responses: {
|
|
57800
|
+
/** @description OK */
|
|
57801
|
+
200: {
|
|
57802
|
+
headers: {
|
|
57803
|
+
[name: string]: unknown;
|
|
57804
|
+
};
|
|
57805
|
+
content: {
|
|
57806
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
57807
|
+
};
|
|
57808
|
+
};
|
|
57809
|
+
/** @description Bad Request */
|
|
57810
|
+
400: {
|
|
57811
|
+
headers: {
|
|
57812
|
+
[name: string]: unknown;
|
|
57813
|
+
};
|
|
57814
|
+
content: {
|
|
57815
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
57816
|
+
};
|
|
57817
|
+
};
|
|
57818
|
+
/** @description Forbidden */
|
|
57819
|
+
403: {
|
|
57820
|
+
headers: {
|
|
57821
|
+
[name: string]: unknown;
|
|
57822
|
+
};
|
|
57823
|
+
content: {
|
|
57824
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
57825
|
+
};
|
|
57826
|
+
};
|
|
57827
|
+
/** @description Internal Server Error */
|
|
57828
|
+
500: {
|
|
57829
|
+
headers: {
|
|
57830
|
+
[name: string]: unknown;
|
|
57831
|
+
};
|
|
57832
|
+
content: {
|
|
57833
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
57834
|
+
};
|
|
57835
|
+
};
|
|
57836
|
+
};
|
|
57837
|
+
};
|
|
57745
57838
|
customer_views_view_individual_customer: {
|
|
57746
57839
|
parameters: {
|
|
57747
57840
|
query?: never;
|