@springtree/eva-services-core-management 2.37.3 → 2.39.0
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.
|
@@ -585,6 +585,20 @@ An example of this might be tips left by a customer.
|
|
|
585
585
|
response;
|
|
586
586
|
}
|
|
587
587
|
CoreManagement.CreateCompany = CreateCompany;
|
|
588
|
+
/**
|
|
589
|
+
* Creates a new compant requirement and returns the ID of the new record.
|
|
590
|
+
*
|
|
591
|
+
* @export
|
|
592
|
+
* @class CreateCompanyRequirement
|
|
593
|
+
* @implements {EvaService}
|
|
594
|
+
*/
|
|
595
|
+
class CreateCompanyRequirement {
|
|
596
|
+
name = 'CoreManagement:CreateCompanyRequirement';
|
|
597
|
+
path = '/message/CreateCompanyRequirement';
|
|
598
|
+
request;
|
|
599
|
+
response;
|
|
600
|
+
}
|
|
601
|
+
CoreManagement.CreateCompanyRequirement = CreateCompanyRequirement;
|
|
588
602
|
/**
|
|
589
603
|
* TODO: Needs documentation
|
|
590
604
|
*
|
|
@@ -1410,6 +1424,26 @@ Optionally adds a record in the ProductUnitOfMeasure conversion table for the su
|
|
|
1410
1424
|
response;
|
|
1411
1425
|
}
|
|
1412
1426
|
CoreManagement.CreateProductSearchTemplate = CreateProductSearchTemplate;
|
|
1427
|
+
/**
|
|
1428
|
+
* This service creates a ProductSubscription for the given SubscriptionProductID.
|
|
1429
|
+
|
|
1430
|
+
The request body object contains three parameters:
|
|
1431
|
+
|
|
1432
|
+
- BackendID: Optional. Can be filled in with the identifier of this subscription by which it is known in another system.
|
|
1433
|
+
- SubscriptionProductID: Required. This should refer to an EVA product with type `SubscriptionProduct`.
|
|
1434
|
+
- Type: Required. This specifies the type of subscription: discount or configurable. The type can not be changed after the subscription has been created.
|
|
1435
|
+
*
|
|
1436
|
+
* @export
|
|
1437
|
+
* @class CreateProductSubscription
|
|
1438
|
+
* @implements {EvaService}
|
|
1439
|
+
*/
|
|
1440
|
+
class CreateProductSubscription {
|
|
1441
|
+
name = 'CoreManagement:CreateProductSubscription';
|
|
1442
|
+
path = '/message/CreateProductSubscription';
|
|
1443
|
+
request;
|
|
1444
|
+
response;
|
|
1445
|
+
}
|
|
1446
|
+
CoreManagement.CreateProductSubscription = CreateProductSubscription;
|
|
1413
1447
|
/**
|
|
1414
1448
|
* Create a new ProductUnitOfMeasure
|
|
1415
1449
|
*
|
|
@@ -1945,6 +1979,20 @@ The survey is re-enabled when a new version is published.
|
|
|
1945
1979
|
response;
|
|
1946
1980
|
}
|
|
1947
1981
|
CoreManagement.DeleteCompany = DeleteCompany;
|
|
1982
|
+
/**
|
|
1983
|
+
* Deletes a company requirement by its ID.
|
|
1984
|
+
*
|
|
1985
|
+
* @export
|
|
1986
|
+
* @class DeleteCompanyRequirement
|
|
1987
|
+
* @implements {EvaService}
|
|
1988
|
+
*/
|
|
1989
|
+
class DeleteCompanyRequirement {
|
|
1990
|
+
name = 'CoreManagement:DeleteCompanyRequirement';
|
|
1991
|
+
path = '/message/DeleteCompanyRequirement';
|
|
1992
|
+
request;
|
|
1993
|
+
response;
|
|
1994
|
+
}
|
|
1995
|
+
CoreManagement.DeleteCompanyRequirement = DeleteCompanyRequirement;
|
|
1948
1996
|
/**
|
|
1949
1997
|
* TODO: Needs documentation
|
|
1950
1998
|
*
|
|
@@ -2597,6 +2645,20 @@ When it's SupplierBarcode all matching barcodes will be removed
|
|
|
2597
2645
|
response;
|
|
2598
2646
|
}
|
|
2599
2647
|
CoreManagement.DeleteProductSearchTemplate = DeleteProductSearchTemplate;
|
|
2648
|
+
/**
|
|
2649
|
+
* Deletes a ProductSubscription.
|
|
2650
|
+
*
|
|
2651
|
+
* @export
|
|
2652
|
+
* @class DeleteProductSubscription
|
|
2653
|
+
* @implements {EvaService}
|
|
2654
|
+
*/
|
|
2655
|
+
class DeleteProductSubscription {
|
|
2656
|
+
name = 'CoreManagement:DeleteProductSubscription';
|
|
2657
|
+
path = '/message/DeleteProductSubscription';
|
|
2658
|
+
request;
|
|
2659
|
+
response;
|
|
2660
|
+
}
|
|
2661
|
+
CoreManagement.DeleteProductSubscription = DeleteProductSubscription;
|
|
2600
2662
|
/**
|
|
2601
2663
|
* Delete a ProductUnitOfMeasure
|
|
2602
2664
|
*
|
|
@@ -5009,6 +5071,20 @@ These handlers are custom build to fetch values for ProductRequirements from ext
|
|
|
5009
5071
|
response;
|
|
5010
5072
|
}
|
|
5011
5073
|
CoreManagement.GetProductSearchTemplateByID = GetProductSearchTemplateByID;
|
|
5074
|
+
/**
|
|
5075
|
+
* This service is used to fetch a `ProductSubscription` by its ID.
|
|
5076
|
+
*
|
|
5077
|
+
* @export
|
|
5078
|
+
* @class GetProductSubscription
|
|
5079
|
+
* @implements {EvaService}
|
|
5080
|
+
*/
|
|
5081
|
+
class GetProductSubscription {
|
|
5082
|
+
name = 'CoreManagement:GetProductSubscription';
|
|
5083
|
+
path = '/message/GetProductSubscription';
|
|
5084
|
+
request;
|
|
5085
|
+
response;
|
|
5086
|
+
}
|
|
5087
|
+
CoreManagement.GetProductSubscription = GetProductSubscription;
|
|
5012
5088
|
/**
|
|
5013
5089
|
* Returns a list of stock mutation reasons that are currently active for the supplied OrganizationUnitID.
|
|
5014
5090
|
*
|
|
@@ -5037,20 +5113,6 @@ These handlers are custom build to fetch values for ProductRequirements from ext
|
|
|
5037
5113
|
response;
|
|
5038
5114
|
}
|
|
5039
5115
|
CoreManagement.GetRefundCorrectionReason = GetRefundCorrectionReason;
|
|
5040
|
-
/**
|
|
5041
|
-
* Get all return reasons
|
|
5042
|
-
*
|
|
5043
|
-
* @export
|
|
5044
|
-
* @class GetReturnReasons
|
|
5045
|
-
* @implements {EvaService}
|
|
5046
|
-
*/
|
|
5047
|
-
class GetReturnReasons {
|
|
5048
|
-
name = 'CoreManagement:GetReturnReasons';
|
|
5049
|
-
path = '/message/GetReturnReasons';
|
|
5050
|
-
request;
|
|
5051
|
-
response;
|
|
5052
|
-
}
|
|
5053
|
-
CoreManagement.GetReturnReasons = GetReturnReasons;
|
|
5054
5116
|
/**
|
|
5055
5117
|
* Get the reasons by type.
|
|
5056
5118
|
*
|
|
@@ -5846,6 +5908,20 @@ or to get a specific product in an assortment by filtering on both.
|
|
|
5846
5908
|
response;
|
|
5847
5909
|
}
|
|
5848
5910
|
CoreManagement.ListCompanies = ListCompanies;
|
|
5911
|
+
/**
|
|
5912
|
+
* List the company requirements.
|
|
5913
|
+
*
|
|
5914
|
+
* @export
|
|
5915
|
+
* @class ListCompanyRequirements
|
|
5916
|
+
* @implements {EvaService}
|
|
5917
|
+
*/
|
|
5918
|
+
class ListCompanyRequirements {
|
|
5919
|
+
name = 'CoreManagement:ListCompanyRequirements';
|
|
5920
|
+
path = '/message/ListCompanyRequirements';
|
|
5921
|
+
request;
|
|
5922
|
+
response;
|
|
5923
|
+
}
|
|
5924
|
+
CoreManagement.ListCompanyRequirements = ListCompanyRequirements;
|
|
5849
5925
|
/**
|
|
5850
5926
|
* List the coupons
|
|
5851
5927
|
*
|
|
@@ -6486,9 +6562,7 @@ Filters available to be sent in the request:
|
|
|
6486
6562
|
}
|
|
6487
6563
|
CoreManagement.ListPaymentTransactionSettlements = ListPaymentTransactionSettlements;
|
|
6488
6564
|
/**
|
|
6489
|
-
* List paymenttransactions
|
|
6490
|
-
|
|
6491
|
-
All available filters are typed in the PageConfig.Filter property.
|
|
6565
|
+
* List paymenttransactions.
|
|
6492
6566
|
*
|
|
6493
6567
|
* @export
|
|
6494
6568
|
* @class ListPaymentTransactions
|
|
@@ -6708,6 +6782,20 @@ It is required to supply some OrganizationUnitIDs or some ProductIDs in the Page
|
|
|
6708
6782
|
response;
|
|
6709
6783
|
}
|
|
6710
6784
|
CoreManagement.ListProductSearchTemplates = ListProductSearchTemplates;
|
|
6785
|
+
/**
|
|
6786
|
+
* This service returns a paged summary of `ProductSubscriptions`, for each subscription it contains the `SubscriptionProduct` and the pricing information for the subscription.
|
|
6787
|
+
*
|
|
6788
|
+
* @export
|
|
6789
|
+
* @class ListProductSubscriptions
|
|
6790
|
+
* @implements {EvaService}
|
|
6791
|
+
*/
|
|
6792
|
+
class ListProductSubscriptions {
|
|
6793
|
+
name = 'CoreManagement:ListProductSubscriptions';
|
|
6794
|
+
path = '/message/ListProductSubscriptions';
|
|
6795
|
+
request;
|
|
6796
|
+
response;
|
|
6797
|
+
}
|
|
6798
|
+
CoreManagement.ListProductSubscriptions = ListProductSubscriptions;
|
|
6711
6799
|
/**
|
|
6712
6800
|
* List the ProductUnitOfMeasures
|
|
6713
6801
|
*
|
|
@@ -8577,6 +8665,20 @@ The first supplied CheckoutOption will get `Sequence=0` and thus will be returne
|
|
|
8577
8665
|
response;
|
|
8578
8666
|
}
|
|
8579
8667
|
CoreManagement.UpdateCompany = UpdateCompany;
|
|
8668
|
+
/**
|
|
8669
|
+
* Updates an existing company requirement.
|
|
8670
|
+
*
|
|
8671
|
+
* @export
|
|
8672
|
+
* @class UpdateCompanyRequirement
|
|
8673
|
+
* @implements {EvaService}
|
|
8674
|
+
*/
|
|
8675
|
+
class UpdateCompanyRequirement {
|
|
8676
|
+
name = 'CoreManagement:UpdateCompanyRequirement';
|
|
8677
|
+
path = '/message/UpdateCompanyRequirement';
|
|
8678
|
+
request;
|
|
8679
|
+
response;
|
|
8680
|
+
}
|
|
8681
|
+
CoreManagement.UpdateCompanyRequirement = UpdateCompanyRequirement;
|
|
8580
8682
|
/**
|
|
8581
8683
|
* TODO: Needs documentation
|
|
8582
8684
|
*
|
|
@@ -9301,6 +9403,20 @@ A ShippingMethod, OrganizationUnit and Priority are required
|
|
|
9301
9403
|
response;
|
|
9302
9404
|
}
|
|
9303
9405
|
CoreManagement.UpdateProductSearchTemplate = UpdateProductSearchTemplate;
|
|
9406
|
+
/**
|
|
9407
|
+
* This service is largely the same as CreateProductSubscription.
|
|
9408
|
+
*
|
|
9409
|
+
* @export
|
|
9410
|
+
* @class UpdateProductSubscription
|
|
9411
|
+
* @implements {EvaService}
|
|
9412
|
+
*/
|
|
9413
|
+
class UpdateProductSubscription {
|
|
9414
|
+
name = 'CoreManagement:UpdateProductSubscription';
|
|
9415
|
+
path = '/message/UpdateProductSubscription';
|
|
9416
|
+
request;
|
|
9417
|
+
response;
|
|
9418
|
+
}
|
|
9419
|
+
CoreManagement.UpdateProductSubscription = UpdateProductSubscription;
|
|
9304
9420
|
/**
|
|
9305
9421
|
* Update an existing ProductUnitOfMeasure
|
|
9306
9422
|
*
|