@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.
@@ -544,6 +544,19 @@ An example of this might be tips left by a customer.
544
544
  request?: EVA.Core.Management.CreateCompany;
545
545
  response?: EVA.Core.Management.CreateCompanyResponse;
546
546
  }
547
+ /**
548
+ * Creates a new compant requirement and returns the ID of the new record.
549
+ *
550
+ * @export
551
+ * @class CreateCompanyRequirement
552
+ * @implements {EvaService}
553
+ */
554
+ class CreateCompanyRequirement implements IEvaServiceDefinition {
555
+ name: string;
556
+ path: string;
557
+ request?: EVA.Core.Management.CreateCompanyRequirement;
558
+ response?: EVA.Core.Management.CreateCompanyRequirementResponse;
559
+ }
547
560
  /**
548
561
  * TODO: Needs documentation
549
562
  *
@@ -1313,6 +1326,19 @@ Optionally adds a record in the ProductUnitOfMeasure conversion table for the su
1313
1326
  request?: EVA.Core.Management.CreateProductSearchTemplate;
1314
1327
  response?: EVA.Core.Management.CreateProductSearchTemplateResponse;
1315
1328
  }
1329
+ /**
1330
+ * This service creates a ProductSubscription for the given SubscriptionProductID.
1331
+ *
1332
+ * @export
1333
+ * @class CreateProductSubscription
1334
+ * @implements {EvaService}
1335
+ */
1336
+ class CreateProductSubscription implements IEvaServiceDefinition {
1337
+ name: string;
1338
+ path: string;
1339
+ request?: EVA.Core.Management.CreateProductSubscription;
1340
+ response?: EVA.Core.Management.CreateProductSubscriptionResponse;
1341
+ }
1316
1342
  /**
1317
1343
  * Create a new ProductUnitOfMeasure
1318
1344
  *
@@ -1811,6 +1837,19 @@ The survey is re-enabled when a new version is published.
1811
1837
  request?: EVA.Core.Management.DeleteCompany;
1812
1838
  response?: EVA.Core.EmptyResponseMessage;
1813
1839
  }
1840
+ /**
1841
+ * Deletes a company requirement by its ID.
1842
+ *
1843
+ * @export
1844
+ * @class DeleteCompanyRequirement
1845
+ * @implements {EvaService}
1846
+ */
1847
+ class DeleteCompanyRequirement implements IEvaServiceDefinition {
1848
+ name: string;
1849
+ path: string;
1850
+ request?: EVA.Core.Management.DeleteCompanyRequirement;
1851
+ response?: EVA.Core.EmptyResponseMessage;
1852
+ }
1814
1853
  /**
1815
1854
  * TODO: Needs documentation
1816
1855
  *
@@ -2417,6 +2456,19 @@ When it's SupplierBarcode all matching barcodes will be removed
2417
2456
  request?: EVA.Core.Management.DeleteProductSearchTemplate;
2418
2457
  response?: EVA.Core.EmptyResponseMessage;
2419
2458
  }
2459
+ /**
2460
+ * Deletes a ProductSubscription.
2461
+ *
2462
+ * @export
2463
+ * @class DeleteProductSubscription
2464
+ * @implements {EvaService}
2465
+ */
2466
+ class DeleteProductSubscription implements IEvaServiceDefinition {
2467
+ name: string;
2468
+ path: string;
2469
+ request?: EVA.Core.Management.DeleteProductSubscription;
2470
+ response?: EVA.Core.EmptyResponseMessage;
2471
+ }
2420
2472
  /**
2421
2473
  * Delete a ProductUnitOfMeasure
2422
2474
  *
@@ -4658,6 +4710,19 @@ These handlers are custom build to fetch values for ProductRequirements from ext
4658
4710
  request?: EVA.Core.Management.GetProductSearchTemplateByID;
4659
4711
  response?: EVA.Core.Management.GetProductSearchTemplateByIDResponse;
4660
4712
  }
4713
+ /**
4714
+ * This service is used to fetch a `ProductSubscription` by its ID.
4715
+ *
4716
+ * @export
4717
+ * @class GetProductSubscription
4718
+ * @implements {EvaService}
4719
+ */
4720
+ class GetProductSubscription implements IEvaServiceDefinition {
4721
+ name: string;
4722
+ path: string;
4723
+ request?: EVA.Core.Management.GetProductSubscription;
4724
+ response?: EVA.Core.Management.GetProductSubscriptionResponse;
4725
+ }
4661
4726
  /**
4662
4727
  * Returns a list of stock mutation reasons that are currently active for the supplied OrganizationUnitID.
4663
4728
  *
@@ -4684,19 +4749,6 @@ These handlers are custom build to fetch values for ProductRequirements from ext
4684
4749
  request?: EVA.Core.Management.GetRefundCorrectionReason;
4685
4750
  response?: EVA.Core.Management.GetRefundCorrectionReasonResponse;
4686
4751
  }
4687
- /**
4688
- * Get all return reasons
4689
- *
4690
- * @export
4691
- * @class GetReturnReasons
4692
- * @implements {EvaService}
4693
- */
4694
- class GetReturnReasons implements IEvaServiceDefinition {
4695
- name: string;
4696
- path: string;
4697
- request?: EVA.Core.Management.GetReturnReasons;
4698
- response?: EVA.Core.Management.GetReturnReasonsResponse;
4699
- }
4700
4752
  /**
4701
4753
  * Get the reasons by type.
4702
4754
  *
@@ -5436,6 +5488,19 @@ or to get a specific product in an assortment by filtering on both.
5436
5488
  request?: EVA.Core.Management.ListCompanies;
5437
5489
  response?: EVA.Core.Management.ListCompaniesResponse;
5438
5490
  }
5491
+ /**
5492
+ * List the company requirements.
5493
+ *
5494
+ * @export
5495
+ * @class ListCompanyRequirements
5496
+ * @implements {EvaService}
5497
+ */
5498
+ class ListCompanyRequirements implements IEvaServiceDefinition {
5499
+ name: string;
5500
+ path: string;
5501
+ request?: EVA.Core.Management.ListCompanyRequirements;
5502
+ response?: EVA.Core.Management.ListCompanyRequirementsResponse;
5503
+ }
5439
5504
  /**
5440
5505
  * List the coupons
5441
5506
  *
@@ -6238,6 +6303,19 @@ It is required to supply some OrganizationUnitIDs or some ProductIDs in the Page
6238
6303
  request?: EVA.Core.Management.ListProductSearchTemplates;
6239
6304
  response?: EVA.Core.Management.ListProductSearchTemplatesResponse;
6240
6305
  }
6306
+ /**
6307
+ * This service returns a paged summary of `ProductSubscriptions`, for each subscription it contains the `SubscriptionProduct` and the pricing information for the subscription.
6308
+ *
6309
+ * @export
6310
+ * @class ListProductSubscriptions
6311
+ * @implements {EvaService}
6312
+ */
6313
+ class ListProductSubscriptions implements IEvaServiceDefinition {
6314
+ name: string;
6315
+ path: string;
6316
+ request?: EVA.Core.Management.ListProductSubscriptions;
6317
+ response?: EVA.Core.Management.ListProductSubscriptionsResponse;
6318
+ }
6241
6319
  /**
6242
6320
  * List the ProductUnitOfMeasures
6243
6321
  *
@@ -7983,6 +8061,19 @@ The first supplied CheckoutOption will get `Sequence=0` and thus will be returne
7983
8061
  request?: EVA.Core.Management.UpdateCompany;
7984
8062
  response?: EVA.Core.EmptyResponseMessage;
7985
8063
  }
8064
+ /**
8065
+ * Updates an existing company requirement.
8066
+ *
8067
+ * @export
8068
+ * @class UpdateCompanyRequirement
8069
+ * @implements {EvaService}
8070
+ */
8071
+ class UpdateCompanyRequirement implements IEvaServiceDefinition {
8072
+ name: string;
8073
+ path: string;
8074
+ request?: EVA.Core.Management.UpdateCompanyRequirement;
8075
+ response?: EVA.Core.EmptyResponseMessage;
8076
+ }
7986
8077
  /**
7987
8078
  * TODO: Needs documentation
7988
8079
  *
@@ -8659,6 +8750,19 @@ A ShippingMethod, OrganizationUnit and Priority are required
8659
8750
  request?: EVA.Core.Management.UpdateProductSearchTemplate;
8660
8751
  response?: EVA.Core.EmptyResponseMessage;
8661
8752
  }
8753
+ /**
8754
+ * This service is largely the same as CreateProductSubscription.
8755
+ *
8756
+ * @export
8757
+ * @class UpdateProductSubscription
8758
+ * @implements {EvaService}
8759
+ */
8760
+ class UpdateProductSubscription implements IEvaServiceDefinition {
8761
+ name: string;
8762
+ path: string;
8763
+ request?: EVA.Core.Management.UpdateProductSubscription;
8764
+ response?: EVA.Core.EmptyResponseMessage;
8765
+ }
8662
8766
  /**
8663
8767
  * Update an existing ProductUnitOfMeasure
8664
8768
  *