@connect-plus-online/ogabai-integrations 0.0.71 → 0.0.73

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.d.mts CHANGED
@@ -506,7 +506,7 @@ interface Subscription {
506
506
  id: string;
507
507
  userId: string;
508
508
  subscriptionPlanId: string;
509
- price: number;
509
+ subscriptionPrice: number;
510
510
  currency: string;
511
511
  subscriptionStatus: "active" | "past_due" | "cancelled" | "trail";
512
512
  currentPeriodStart: string;
@@ -521,6 +521,8 @@ interface Subscription {
521
521
  subscriptionTiers: SubscriptionPlanFeatureBehaviourValue[];
522
522
  subscriptionLimits: SubscriptionPlanFeatureLimitValue[];
523
523
  subscriptionAccesses: SubscriptionPlanFeatureAccessValue[];
524
+ paymentReference: string;
525
+ paymentDataJson: string;
524
526
  }
525
527
 
526
528
  type AuthTokenProvider = () => Promise<string | null> | string | null;
package/dist/index.d.ts CHANGED
@@ -506,7 +506,7 @@ interface Subscription {
506
506
  id: string;
507
507
  userId: string;
508
508
  subscriptionPlanId: string;
509
- price: number;
509
+ subscriptionPrice: number;
510
510
  currency: string;
511
511
  subscriptionStatus: "active" | "past_due" | "cancelled" | "trail";
512
512
  currentPeriodStart: string;
@@ -521,6 +521,8 @@ interface Subscription {
521
521
  subscriptionTiers: SubscriptionPlanFeatureBehaviourValue[];
522
522
  subscriptionLimits: SubscriptionPlanFeatureLimitValue[];
523
523
  subscriptionAccesses: SubscriptionPlanFeatureAccessValue[];
524
+ paymentReference: string;
525
+ paymentDataJson: string;
524
526
  }
525
527
 
526
528
  type AuthTokenProvider = () => Promise<string | null> | string | null;
package/dist/index.esm.js CHANGED
@@ -648,13 +648,15 @@ var subscriptionQuery = [
648
648
  "currentPeriodStart",
649
649
  "defaultPaymentMethodId",
650
650
  "id",
651
- "price",
651
+ "subscriptionPrice",
652
652
  "subscriptionPlanId",
653
653
  "subscriptionStatus",
654
654
  "trialEnd",
655
655
  "updatedAt",
656
656
  "userId",
657
- "version"
657
+ "version",
658
+ "paymentDataJson",
659
+ "paymentReference"
658
660
  ];
659
661
  var subscriptionPlanFeatureQuery = [
660
662
  "limitValue",