@erp-galoper/types 1.0.767 → 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 +93 -0
- 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;
|
|
@@ -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;
|