@springtree/eva-services-core-management 2.38.0 → 2.40.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,20 @@ 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
+ * @export
1431
+ * @class CreateProductSubscription
1432
+ * @implements {EvaService}
1433
+ */
1434
+ class CreateProductSubscription {
1435
+ name = 'CoreManagement:CreateProductSubscription';
1436
+ path = '/message/CreateProductSubscription';
1437
+ request;
1438
+ response;
1439
+ }
1440
+ CoreManagement.CreateProductSubscription = CreateProductSubscription;
1413
1441
  /**
1414
1442
  * Create a new ProductUnitOfMeasure
1415
1443
  *
@@ -1945,6 +1973,20 @@ The survey is re-enabled when a new version is published.
1945
1973
  response;
1946
1974
  }
1947
1975
  CoreManagement.DeleteCompany = DeleteCompany;
1976
+ /**
1977
+ * Deletes a company requirement by its ID.
1978
+ *
1979
+ * @export
1980
+ * @class DeleteCompanyRequirement
1981
+ * @implements {EvaService}
1982
+ */
1983
+ class DeleteCompanyRequirement {
1984
+ name = 'CoreManagement:DeleteCompanyRequirement';
1985
+ path = '/message/DeleteCompanyRequirement';
1986
+ request;
1987
+ response;
1988
+ }
1989
+ CoreManagement.DeleteCompanyRequirement = DeleteCompanyRequirement;
1948
1990
  /**
1949
1991
  * TODO: Needs documentation
1950
1992
  *
@@ -2597,6 +2639,20 @@ When it's SupplierBarcode all matching barcodes will be removed
2597
2639
  response;
2598
2640
  }
2599
2641
  CoreManagement.DeleteProductSearchTemplate = DeleteProductSearchTemplate;
2642
+ /**
2643
+ * Deletes a ProductSubscription.
2644
+ *
2645
+ * @export
2646
+ * @class DeleteProductSubscription
2647
+ * @implements {EvaService}
2648
+ */
2649
+ class DeleteProductSubscription {
2650
+ name = 'CoreManagement:DeleteProductSubscription';
2651
+ path = '/message/DeleteProductSubscription';
2652
+ request;
2653
+ response;
2654
+ }
2655
+ CoreManagement.DeleteProductSubscription = DeleteProductSubscription;
2600
2656
  /**
2601
2657
  * Delete a ProductUnitOfMeasure
2602
2658
  *
@@ -5009,6 +5065,20 @@ These handlers are custom build to fetch values for ProductRequirements from ext
5009
5065
  response;
5010
5066
  }
5011
5067
  CoreManagement.GetProductSearchTemplateByID = GetProductSearchTemplateByID;
5068
+ /**
5069
+ * This service is used to fetch a `ProductSubscription` by its ID.
5070
+ *
5071
+ * @export
5072
+ * @class GetProductSubscription
5073
+ * @implements {EvaService}
5074
+ */
5075
+ class GetProductSubscription {
5076
+ name = 'CoreManagement:GetProductSubscription';
5077
+ path = '/message/GetProductSubscription';
5078
+ request;
5079
+ response;
5080
+ }
5081
+ CoreManagement.GetProductSubscription = GetProductSubscription;
5012
5082
  /**
5013
5083
  * Returns a list of stock mutation reasons that are currently active for the supplied OrganizationUnitID.
5014
5084
  *
@@ -5037,20 +5107,6 @@ These handlers are custom build to fetch values for ProductRequirements from ext
5037
5107
  response;
5038
5108
  }
5039
5109
  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
5110
  /**
5055
5111
  * Get the reasons by type.
5056
5112
  *
@@ -5846,6 +5902,20 @@ or to get a specific product in an assortment by filtering on both.
5846
5902
  response;
5847
5903
  }
5848
5904
  CoreManagement.ListCompanies = ListCompanies;
5905
+ /**
5906
+ * List the company requirements.
5907
+ *
5908
+ * @export
5909
+ * @class ListCompanyRequirements
5910
+ * @implements {EvaService}
5911
+ */
5912
+ class ListCompanyRequirements {
5913
+ name = 'CoreManagement:ListCompanyRequirements';
5914
+ path = '/message/ListCompanyRequirements';
5915
+ request;
5916
+ response;
5917
+ }
5918
+ CoreManagement.ListCompanyRequirements = ListCompanyRequirements;
5849
5919
  /**
5850
5920
  * List the coupons
5851
5921
  *
@@ -6706,6 +6776,20 @@ It is required to supply some OrganizationUnitIDs or some ProductIDs in the Page
6706
6776
  response;
6707
6777
  }
6708
6778
  CoreManagement.ListProductSearchTemplates = ListProductSearchTemplates;
6779
+ /**
6780
+ * This service returns a paged summary of `ProductSubscriptions`, for each subscription it contains the `SubscriptionProduct` and the pricing information for the subscription.
6781
+ *
6782
+ * @export
6783
+ * @class ListProductSubscriptions
6784
+ * @implements {EvaService}
6785
+ */
6786
+ class ListProductSubscriptions {
6787
+ name = 'CoreManagement:ListProductSubscriptions';
6788
+ path = '/message/ListProductSubscriptions';
6789
+ request;
6790
+ response;
6791
+ }
6792
+ CoreManagement.ListProductSubscriptions = ListProductSubscriptions;
6709
6793
  /**
6710
6794
  * List the ProductUnitOfMeasures
6711
6795
  *
@@ -8575,6 +8659,20 @@ The first supplied CheckoutOption will get `Sequence=0` and thus will be returne
8575
8659
  response;
8576
8660
  }
8577
8661
  CoreManagement.UpdateCompany = UpdateCompany;
8662
+ /**
8663
+ * Updates an existing company requirement.
8664
+ *
8665
+ * @export
8666
+ * @class UpdateCompanyRequirement
8667
+ * @implements {EvaService}
8668
+ */
8669
+ class UpdateCompanyRequirement {
8670
+ name = 'CoreManagement:UpdateCompanyRequirement';
8671
+ path = '/message/UpdateCompanyRequirement';
8672
+ request;
8673
+ response;
8674
+ }
8675
+ CoreManagement.UpdateCompanyRequirement = UpdateCompanyRequirement;
8578
8676
  /**
8579
8677
  * TODO: Needs documentation
8580
8678
  *
@@ -9299,6 +9397,20 @@ A ShippingMethod, OrganizationUnit and Priority are required
9299
9397
  response;
9300
9398
  }
9301
9399
  CoreManagement.UpdateProductSearchTemplate = UpdateProductSearchTemplate;
9400
+ /**
9401
+ * This service is largely the same as CreateProductSubscription.
9402
+ *
9403
+ * @export
9404
+ * @class UpdateProductSubscription
9405
+ * @implements {EvaService}
9406
+ */
9407
+ class UpdateProductSubscription {
9408
+ name = 'CoreManagement:UpdateProductSubscription';
9409
+ path = '/message/UpdateProductSubscription';
9410
+ request;
9411
+ response;
9412
+ }
9413
+ CoreManagement.UpdateProductSubscription = UpdateProductSubscription;
9302
9414
  /**
9303
9415
  * Update an existing ProductUnitOfMeasure
9304
9416
  *