@visa-check-r/integrations 0.0.77 → 0.0.78

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/dist/index.cjs.js CHANGED
@@ -2846,29 +2846,35 @@ var serviceCreditCostQuery = [
2846
2846
  "serviceName"
2847
2847
  ];
2848
2848
 
2849
- // src/services/subscription/types/coupon-redemption.type.ts
2850
- var ENTITY2 = "couponRedemption";
2851
- var couponRedemptionIntegration = createStandardEntityIntegration({
2852
- key: ENTITY2,
2853
- fields: couponRedemptionQuery
2854
- });
2855
- var couponRedemptionListIntegration = createListIntegration({
2856
- key: "couponRedemptions",
2857
- fields: couponRedemptionQuery
2858
- });
2859
- var couponRedemptionDeleteIntegration = createDeleteIntegration(ENTITY2);
2860
-
2861
2849
  // src/services/subscription/types/coupon.type.ts
2862
- var ENTITY3 = "coupon";
2850
+ var ENTITY2 = "coupon";
2863
2851
  var couponIntegration = createStandardEntityIntegration({
2864
- key: ENTITY3,
2852
+ key: ENTITY2,
2865
2853
  fields: couponQuery
2866
2854
  });
2867
2855
  var couponListIntegration = createListIntegration({
2868
2856
  key: "coupons",
2869
2857
  fields: couponQuery
2870
2858
  });
2871
- var couponDeleteIntegration = createDeleteIntegration(ENTITY3);
2859
+ var couponDeleteIntegration = createDeleteIntegration(ENTITY2);
2860
+
2861
+ // src/services/subscription/types/coupon-redemption.type.ts
2862
+ var ENTITY3 = "couponRedemption";
2863
+ var couponRedemptionIntegration = createStandardEntityIntegration({
2864
+ key: ENTITY3,
2865
+ fields: couponRedemptionQuery,
2866
+ nested: {
2867
+ ...couponIntegration.get.nestedFields
2868
+ }
2869
+ });
2870
+ var couponRedemptionListIntegration = createListIntegration({
2871
+ key: "couponRedemptions",
2872
+ fields: couponRedemptionQuery,
2873
+ nested: {
2874
+ ...couponIntegration.get.nestedFields
2875
+ }
2876
+ });
2877
+ var couponRedemptionDeleteIntegration = createDeleteIntegration(ENTITY3);
2872
2878
 
2873
2879
  // src/services/subscription/types/credit-plan.type.ts
2874
2880
  var ENTITY4 = "creditPlan";