@erp-galoper/types 1.0.768 → 1.0.770
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 +95 -2
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -5050,6 +5050,41 @@ export interface paths {
|
|
|
5050
5050
|
patch?: never;
|
|
5051
5051
|
trace?: never;
|
|
5052
5052
|
};
|
|
5053
|
+
"/api/v1/suppliers/import-excel/": {
|
|
5054
|
+
parameters: {
|
|
5055
|
+
query?: never;
|
|
5056
|
+
header?: never;
|
|
5057
|
+
path?: never;
|
|
5058
|
+
cookie?: never;
|
|
5059
|
+
};
|
|
5060
|
+
get?: never;
|
|
5061
|
+
put?: never;
|
|
5062
|
+
/**
|
|
5063
|
+
* Import Supplier Excel
|
|
5064
|
+
* @description Endpoint for import supplier from excel file.
|
|
5065
|
+
* Possible Responses:
|
|
5066
|
+
* - 200:
|
|
5067
|
+
* - suppliersImported
|
|
5068
|
+
* - 400:
|
|
5069
|
+
* - accountClassificationDoesNotExist
|
|
5070
|
+
* - regionDoesNotExist
|
|
5071
|
+
* - currencyIdDoesNotExist
|
|
5072
|
+
* - cityDoesNotExist
|
|
5073
|
+
* - regionDoesNotBelongToSelectedCountry
|
|
5074
|
+
* - cityDoesNotBelongToSelectedRegion
|
|
5075
|
+
* - invalidFileType
|
|
5076
|
+
* - 403:
|
|
5077
|
+
* - permissionDenied
|
|
5078
|
+
* -500:
|
|
5079
|
+
* - internalServerError
|
|
5080
|
+
*/
|
|
5081
|
+
post: operations["supplier_views_import_supplier_excel"];
|
|
5082
|
+
delete?: never;
|
|
5083
|
+
options?: never;
|
|
5084
|
+
head?: never;
|
|
5085
|
+
patch?: never;
|
|
5086
|
+
trace?: never;
|
|
5087
|
+
};
|
|
5053
5088
|
"/api/v1/suppliers/{id}/": {
|
|
5054
5089
|
parameters: {
|
|
5055
5090
|
query?: never;
|
|
@@ -18894,7 +18929,7 @@ export interface components {
|
|
|
18894
18929
|
* BasePermissionsSchema_Customer_CustomerEnum
|
|
18895
18930
|
* @enum {string}
|
|
18896
18931
|
*/
|
|
18897
|
-
BasePermissionsSchema_Customer_CustomerEnum: "add" | "change" | "delete" | "view";
|
|
18932
|
+
BasePermissionsSchema_Customer_CustomerEnum: "add" | "change" | "delete" | "import" | "view";
|
|
18898
18933
|
/**
|
|
18899
18934
|
* BasePermissionsSchema_Customer_Retail_customerEnum
|
|
18900
18935
|
* @enum {string}
|
|
@@ -20224,7 +20259,7 @@ export interface components {
|
|
|
20224
20259
|
* BasePermissionsSchema_Supplier_SupplierEnum
|
|
20225
20260
|
* @enum {string}
|
|
20226
20261
|
*/
|
|
20227
|
-
BasePermissionsSchema_Supplier_SupplierEnum: "add" | "change" | "delete" | "view";
|
|
20262
|
+
BasePermissionsSchema_Supplier_SupplierEnum: "add" | "change" | "delete" | "import" | "view";
|
|
20228
20263
|
/**
|
|
20229
20264
|
* CountryCodes
|
|
20230
20265
|
* @enum {string}
|
|
@@ -58494,6 +58529,64 @@ export interface operations {
|
|
|
58494
58529
|
};
|
|
58495
58530
|
};
|
|
58496
58531
|
};
|
|
58532
|
+
supplier_views_import_supplier_excel: {
|
|
58533
|
+
parameters: {
|
|
58534
|
+
query?: never;
|
|
58535
|
+
header?: never;
|
|
58536
|
+
path?: never;
|
|
58537
|
+
cookie?: never;
|
|
58538
|
+
};
|
|
58539
|
+
requestBody: {
|
|
58540
|
+
content: {
|
|
58541
|
+
"multipart/form-data": {
|
|
58542
|
+
/**
|
|
58543
|
+
* File
|
|
58544
|
+
* Format: binary
|
|
58545
|
+
* @description only excel files are allowed for import
|
|
58546
|
+
*/
|
|
58547
|
+
file: string;
|
|
58548
|
+
};
|
|
58549
|
+
};
|
|
58550
|
+
};
|
|
58551
|
+
responses: {
|
|
58552
|
+
/** @description OK */
|
|
58553
|
+
200: {
|
|
58554
|
+
headers: {
|
|
58555
|
+
[name: string]: unknown;
|
|
58556
|
+
};
|
|
58557
|
+
content: {
|
|
58558
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
58559
|
+
};
|
|
58560
|
+
};
|
|
58561
|
+
/** @description Bad Request */
|
|
58562
|
+
400: {
|
|
58563
|
+
headers: {
|
|
58564
|
+
[name: string]: unknown;
|
|
58565
|
+
};
|
|
58566
|
+
content: {
|
|
58567
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
58568
|
+
};
|
|
58569
|
+
};
|
|
58570
|
+
/** @description Forbidden */
|
|
58571
|
+
403: {
|
|
58572
|
+
headers: {
|
|
58573
|
+
[name: string]: unknown;
|
|
58574
|
+
};
|
|
58575
|
+
content: {
|
|
58576
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
58577
|
+
};
|
|
58578
|
+
};
|
|
58579
|
+
/** @description Internal Server Error */
|
|
58580
|
+
500: {
|
|
58581
|
+
headers: {
|
|
58582
|
+
[name: string]: unknown;
|
|
58583
|
+
};
|
|
58584
|
+
content: {
|
|
58585
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
58586
|
+
};
|
|
58587
|
+
};
|
|
58588
|
+
};
|
|
58589
|
+
};
|
|
58497
58590
|
supplier_views_get_supplier: {
|
|
58498
58591
|
parameters: {
|
|
58499
58592
|
query?: never;
|