@erp-galoper/main-package 1.0.303 → 1.0.305
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 +198 -124
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -4123,7 +4123,7 @@ export interface paths {
|
|
|
4123
4123
|
};
|
|
4124
4124
|
/**
|
|
4125
4125
|
* Get Items Quantity
|
|
4126
|
-
* @description Endpoint for List Items Quantity in Warehouse and Branch with UOM-based Batch/Serial breakdown
|
|
4126
|
+
* @description Endpoint for List Items Quantity in Warehouse and Branch with UOM-based Batch/Serial breakdown and Location details
|
|
4127
4127
|
*
|
|
4128
4128
|
* Query Parameters:
|
|
4129
4129
|
* - warehouses: List of warehouse IDs to filter by (required), it should be filtered by selected branch and warehouses assigned to the user
|
|
@@ -4137,7 +4137,7 @@ export interface paths {
|
|
|
4137
4137
|
* - If provided, overrides packed parameter and shows only specified packages
|
|
4138
4138
|
*
|
|
4139
4139
|
* Responses:
|
|
4140
|
-
* - 200: Items quantity with UOM breakdown
|
|
4140
|
+
* - 200: Items quantity with UOM breakdown, batch/serial details, and location information
|
|
4141
4141
|
* - 400:
|
|
4142
4142
|
* - 403: "permissionDenied"
|
|
4143
4143
|
* - "noBranchAccess"
|
|
@@ -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
|
};
|
|
@@ -24349,12 +24353,60 @@ export interface components {
|
|
|
24349
24353
|
/** Expirydate */
|
|
24350
24354
|
expiryDate?: string | null;
|
|
24351
24355
|
};
|
|
24356
|
+
/** ItemPackageSummarySchema */
|
|
24357
|
+
ItemPackageSummarySchema: {
|
|
24358
|
+
/**
|
|
24359
|
+
* Id
|
|
24360
|
+
* Format: uuid
|
|
24361
|
+
*/
|
|
24362
|
+
id: string;
|
|
24363
|
+
/**
|
|
24364
|
+
* Barcode
|
|
24365
|
+
* @description Barcode of the item
|
|
24366
|
+
*/
|
|
24367
|
+
barcode: string;
|
|
24368
|
+
/**
|
|
24369
|
+
* Quantity
|
|
24370
|
+
* @description Quantity of the item
|
|
24371
|
+
*/
|
|
24372
|
+
quantity: number;
|
|
24373
|
+
/** @description Package of the item */
|
|
24374
|
+
package: components["schemas"]["PackageSummarySchema"];
|
|
24375
|
+
/** Returnable */
|
|
24376
|
+
returnable: boolean;
|
|
24377
|
+
};
|
|
24352
24378
|
/** ItemQuantityResponseSchema */
|
|
24353
24379
|
ItemQuantityResponseSchema: {
|
|
24354
|
-
item: components["schemas"]["ItemMinimalSchema"];
|
|
24355
24380
|
/** Uomgroups */
|
|
24356
|
-
uomGroups: components["schemas"]["
|
|
24381
|
+
uomGroups: components["schemas"]["UOMGroupingSchema"][];
|
|
24357
24382
|
};
|
|
24383
|
+
/** LocationInfoSchema */
|
|
24384
|
+
LocationInfoSchema: {
|
|
24385
|
+
warehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
24386
|
+
unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
|
|
24387
|
+
itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
24388
|
+
/** Stockquantity */
|
|
24389
|
+
stockQuantity: number;
|
|
24390
|
+
/** Availableforsale */
|
|
24391
|
+
availableForSale: number;
|
|
24392
|
+
/** Ispackage */
|
|
24393
|
+
isPackage: boolean;
|
|
24394
|
+
/**
|
|
24395
|
+
* Batches
|
|
24396
|
+
* @default []
|
|
24397
|
+
*/
|
|
24398
|
+
batches: components["schemas"]["BatchInfoSchema"][];
|
|
24399
|
+
/**
|
|
24400
|
+
* Serials
|
|
24401
|
+
* @default []
|
|
24402
|
+
*/
|
|
24403
|
+
serials: components["schemas"]["SerialInfoSchema"][];
|
|
24404
|
+
};
|
|
24405
|
+
/**
|
|
24406
|
+
* PackageCategory
|
|
24407
|
+
* @enum {string}
|
|
24408
|
+
*/
|
|
24409
|
+
PackageCategory: "primary" | "secondary" | "tertiary" | "disposable" | "sustainable" | "retail" | "luxury" | "flexible" | "rigid" | "custom";
|
|
24358
24410
|
/** PackageInfoSchema */
|
|
24359
24411
|
PackageInfoSchema: {
|
|
24360
24412
|
/**
|
|
@@ -24384,6 +24436,11 @@ export interface components {
|
|
|
24384
24436
|
* @default []
|
|
24385
24437
|
*/
|
|
24386
24438
|
serials: components["schemas"]["SerialInfoSchema"][];
|
|
24439
|
+
/**
|
|
24440
|
+
* Locations
|
|
24441
|
+
* @default []
|
|
24442
|
+
*/
|
|
24443
|
+
locations: components["schemas"]["LocationInfoSchema"][];
|
|
24387
24444
|
};
|
|
24388
24445
|
/** SerialInfoSchema */
|
|
24389
24446
|
SerialInfoSchema: {
|
|
@@ -24403,53 +24460,34 @@ export interface components {
|
|
|
24403
24460
|
/** Expirydate */
|
|
24404
24461
|
expiryDate?: string | null;
|
|
24405
24462
|
};
|
|
24406
|
-
/**
|
|
24407
|
-
|
|
24408
|
-
unitOfMeasure: components["schemas"]["
|
|
24409
|
-
unpacked: components["schemas"]["
|
|
24410
|
-
/**
|
|
24411
|
-
|
|
24412
|
-
* @default []
|
|
24413
|
-
*/
|
|
24414
|
-
packed: components["schemas"]["PackedInventorySchema"][];
|
|
24415
|
-
/**
|
|
24416
|
-
* Totalstockquantity
|
|
24417
|
-
* @default 0
|
|
24418
|
-
*/
|
|
24419
|
-
totalStockQuantity: number;
|
|
24420
|
-
/**
|
|
24421
|
-
* Totalreservedquantity
|
|
24422
|
-
* @default 0
|
|
24423
|
-
*/
|
|
24424
|
-
totalReservedQuantity: number;
|
|
24425
|
-
/**
|
|
24426
|
-
* Totalavailablequantity
|
|
24427
|
-
* @default 0
|
|
24428
|
-
*/
|
|
24429
|
-
totalAvailableQuantity: number;
|
|
24463
|
+
/** UOMGroupingSchema */
|
|
24464
|
+
UOMGroupingSchema: {
|
|
24465
|
+
unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
|
|
24466
|
+
unpacked: components["schemas"]["UnPackedInventoryItemSchema"];
|
|
24467
|
+
/** Packed */
|
|
24468
|
+
packed: components["schemas"]["PackedInventoryItemSchema"][];
|
|
24430
24469
|
};
|
|
24431
|
-
/**
|
|
24432
|
-
|
|
24433
|
-
/**
|
|
24434
|
-
* Stockquantity
|
|
24435
|
-
* @default 0
|
|
24436
|
-
*/
|
|
24470
|
+
/** UnPackedInventoryItemSchema */
|
|
24471
|
+
UnPackedInventoryItemSchema: {
|
|
24472
|
+
/** Stockquantity */
|
|
24437
24473
|
stockQuantity: number;
|
|
24474
|
+
/** Availableforsale */
|
|
24475
|
+
availableForSale: number;
|
|
24438
24476
|
/**
|
|
24439
|
-
*
|
|
24440
|
-
* @default
|
|
24477
|
+
* Batches
|
|
24478
|
+
* @default []
|
|
24441
24479
|
*/
|
|
24442
|
-
|
|
24480
|
+
batches: components["schemas"]["BatchInfoSchema"][];
|
|
24443
24481
|
/**
|
|
24444
|
-
*
|
|
24445
|
-
* @default
|
|
24482
|
+
* Serials
|
|
24483
|
+
* @default []
|
|
24446
24484
|
*/
|
|
24447
|
-
|
|
24485
|
+
serials: components["schemas"]["SerialInfoSchema"][];
|
|
24448
24486
|
/**
|
|
24449
24487
|
* Locations
|
|
24450
24488
|
* @default []
|
|
24451
24489
|
*/
|
|
24452
|
-
locations: components["schemas"]["
|
|
24490
|
+
locations: components["schemas"]["LocationInfoSchema"][];
|
|
24453
24491
|
};
|
|
24454
24492
|
/**
|
|
24455
24493
|
* AdjustmentTypeOption
|
|
@@ -24489,33 +24527,6 @@ export interface components {
|
|
|
24489
24527
|
* @enum {string}
|
|
24490
24528
|
*/
|
|
24491
24529
|
InternalStatusOnReturnValueChoices: "draft" | "submitted" | "canceled";
|
|
24492
|
-
/** ItemPackageSummarySchema */
|
|
24493
|
-
ItemPackageSummarySchema: {
|
|
24494
|
-
/**
|
|
24495
|
-
* Id
|
|
24496
|
-
* Format: uuid
|
|
24497
|
-
*/
|
|
24498
|
-
id: string;
|
|
24499
|
-
/**
|
|
24500
|
-
* Barcode
|
|
24501
|
-
* @description Barcode of the item
|
|
24502
|
-
*/
|
|
24503
|
-
barcode: string;
|
|
24504
|
-
/**
|
|
24505
|
-
* Quantity
|
|
24506
|
-
* @description Quantity of the item
|
|
24507
|
-
*/
|
|
24508
|
-
quantity: number;
|
|
24509
|
-
/** @description Package of the item */
|
|
24510
|
-
package: components["schemas"]["PackageSummarySchema"];
|
|
24511
|
-
/** Returnable */
|
|
24512
|
-
returnable: boolean;
|
|
24513
|
-
};
|
|
24514
|
-
/**
|
|
24515
|
-
* PackageCategory
|
|
24516
|
-
* @enum {string}
|
|
24517
|
-
*/
|
|
24518
|
-
PackageCategory: "primary" | "secondary" | "tertiary" | "disposable" | "sustainable" | "retail" | "luxury" | "flexible" | "rigid" | "custom";
|
|
24519
24530
|
/** Reason */
|
|
24520
24531
|
Reason: {
|
|
24521
24532
|
/** Id */
|
|
@@ -26274,6 +26285,8 @@ export interface components {
|
|
|
26274
26285
|
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
26275
26286
|
/** Id */
|
|
26276
26287
|
id: number;
|
|
26288
|
+
/** Name */
|
|
26289
|
+
name: string;
|
|
26277
26290
|
/** Firstname */
|
|
26278
26291
|
firstName?: string | null;
|
|
26279
26292
|
/** Lastname */
|
|
@@ -27558,7 +27571,7 @@ export interface components {
|
|
|
27558
27571
|
/**
|
|
27559
27572
|
* Id
|
|
27560
27573
|
* Format: uuid
|
|
27561
|
-
* @example
|
|
27574
|
+
* @example 173f3737-c896-45ea-9499-beb048575148
|
|
27562
27575
|
*/
|
|
27563
27576
|
id: string;
|
|
27564
27577
|
/**
|
|
@@ -36461,11 +36474,13 @@ export interface components {
|
|
|
36461
36474
|
/**
|
|
36462
36475
|
* Startdate
|
|
36463
36476
|
* Format: date-time
|
|
36477
|
+
* @description user should select time when promotion type is timeSensitiveOffers
|
|
36464
36478
|
*/
|
|
36465
36479
|
startDate: string;
|
|
36466
36480
|
/**
|
|
36467
36481
|
* Enddate
|
|
36468
36482
|
* Format: date-time
|
|
36483
|
+
* @description user should select time when promotion type is timeSensitiveOffers
|
|
36469
36484
|
*/
|
|
36470
36485
|
endDate: string;
|
|
36471
36486
|
/**
|
|
@@ -36833,11 +36848,13 @@ export interface components {
|
|
|
36833
36848
|
/**
|
|
36834
36849
|
* Startdate
|
|
36835
36850
|
* Format: date-time
|
|
36851
|
+
* @description user should select time when promotion type is timeSensitiveOffers
|
|
36836
36852
|
*/
|
|
36837
36853
|
startDate: string;
|
|
36838
36854
|
/**
|
|
36839
36855
|
* Enddate
|
|
36840
36856
|
* Format: date-time
|
|
36857
|
+
* @description user should select time when promotion type is timeSensitiveOffers
|
|
36841
36858
|
*/
|
|
36842
36859
|
endDate: string;
|
|
36843
36860
|
/**
|
|
@@ -37143,8 +37160,11 @@ export interface components {
|
|
|
37143
37160
|
country: components["schemas"]["CountryCodes"];
|
|
37144
37161
|
/** Postalcode */
|
|
37145
37162
|
postalCode?: string;
|
|
37146
|
-
/**
|
|
37147
|
-
|
|
37163
|
+
/**
|
|
37164
|
+
* City
|
|
37165
|
+
* @description city id
|
|
37166
|
+
*/
|
|
37167
|
+
city?: number;
|
|
37148
37168
|
/** Address */
|
|
37149
37169
|
address?: string;
|
|
37150
37170
|
/** Website */
|
|
@@ -38258,6 +38278,7 @@ export interface components {
|
|
|
38258
38278
|
* @description When upload file the type in payload should be commission
|
|
38259
38279
|
*/
|
|
38260
38280
|
attachments: string[];
|
|
38281
|
+
/** @description when structure is paymentBased, calculation should be billed */
|
|
38261
38282
|
calculation: components["schemas"]["CommissionCalculation"];
|
|
38262
38283
|
/** @description
|
|
38263
38284
|
* In all structures user should specify commission value and commission value type
|
|
@@ -38416,6 +38437,7 @@ export interface components {
|
|
|
38416
38437
|
* @description When upload file the type in payload should be commission
|
|
38417
38438
|
*/
|
|
38418
38439
|
attachments: string[];
|
|
38440
|
+
/** @description when structure is paymentBased, calculation should be billed */
|
|
38419
38441
|
calculation: components["schemas"]["CommissionCalculation"];
|
|
38420
38442
|
/** @description
|
|
38421
38443
|
* In all structures user should specify comiision value and commission value type
|
|
@@ -39761,6 +39783,18 @@ export interface components {
|
|
|
39761
39783
|
packageDepositCharge?: string;
|
|
39762
39784
|
/**
|
|
39763
39785
|
* Promotionsandoffers
|
|
39786
|
+
* @description
|
|
39787
|
+
* API Endpoints For Document Item Offers and Promotions Retrieval:
|
|
39788
|
+
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
|
39789
|
+
* Filters :
|
|
39790
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
|
39791
|
+
* & promotion_type equals to "percentage" or "buy_one_get_one" or "time_sensitive_offers"
|
|
39792
|
+
* | promotion_type equals to "volume_based" and items.quantity equals to {quantity}
|
|
39793
|
+
* | 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}
|
|
39794
|
+
* | appliesOn equals to "all_items"
|
|
39795
|
+
* | appliesOn equals to "specific_items" and ( items.item equals to {item id} or items.itemPackage equals to {item package id} ) or
|
|
39796
|
+
* (items.brand equals to {item brand id} or items.category equals to {item category id} or items.tag in item tags)
|
|
39797
|
+
*
|
|
39764
39798
|
* @default []
|
|
39765
39799
|
*/
|
|
39766
39800
|
promotionsAndOffers: string[];
|
|
@@ -39822,14 +39856,11 @@ export interface components {
|
|
|
39822
39856
|
* API Endpoints For Document Header Offers and Promotions Retrieval:
|
|
39823
39857
|
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
|
39824
39858
|
* 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
|
-
*
|
|
39859
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
|
39860
|
+
* & offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount" and
|
|
39861
|
+
* items.currency equals to company currency and minOrderValue less than or equal to {primary_total}
|
|
39862
|
+
* | offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount"
|
|
39863
|
+
* and items.currency equals to secondary currency and minOrderValue less than or equal to {secondary_total}
|
|
39833
39864
|
*
|
|
39834
39865
|
* @default []
|
|
39835
39866
|
*/
|
|
@@ -40441,7 +40472,7 @@ export interface components {
|
|
|
40441
40472
|
* - supplier id
|
|
40442
40473
|
* API Endpoints for Suppliers Retrieval:
|
|
40443
40474
|
* - Use the API: /api/v1/suppliers/
|
|
40444
|
-
* - Query Parameters: documentType = purchaseRefundVoucher, type = children
|
|
40475
|
+
* - Query Parameters: documentType = purchaseRefundVoucher, type = children, branch = {branch-id}
|
|
40445
40476
|
*
|
|
40446
40477
|
*/
|
|
40447
40478
|
supplier: number;
|
|
@@ -40751,7 +40782,7 @@ export interface components {
|
|
|
40751
40782
|
* - supplier id
|
|
40752
40783
|
* API Endpoints for Suppliers Retrieval:
|
|
40753
40784
|
* - Use the API: /api/v1/suppliers/
|
|
40754
|
-
* - Query Parameters: documentType = purchaseRefundVoucher, type = children
|
|
40785
|
+
* - Query Parameters: documentType = purchaseRefundVoucher, type = children, branch = {branch-id}
|
|
40755
40786
|
*
|
|
40756
40787
|
*/
|
|
40757
40788
|
supplier: number;
|
|
@@ -41969,18 +42000,13 @@ export interface components {
|
|
|
41969
42000
|
* API Endpoints For Document Item Offers and Promotions Retrieval:
|
|
41970
42001
|
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
|
41971
42002
|
* 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
|
-
*
|
|
42003
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
|
42004
|
+
* & promotion_type equals to "percentage" or "buy_one_get_one" or "time_sensitive_offers"
|
|
42005
|
+
* | promotion_type equals to "volume_based" and items.quantity equals to {quantity}
|
|
42006
|
+
* | 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}
|
|
42007
|
+
* | appliesOn equals to "all_items"
|
|
42008
|
+
* | appliesOn equals to "specific_items" and ( items.item equals to {item id} or items.itemPackage equals to {item package id} ) or
|
|
42009
|
+
* (items.brand equals to {item brand id} or items.category equals to {item category id} or items.tag in item tags)
|
|
41984
42010
|
*
|
|
41985
42011
|
* @default []
|
|
41986
42012
|
*/
|
|
@@ -42054,13 +42080,11 @@ export interface components {
|
|
|
42054
42080
|
* API Endpoints For Document Header Offers and Promotions Retrieval:
|
|
42055
42081
|
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
|
42056
42082
|
* 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}
|
|
42083
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
|
42084
|
+
* & offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount" and
|
|
42085
|
+
* items.currency equals to company currency and minOrderValue less than or equal to {primary_total}
|
|
42086
|
+
* | offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount"
|
|
42087
|
+
* and items.currency equals to secondary currency and minOrderValue less than or equal to {secondary_total}
|
|
42064
42088
|
*
|
|
42065
42089
|
* @default []
|
|
42066
42090
|
*/
|
|
@@ -43633,18 +43657,13 @@ export interface components {
|
|
|
43633
43657
|
* API Endpoints For Document Item Offers and Promotions Retrieval:
|
|
43634
43658
|
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
|
43635
43659
|
* 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
|
-
*
|
|
43660
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
|
43661
|
+
* & promotion_type equals to "percentage" or "buy_one_get_one" or "time_sensitive_offers"
|
|
43662
|
+
* | promotion_type equals to "volume_based" and items.quantity equals to {quantity}
|
|
43663
|
+
* | 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}
|
|
43664
|
+
* | appliesOn equals to "all_items"
|
|
43665
|
+
* | appliesOn equals to "specific_items" and ( items.item equals to {item id} or items.itemPackage equals to {item package id} ) or
|
|
43666
|
+
* (items.brand equals to {item brand id} or items.category equals to {item category id} or items.tag in item tags)
|
|
43648
43667
|
*
|
|
43649
43668
|
* @default []
|
|
43650
43669
|
*/
|
|
@@ -43756,14 +43775,11 @@ export interface components {
|
|
|
43756
43775
|
* API Endpoints For Document Header Offers and Promotions Retrieval:
|
|
43757
43776
|
* - Use the API: /api/v1/sales/offers-and-promotions/,
|
|
43758
43777
|
* 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
|
-
*
|
|
43778
|
+
* - customers equals to {customer id} or customerGroups equals to {customer group id}
|
|
43779
|
+
* & offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount" and
|
|
43780
|
+
* items.currency equals to company currency and minOrderValue less than or equal to {primary_total}
|
|
43781
|
+
* | offer_and_promotion.promotion_type equals to "order_value" or "fixed_amount"
|
|
43782
|
+
* and items.currency equals to secondary currency and minOrderValue less than or equal to {secondary_total}
|
|
43767
43783
|
*
|
|
43768
43784
|
* @default []
|
|
43769
43785
|
*/
|
|
@@ -45766,6 +45782,11 @@ export interface components {
|
|
|
45766
45782
|
unitPackage: number | null;
|
|
45767
45783
|
/** Quantity */
|
|
45768
45784
|
quantity: number;
|
|
45785
|
+
/**
|
|
45786
|
+
* Quantityordered
|
|
45787
|
+
* @description Quantity ordered from the linked sales order or invoice
|
|
45788
|
+
*/
|
|
45789
|
+
quantityOrdered?: number | null;
|
|
45769
45790
|
/**
|
|
45770
45791
|
* Tracking
|
|
45771
45792
|
* @description Tracking details (serial numbers, batches, or quantities)
|
|
@@ -45891,6 +45912,11 @@ export interface components {
|
|
|
45891
45912
|
unitPackage?: number;
|
|
45892
45913
|
/** Quantity */
|
|
45893
45914
|
quantity: number;
|
|
45915
|
+
/**
|
|
45916
|
+
* Quantityordered
|
|
45917
|
+
* @description Quantity of the item ordered (if applicable)
|
|
45918
|
+
*/
|
|
45919
|
+
quantityOrdered?: number | null;
|
|
45894
45920
|
/**
|
|
45895
45921
|
* Tracking
|
|
45896
45922
|
* @description Get the tracking from the item
|
|
@@ -47185,6 +47211,54 @@ export interface components {
|
|
|
47185
47211
|
*/
|
|
47186
47212
|
locations: components["schemas"]["ItemLocationSchema"][];
|
|
47187
47213
|
};
|
|
47214
|
+
/** UOMGroupSchema */
|
|
47215
|
+
UOMGroupSchema: {
|
|
47216
|
+
unitOfMeasure: components["schemas"]["UnitOfMeasureSchema"];
|
|
47217
|
+
unpacked: components["schemas"]["UnpackedInventorySchema"];
|
|
47218
|
+
/**
|
|
47219
|
+
* Packed
|
|
47220
|
+
* @default []
|
|
47221
|
+
*/
|
|
47222
|
+
packed: components["schemas"]["PackedInventorySchema"][];
|
|
47223
|
+
/**
|
|
47224
|
+
* Totalstockquantity
|
|
47225
|
+
* @default 0
|
|
47226
|
+
*/
|
|
47227
|
+
totalStockQuantity: number;
|
|
47228
|
+
/**
|
|
47229
|
+
* Totalreservedquantity
|
|
47230
|
+
* @default 0
|
|
47231
|
+
*/
|
|
47232
|
+
totalReservedQuantity: number;
|
|
47233
|
+
/**
|
|
47234
|
+
* Totalavailablequantity
|
|
47235
|
+
* @default 0
|
|
47236
|
+
*/
|
|
47237
|
+
totalAvailableQuantity: number;
|
|
47238
|
+
};
|
|
47239
|
+
/** UnpackedInventorySchema */
|
|
47240
|
+
UnpackedInventorySchema: {
|
|
47241
|
+
/**
|
|
47242
|
+
* Stockquantity
|
|
47243
|
+
* @default 0
|
|
47244
|
+
*/
|
|
47245
|
+
stockQuantity: number;
|
|
47246
|
+
/**
|
|
47247
|
+
* Reservedquantity
|
|
47248
|
+
* @default 0
|
|
47249
|
+
*/
|
|
47250
|
+
reservedQuantity: number;
|
|
47251
|
+
/**
|
|
47252
|
+
* Availablequantity
|
|
47253
|
+
* @default 0
|
|
47254
|
+
*/
|
|
47255
|
+
availableQuantity: number;
|
|
47256
|
+
/**
|
|
47257
|
+
* Locations
|
|
47258
|
+
* @default []
|
|
47259
|
+
*/
|
|
47260
|
+
locations: components["schemas"]["ItemLocationSchema"][];
|
|
47261
|
+
};
|
|
47188
47262
|
};
|
|
47189
47263
|
responses: never;
|
|
47190
47264
|
parameters: never;
|
package/package.json
CHANGED