@erp-galoper/types 1.0.767 → 1.0.769
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 +187 -1
- 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;
|
|
@@ -5015,6 +5050,41 @@ export interface paths {
|
|
|
5015
5050
|
patch?: never;
|
|
5016
5051
|
trace?: never;
|
|
5017
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
|
+
};
|
|
5018
5088
|
"/api/v1/suppliers/{id}/": {
|
|
5019
5089
|
parameters: {
|
|
5020
5090
|
query?: never;
|
|
@@ -18859,7 +18929,7 @@ export interface components {
|
|
|
18859
18929
|
* BasePermissionsSchema_Customer_CustomerEnum
|
|
18860
18930
|
* @enum {string}
|
|
18861
18931
|
*/
|
|
18862
|
-
BasePermissionsSchema_Customer_CustomerEnum: "add" | "change" | "delete" | "view";
|
|
18932
|
+
BasePermissionsSchema_Customer_CustomerEnum: "add" | "change" | "delete" | "import" | "view";
|
|
18863
18933
|
/**
|
|
18864
18934
|
* BasePermissionsSchema_Customer_Retail_customerEnum
|
|
18865
18935
|
* @enum {string}
|
|
@@ -57742,6 +57812,64 @@ export interface operations {
|
|
|
57742
57812
|
};
|
|
57743
57813
|
};
|
|
57744
57814
|
};
|
|
57815
|
+
customer_views_import_customer_excel: {
|
|
57816
|
+
parameters: {
|
|
57817
|
+
query?: never;
|
|
57818
|
+
header?: never;
|
|
57819
|
+
path?: never;
|
|
57820
|
+
cookie?: never;
|
|
57821
|
+
};
|
|
57822
|
+
requestBody: {
|
|
57823
|
+
content: {
|
|
57824
|
+
"multipart/form-data": {
|
|
57825
|
+
/**
|
|
57826
|
+
* File
|
|
57827
|
+
* Format: binary
|
|
57828
|
+
* @description only excel files are allowed for import
|
|
57829
|
+
*/
|
|
57830
|
+
file: string;
|
|
57831
|
+
};
|
|
57832
|
+
};
|
|
57833
|
+
};
|
|
57834
|
+
responses: {
|
|
57835
|
+
/** @description OK */
|
|
57836
|
+
200: {
|
|
57837
|
+
headers: {
|
|
57838
|
+
[name: string]: unknown;
|
|
57839
|
+
};
|
|
57840
|
+
content: {
|
|
57841
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
57842
|
+
};
|
|
57843
|
+
};
|
|
57844
|
+
/** @description Bad Request */
|
|
57845
|
+
400: {
|
|
57846
|
+
headers: {
|
|
57847
|
+
[name: string]: unknown;
|
|
57848
|
+
};
|
|
57849
|
+
content: {
|
|
57850
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
57851
|
+
};
|
|
57852
|
+
};
|
|
57853
|
+
/** @description Forbidden */
|
|
57854
|
+
403: {
|
|
57855
|
+
headers: {
|
|
57856
|
+
[name: string]: unknown;
|
|
57857
|
+
};
|
|
57858
|
+
content: {
|
|
57859
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
57860
|
+
};
|
|
57861
|
+
};
|
|
57862
|
+
/** @description Internal Server Error */
|
|
57863
|
+
500: {
|
|
57864
|
+
headers: {
|
|
57865
|
+
[name: string]: unknown;
|
|
57866
|
+
};
|
|
57867
|
+
content: {
|
|
57868
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
57869
|
+
};
|
|
57870
|
+
};
|
|
57871
|
+
};
|
|
57872
|
+
};
|
|
57745
57873
|
customer_views_view_individual_customer: {
|
|
57746
57874
|
parameters: {
|
|
57747
57875
|
query?: never;
|
|
@@ -58401,6 +58529,64 @@ export interface operations {
|
|
|
58401
58529
|
};
|
|
58402
58530
|
};
|
|
58403
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
|
+
};
|
|
58404
58590
|
supplier_views_get_supplier: {
|
|
58405
58591
|
parameters: {
|
|
58406
58592
|
query?: never;
|