@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.cjs.js +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +4 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
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
|
-
"
|
|
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",
|