@erp-galoper/types 1.0.1438 → 1.0.1439
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 -5
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -13381,6 +13381,33 @@ export interface paths {
|
|
|
13381
13381
|
patch?: never;
|
|
13382
13382
|
trace?: never;
|
|
13383
13383
|
};
|
|
13384
|
+
"/api/v1/sales/offers-and-promotions/import-excel/": {
|
|
13385
|
+
parameters: {
|
|
13386
|
+
query?: never;
|
|
13387
|
+
header?: never;
|
|
13388
|
+
path?: never;
|
|
13389
|
+
cookie?: never;
|
|
13390
|
+
};
|
|
13391
|
+
get?: never;
|
|
13392
|
+
put?: never;
|
|
13393
|
+
/**
|
|
13394
|
+
* Create Offer And Promotion From Excel
|
|
13395
|
+
* @description Endpoint for creating a new offer and promotion from items excel
|
|
13396
|
+
* Responses:
|
|
13397
|
+
* - 201:
|
|
13398
|
+
* - offerAndPromotionCreated
|
|
13399
|
+
* - 400:
|
|
13400
|
+
* - priceListWithSelectedTypeNotFound
|
|
13401
|
+
* - 500:
|
|
13402
|
+
* - internalServerError
|
|
13403
|
+
*/
|
|
13404
|
+
post: operations["sales_offer_and_promotion_views_create_offer_and_promotion_from_excel"];
|
|
13405
|
+
delete?: never;
|
|
13406
|
+
options?: never;
|
|
13407
|
+
head?: never;
|
|
13408
|
+
patch?: never;
|
|
13409
|
+
trace?: never;
|
|
13410
|
+
};
|
|
13384
13411
|
"/api/v1/sales/offers-and-promotions/{id}/": {
|
|
13385
13412
|
parameters: {
|
|
13386
13413
|
query?: never;
|
|
@@ -43933,6 +43960,11 @@ export interface components {
|
|
|
43933
43960
|
*/
|
|
43934
43961
|
customerGroups: components["schemas"]["ContactSegmentationDetailSchemaInOffersAndPromotions"][];
|
|
43935
43962
|
};
|
|
43963
|
+
/**
|
|
43964
|
+
* PRICE_LIST_TYPE_CHOICES
|
|
43965
|
+
* @enum {string}
|
|
43966
|
+
*/
|
|
43967
|
+
PRICE_LIST_TYPE_CHOICES: "wholesale" | "retail";
|
|
43936
43968
|
/** OfferAndPromotionItemUpdateSchema */
|
|
43937
43969
|
OfferAndPromotionItemUpdateSchema: {
|
|
43938
43970
|
/**
|
|
@@ -45688,11 +45720,6 @@ export interface components {
|
|
|
45688
45720
|
*/
|
|
45689
45721
|
prices: components["schemas"]["PricesFromPriceListSchema"][];
|
|
45690
45722
|
};
|
|
45691
|
-
/**
|
|
45692
|
-
* PRICE_LIST_TYPE_CHOICES
|
|
45693
|
-
* @enum {string}
|
|
45694
|
-
*/
|
|
45695
|
-
PRICE_LIST_TYPE_CHOICES: "wholesale" | "retail";
|
|
45696
45723
|
/**
|
|
45697
45724
|
* PRICING_METHOD_CHOICES
|
|
45698
45725
|
* @enum {string}
|
|
@@ -84539,6 +84566,67 @@ export interface operations {
|
|
|
84539
84566
|
};
|
|
84540
84567
|
};
|
|
84541
84568
|
};
|
|
84569
|
+
sales_offer_and_promotion_views_create_offer_and_promotion_from_excel: {
|
|
84570
|
+
parameters: {
|
|
84571
|
+
query?: {
|
|
84572
|
+
/** @description Type of price list to attach in offer */
|
|
84573
|
+
priceListType?: "wholesale" | "retail";
|
|
84574
|
+
};
|
|
84575
|
+
header?: never;
|
|
84576
|
+
path?: never;
|
|
84577
|
+
cookie?: never;
|
|
84578
|
+
};
|
|
84579
|
+
requestBody: {
|
|
84580
|
+
content: {
|
|
84581
|
+
"multipart/form-data": {
|
|
84582
|
+
/**
|
|
84583
|
+
* File
|
|
84584
|
+
* Format: binary
|
|
84585
|
+
* @description the only allowed file is excel file
|
|
84586
|
+
*/
|
|
84587
|
+
file: string;
|
|
84588
|
+
};
|
|
84589
|
+
};
|
|
84590
|
+
};
|
|
84591
|
+
responses: {
|
|
84592
|
+
/** @description Created */
|
|
84593
|
+
201: {
|
|
84594
|
+
headers: {
|
|
84595
|
+
[name: string]: unknown;
|
|
84596
|
+
};
|
|
84597
|
+
content: {
|
|
84598
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
84599
|
+
};
|
|
84600
|
+
};
|
|
84601
|
+
/** @description Bad Request */
|
|
84602
|
+
400: {
|
|
84603
|
+
headers: {
|
|
84604
|
+
[name: string]: unknown;
|
|
84605
|
+
};
|
|
84606
|
+
content: {
|
|
84607
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
84608
|
+
};
|
|
84609
|
+
};
|
|
84610
|
+
/** @description Forbidden */
|
|
84611
|
+
403: {
|
|
84612
|
+
headers: {
|
|
84613
|
+
[name: string]: unknown;
|
|
84614
|
+
};
|
|
84615
|
+
content: {
|
|
84616
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
84617
|
+
};
|
|
84618
|
+
};
|
|
84619
|
+
/** @description Internal Server Error */
|
|
84620
|
+
500: {
|
|
84621
|
+
headers: {
|
|
84622
|
+
[name: string]: unknown;
|
|
84623
|
+
};
|
|
84624
|
+
content: {
|
|
84625
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
84626
|
+
};
|
|
84627
|
+
};
|
|
84628
|
+
};
|
|
84629
|
+
};
|
|
84542
84630
|
sales_offer_and_promotion_views_get_offers_and_promotions: {
|
|
84543
84631
|
parameters: {
|
|
84544
84632
|
query?: never;
|