@erp-galoper/main-package 1.0.303 → 1.0.304
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 +60 -54
- package/package.json +1 -1
package/openapi.ts
CHANGED
@@ -21709,7 +21709,10 @@ export interface components {
|
|
21709
21709
|
*/
|
21710
21710
|
alertDate?: number | null;
|
21711
21711
|
commissionCalculation?: components["schemas"]["CommissionCalculation"];
|
21712
|
-
/**
|
21712
|
+
/**
|
21713
|
+
* Packages
|
21714
|
+
* @description package and unit of measure should be unique
|
21715
|
+
*/
|
21713
21716
|
packages: components["schemas"]["CreateOrUpdatePackageItemSchema"][];
|
21714
21717
|
/**
|
21715
21718
|
* Children
|
@@ -21729,9 +21732,9 @@ export interface components {
|
|
21729
21732
|
id?: string | null;
|
21730
21733
|
/**
|
21731
21734
|
* Package
|
21732
|
-
*
|
21735
|
+
* Format: uuid
|
21733
21736
|
*/
|
21734
|
-
package
|
21737
|
+
package: string;
|
21735
21738
|
/** @description Type of barcode used for the package */
|
21736
21739
|
barcodeType?: components["schemas"]["BarcodeTypeValues"];
|
21737
21740
|
/**
|
@@ -21948,6 +21951,7 @@ export interface components {
|
|
21948
21951
|
alertDate?: number | null;
|
21949
21952
|
/**
|
21950
21953
|
* Packages
|
21954
|
+
* @description package and unit of measure should be unique
|
21951
21955
|
* @default []
|
21952
21956
|
*/
|
21953
21957
|
packages: components["schemas"]["CreateOrUpdatePackageItemSchema"][];
|
@@ -23151,7 +23155,7 @@ export interface components {
|
|
23151
23155
|
/** Documentname */
|
23152
23156
|
documentName: string;
|
23153
23157
|
/** Serialnumber */
|
23154
|
-
serialNumber
|
23158
|
+
serialNumber?: number;
|
23155
23159
|
/** Approvaltrackingid */
|
23156
23160
|
approvalTrackingId: number;
|
23157
23161
|
};
|
@@ -26274,6 +26278,8 @@ export interface components {
|
|
26274
26278
|
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
26275
26279
|
/** Id */
|
26276
26280
|
id: number;
|
26281
|
+
/** Name */
|
26282
|
+
name: string;
|
26277
26283
|
/** Firstname */
|
26278
26284
|
firstName?: string | null;
|
26279
26285
|
/** Lastname */
|
@@ -27558,7 +27564,7 @@ export interface components {
|
|
27558
27564
|
/**
|
27559
27565
|
* Id
|
27560
27566
|
* Format: uuid
|
27561
|
-
* @example
|
27567
|
+
* @example b7ce55dd-c7c9-478a-8e09-9dd39d037879
|
27562
27568
|
*/
|
27563
27569
|
id: string;
|
27564
27570
|
/**
|
@@ -36461,11 +36467,13 @@ export interface components {
|
|
36461
36467
|
/**
|
36462
36468
|
* Startdate
|
36463
36469
|
* Format: date-time
|
36470
|
+
* @description user should select time when promotion type is timeSensitiveOffers
|
36464
36471
|
*/
|
36465
36472
|
startDate: string;
|
36466
36473
|
/**
|
36467
36474
|
* Enddate
|
36468
36475
|
* Format: date-time
|
36476
|
+
* @description user should select time when promotion type is timeSensitiveOffers
|
36469
36477
|
*/
|
36470
36478
|
endDate: string;
|
36471
36479
|
/**
|
@@ -36833,11 +36841,13 @@ export interface components {
|
|
36833
36841
|
/**
|
36834
36842
|
* Startdate
|
36835
36843
|
* Format: date-time
|
36844
|
+
* @description user should select time when promotion type is timeSensitiveOffers
|
36836
36845
|
*/
|
36837
36846
|
startDate: string;
|
36838
36847
|
/**
|
36839
36848
|
* Enddate
|
36840
36849
|
* Format: date-time
|
36850
|
+
* @description user should select time when promotion type is timeSensitiveOffers
|
36841
36851
|
*/
|
36842
36852
|
endDate: string;
|
36843
36853
|
/**
|
@@ -38258,6 +38268,7 @@ export interface components {
|
|
38258
38268
|
* @description When upload file the type in payload should be commission
|
38259
38269
|
*/
|
38260
38270
|
attachments: string[];
|
38271
|
+
/** @description when structure is paymentBased, calculation should be billed */
|
38261
38272
|
calculation: components["schemas"]["CommissionCalculation"];
|
38262
38273
|
/** @description
|
38263
38274
|
* In all structures user should specify commission value and commission value type
|
@@ -38416,6 +38427,7 @@ export interface components {
|
|
38416
38427
|
* @description When upload file the type in payload should be commission
|
38417
38428
|
*/
|
38418
38429
|
attachments: string[];
|
38430
|
+
/** @description when structure is paymentBased, calculation should be billed */
|
38419
38431
|
calculation: components["schemas"]["CommissionCalculation"];
|
38420
38432
|
/** @description
|
38421
38433
|
* In all structures user should specify comiision value and commission value type
|
@@ -39761,6 +39773,18 @@ export interface components {
|
|
39761
39773
|
packageDepositCharge?: string;
|
39762
39774
|
/**
|
39763
39775
|
* Promotionsandoffers
|
39776
|
+
* @description
|
39777
|
+
* API Endpoints For Document Item Offers and Promotions Retrieval:
|
39778
|
+
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
39779
|
+
* Filters :
|
39780
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
39781
|
+
* & promotion_type equals to "percentage" or "buy_one_get_one" or "time_sensitive_offers"
|
39782
|
+
* | promotion_type equals to "volume_based" and items.quantity equals to {quantity}
|
39783
|
+
* | promotion_type equals to "bundle_offers" and items.quantity equals to {quantity} and items.item equals to {item id} or items.itemPackage equals to {item package id}
|
39784
|
+
* | appliesOn equals to "all_items"
|
39785
|
+
* | appliesOn equals to "specific_items" and ( items.item equals to {item id} or items.itemPackage equals to {item package id} ) or
|
39786
|
+
* (items.brand equals to {item brand id} or items.category equals to {item category id} or items.tag in item tags)
|
39787
|
+
*
|
39764
39788
|
* @default []
|
39765
39789
|
*/
|
39766
39790
|
promotionsAndOffers: string[];
|
@@ -39822,14 +39846,11 @@ export interface components {
|
|
39822
39846
|
* API Endpoints For Document Header Offers and Promotions Retrieval:
|
39823
39847
|
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
39824
39848
|
* Filters :
|
39825
|
-
* -
|
39826
|
-
* & offer_and_promotion.
|
39827
|
-
*
|
39828
|
-
*
|
39829
|
-
*
|
39830
|
-
* & offer_and_promotion.promotion_type equals to order_value or fixed amount and currency equals to company currency and minOrderValue less than or equal to {company-total}
|
39831
|
-
* | offer_and_promotion.promotion_type equals to order_value or fixed amount and currency equals to usd currency and minOrderValue less than or equal to {usd-total}
|
39832
|
-
*
|
39849
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
39850
|
+
* & offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount" and
|
39851
|
+
* items.currency equals to company currency and minOrderValue less than or equal to {primary_total}
|
39852
|
+
* | offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount"
|
39853
|
+
* and items.currency equals to secondary currency and minOrderValue less than or equal to {secondary_total}
|
39833
39854
|
*
|
39834
39855
|
* @default []
|
39835
39856
|
*/
|
@@ -40441,7 +40462,7 @@ export interface components {
|
|
40441
40462
|
* - supplier id
|
40442
40463
|
* API Endpoints for Suppliers Retrieval:
|
40443
40464
|
* - Use the API: /api/v1/suppliers/
|
40444
|
-
* - Query Parameters: documentType = purchaseRefundVoucher, type = children
|
40465
|
+
* - Query Parameters: documentType = purchaseRefundVoucher, type = children, branch = {branch-id}
|
40445
40466
|
*
|
40446
40467
|
*/
|
40447
40468
|
supplier: number;
|
@@ -40751,7 +40772,7 @@ export interface components {
|
|
40751
40772
|
* - supplier id
|
40752
40773
|
* API Endpoints for Suppliers Retrieval:
|
40753
40774
|
* - Use the API: /api/v1/suppliers/
|
40754
|
-
* - Query Parameters: documentType = purchaseRefundVoucher, type = children
|
40775
|
+
* - Query Parameters: documentType = purchaseRefundVoucher, type = children, branch = {branch-id}
|
40755
40776
|
*
|
40756
40777
|
*/
|
40757
40778
|
supplier: number;
|
@@ -41969,18 +41990,13 @@ export interface components {
|
|
41969
41990
|
* API Endpoints For Document Item Offers and Promotions Retrieval:
|
41970
41991
|
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
41971
41992
|
* Filters :
|
41972
|
-
*
|
41973
|
-
*
|
41974
|
-
*
|
41975
|
-
*
|
41976
|
-
*
|
41977
|
-
*
|
41978
|
-
*
|
41979
|
-
* | offers_and_promotions.promotion_type equals to bundle_offers and quantity equals to {quantity} and item equals to {item id} or itemPackage equals to {item package id}
|
41980
|
-
* | offers_and_promotions.appliesOn equals to allItems
|
41981
|
-
* | offers_and_promotions.appliesOn equals to specificItems and ( item equals to {item id} or itemPackage equals to {item package id} ) or
|
41982
|
-
* (brand equals to {item brand id} or category equals to {item category id} or tag in item tags)
|
41983
|
-
*
|
41993
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
41994
|
+
* & promotion_type equals to "percentage" or "buy_one_get_one" or "time_sensitive_offers"
|
41995
|
+
* | promotion_type equals to "volume_based" and items.quantity equals to {quantity}
|
41996
|
+
* | promotion_type equals to "bundle_offers" and items.quantity equals to {quantity} and items.item equals to {item id} or items.itemPackage equals to {item package id}
|
41997
|
+
* | appliesOn equals to "all_items"
|
41998
|
+
* | appliesOn equals to "specific_items" and ( items.item equals to {item id} or items.itemPackage equals to {item package id} ) or
|
41999
|
+
* (items.brand equals to {item brand id} or items.category equals to {item category id} or items.tag in item tags)
|
41984
42000
|
*
|
41985
42001
|
* @default []
|
41986
42002
|
*/
|
@@ -42054,13 +42070,11 @@ export interface components {
|
|
42054
42070
|
* API Endpoints For Document Header Offers and Promotions Retrieval:
|
42055
42071
|
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
42056
42072
|
* Filters :
|
42057
|
-
* -
|
42058
|
-
* & offer_and_promotion.
|
42059
|
-
*
|
42060
|
-
*
|
42061
|
-
*
|
42062
|
-
* & offer_and_promotion.promotion_type equals to order_value or fixed amount and currency equals to company currency and minOrderValue less than or equal to {company-total}
|
42063
|
-
* | offer_and_promotion.promotion_type equals to order_value or fixed amount and currency equals to usd currency and minOrderValue less than or equal to {usd-total}
|
42073
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
42074
|
+
* & offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount" and
|
42075
|
+
* items.currency equals to company currency and minOrderValue less than or equal to {primary_total}
|
42076
|
+
* | offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount"
|
42077
|
+
* and items.currency equals to secondary currency and minOrderValue less than or equal to {secondary_total}
|
42064
42078
|
*
|
42065
42079
|
* @default []
|
42066
42080
|
*/
|
@@ -43633,18 +43647,13 @@ export interface components {
|
|
43633
43647
|
* API Endpoints For Document Item Offers and Promotions Retrieval:
|
43634
43648
|
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
43635
43649
|
* Filters :
|
43636
|
-
* -
|
43637
|
-
* &
|
43638
|
-
*
|
43639
|
-
*
|
43640
|
-
*
|
43641
|
-
*
|
43642
|
-
*
|
43643
|
-
* | offers_and_promotions.promotion_type equals to bundle_offers and quantity equals to {quantity} and item equals to {item id} or itemPackage equals to {item package id}
|
43644
|
-
* | offers_and_promotions.appliesOn equals to allItems
|
43645
|
-
* | offers_and_promotions.appliesOn equals to specificItems and ( item equals to {item id} or itemPackage equals to {item package id} ) or
|
43646
|
-
* (brand equals to {item brand id} or category equals to {item category id} or tag in item tags)
|
43647
|
-
*
|
43650
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
43651
|
+
* & promotion_type equals to "percentage" or "buy_one_get_one" or "time_sensitive_offers"
|
43652
|
+
* | promotion_type equals to "volume_based" and items.quantity equals to {quantity}
|
43653
|
+
* | promotion_type equals to "bundle_offers" and items.quantity equals to {quantity} and items.item equals to {item id} or items.itemPackage equals to {item package id}
|
43654
|
+
* | appliesOn equals to "all_items"
|
43655
|
+
* | appliesOn equals to "specific_items" and ( items.item equals to {item id} or items.itemPackage equals to {item package id} ) or
|
43656
|
+
* (items.brand equals to {item brand id} or items.category equals to {item category id} or items.tag in item tags)
|
43648
43657
|
*
|
43649
43658
|
* @default []
|
43650
43659
|
*/
|
@@ -43756,14 +43765,11 @@ export interface components {
|
|
43756
43765
|
* API Endpoints For Document Header Offers and Promotions Retrieval:
|
43757
43766
|
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
43758
43767
|
* Filters :
|
43759
|
-
* -
|
43760
|
-
* & offer_and_promotion.
|
43761
|
-
*
|
43762
|
-
*
|
43763
|
-
*
|
43764
|
-
* & offer_and_promotion.promotion_type equals to order_value or fixed amount and currency equals to company currency and minOrderValue less than or equal to {company-total}
|
43765
|
-
* | offer_and_promotion.promotion_type equals to order_value or fixed amount and currency equals to usd currency and minOrderValue less than or equal to {usd-total}
|
43766
|
-
*
|
43768
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
43769
|
+
* & offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount" and
|
43770
|
+
* items.currency equals to company currency and minOrderValue less than or equal to {primary_total}
|
43771
|
+
* | offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount"
|
43772
|
+
* and items.currency equals to secondary currency and minOrderValue less than or equal to {secondary_total}
|
43767
43773
|
*
|
43768
43774
|
* @default []
|
43769
43775
|
*/
|
package/package.json
CHANGED