@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.
@@ -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,25 @@ 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
+ The request body object contains three parameters:
1333
+
1334
+ - BackendID: Optional. Can be filled in with the identifier of this subscription by which it is known in another system.
1335
+ - SubscriptionProductID: Required. This should refer to an EVA product with type `SubscriptionProduct`.
1336
+ - Type: Required. This specifies the type of subscription: discount or configurable. The type can not be changed after the subscription has been created.
1337
+ *
1338
+ * @export
1339
+ * @class CreateProductSubscription
1340
+ * @implements {EvaService}
1341
+ */
1342
+ class CreateProductSubscription implements IEvaServiceDefinition {
1343
+ name: string;
1344
+ path: string;
1345
+ request?: EVA.Core.Management.CreateProductSubscription;
1346
+ response?: EVA.Core.Management.CreateProductSubscriptionResponse;
1347
+ }
1316
1348
  /**
1317
1349
  * Create a new ProductUnitOfMeasure
1318
1350
  *
@@ -1811,6 +1843,19 @@ The survey is re-enabled when a new version is published.
1811
1843
  request?: EVA.Core.Management.DeleteCompany;
1812
1844
  response?: EVA.Core.EmptyResponseMessage;
1813
1845
  }
1846
+ /**
1847
+ * Deletes a company requirement by its ID.
1848
+ *
1849
+ * @export
1850
+ * @class DeleteCompanyRequirement
1851
+ * @implements {EvaService}
1852
+ */
1853
+ class DeleteCompanyRequirement implements IEvaServiceDefinition {
1854
+ name: string;
1855
+ path: string;
1856
+ request?: EVA.Core.Management.DeleteCompanyRequirement;
1857
+ response?: EVA.Core.EmptyResponseMessage;
1858
+ }
1814
1859
  /**
1815
1860
  * TODO: Needs documentation
1816
1861
  *
@@ -2417,6 +2462,19 @@ When it's SupplierBarcode all matching barcodes will be removed
2417
2462
  request?: EVA.Core.Management.DeleteProductSearchTemplate;
2418
2463
  response?: EVA.Core.EmptyResponseMessage;
2419
2464
  }
2465
+ /**
2466
+ * Deletes a ProductSubscription.
2467
+ *
2468
+ * @export
2469
+ * @class DeleteProductSubscription
2470
+ * @implements {EvaService}
2471
+ */
2472
+ class DeleteProductSubscription implements IEvaServiceDefinition {
2473
+ name: string;
2474
+ path: string;
2475
+ request?: EVA.Core.Management.DeleteProductSubscription;
2476
+ response?: EVA.Core.EmptyResponseMessage;
2477
+ }
2420
2478
  /**
2421
2479
  * Delete a ProductUnitOfMeasure
2422
2480
  *
@@ -4658,6 +4716,19 @@ These handlers are custom build to fetch values for ProductRequirements from ext
4658
4716
  request?: EVA.Core.Management.GetProductSearchTemplateByID;
4659
4717
  response?: EVA.Core.Management.GetProductSearchTemplateByIDResponse;
4660
4718
  }
4719
+ /**
4720
+ * This service is used to fetch a `ProductSubscription` by its ID.
4721
+ *
4722
+ * @export
4723
+ * @class GetProductSubscription
4724
+ * @implements {EvaService}
4725
+ */
4726
+ class GetProductSubscription implements IEvaServiceDefinition {
4727
+ name: string;
4728
+ path: string;
4729
+ request?: EVA.Core.Management.GetProductSubscription;
4730
+ response?: EVA.Core.Management.GetProductSubscriptionResponse;
4731
+ }
4661
4732
  /**
4662
4733
  * Returns a list of stock mutation reasons that are currently active for the supplied OrganizationUnitID.
4663
4734
  *
@@ -4684,19 +4755,6 @@ These handlers are custom build to fetch values for ProductRequirements from ext
4684
4755
  request?: EVA.Core.Management.GetRefundCorrectionReason;
4685
4756
  response?: EVA.Core.Management.GetRefundCorrectionReasonResponse;
4686
4757
  }
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
4758
  /**
4701
4759
  * Get the reasons by type.
4702
4760
  *
@@ -5436,6 +5494,19 @@ or to get a specific product in an assortment by filtering on both.
5436
5494
  request?: EVA.Core.Management.ListCompanies;
5437
5495
  response?: EVA.Core.Management.ListCompaniesResponse;
5438
5496
  }
5497
+ /**
5498
+ * List the company requirements.
5499
+ *
5500
+ * @export
5501
+ * @class ListCompanyRequirements
5502
+ * @implements {EvaService}
5503
+ */
5504
+ class ListCompanyRequirements implements IEvaServiceDefinition {
5505
+ name: string;
5506
+ path: string;
5507
+ request?: EVA.Core.Management.ListCompanyRequirements;
5508
+ response?: EVA.Core.Management.ListCompanyRequirementsResponse;
5509
+ }
5439
5510
  /**
5440
5511
  * List the coupons
5441
5512
  *
@@ -6033,9 +6104,7 @@ Filters available to be sent in the request:
6033
6104
  response?: EVA.Core.Management.ListPaymentTransactionsSettlementsResponse;
6034
6105
  }
6035
6106
  /**
6036
- * List paymenttransactions
6037
-
6038
- All available filters are typed in the PageConfig.Filter property.
6107
+ * List paymenttransactions.
6039
6108
  *
6040
6109
  * @export
6041
6110
  * @class ListPaymentTransactions
@@ -6240,6 +6309,19 @@ It is required to supply some OrganizationUnitIDs or some ProductIDs in the Page
6240
6309
  request?: EVA.Core.Management.ListProductSearchTemplates;
6241
6310
  response?: EVA.Core.Management.ListProductSearchTemplatesResponse;
6242
6311
  }
6312
+ /**
6313
+ * This service returns a paged summary of `ProductSubscriptions`, for each subscription it contains the `SubscriptionProduct` and the pricing information for the subscription.
6314
+ *
6315
+ * @export
6316
+ * @class ListProductSubscriptions
6317
+ * @implements {EvaService}
6318
+ */
6319
+ class ListProductSubscriptions implements IEvaServiceDefinition {
6320
+ name: string;
6321
+ path: string;
6322
+ request?: EVA.Core.Management.ListProductSubscriptions;
6323
+ response?: EVA.Core.Management.ListProductSubscriptionsResponse;
6324
+ }
6243
6325
  /**
6244
6326
  * List the ProductUnitOfMeasures
6245
6327
  *
@@ -7985,6 +8067,19 @@ The first supplied CheckoutOption will get `Sequence=0` and thus will be returne
7985
8067
  request?: EVA.Core.Management.UpdateCompany;
7986
8068
  response?: EVA.Core.EmptyResponseMessage;
7987
8069
  }
8070
+ /**
8071
+ * Updates an existing company requirement.
8072
+ *
8073
+ * @export
8074
+ * @class UpdateCompanyRequirement
8075
+ * @implements {EvaService}
8076
+ */
8077
+ class UpdateCompanyRequirement implements IEvaServiceDefinition {
8078
+ name: string;
8079
+ path: string;
8080
+ request?: EVA.Core.Management.UpdateCompanyRequirement;
8081
+ response?: EVA.Core.EmptyResponseMessage;
8082
+ }
7988
8083
  /**
7989
8084
  * TODO: Needs documentation
7990
8085
  *
@@ -8661,6 +8756,19 @@ A ShippingMethod, OrganizationUnit and Priority are required
8661
8756
  request?: EVA.Core.Management.UpdateProductSearchTemplate;
8662
8757
  response?: EVA.Core.EmptyResponseMessage;
8663
8758
  }
8759
+ /**
8760
+ * This service is largely the same as CreateProductSubscription.
8761
+ *
8762
+ * @export
8763
+ * @class UpdateProductSubscription
8764
+ * @implements {EvaService}
8765
+ */
8766
+ class UpdateProductSubscription implements IEvaServiceDefinition {
8767
+ name: string;
8768
+ path: string;
8769
+ request?: EVA.Core.Management.UpdateProductSubscription;
8770
+ response?: EVA.Core.EmptyResponseMessage;
8771
+ }
8664
8772
  /**
8665
8773
  * Update an existing ProductUnitOfMeasure
8666
8774
  *