@brighterly/lib-core-types 0.19.7 → 0.19.8

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.
@@ -1,4 +1,5 @@
1
1
  import type { ChannelNotification } from '../lists/activation/enums.ts';
2
+ import type { PaymentProvider } from '../subscription/enums.ts';
2
3
  import type { MessageSender } from '../activation/enums';
3
4
  import type { KidInCustomer } from '../kid/interfaces';
4
5
  import type { ActiveSurvey } from '../survey/interfaces';
@@ -59,6 +60,7 @@ export interface Customer {
59
60
  is_book_demo_allowed: boolean;
60
61
  active_surveys: ActiveSurvey[];
61
62
  experiments: Experiments | null;
63
+ payment_provider: PaymentProvider;
62
64
  }
63
65
  export interface CustomerResponse {
64
66
  message: string;
@@ -19,6 +19,10 @@ export declare enum SubscriptionProvider {
19
19
  Paypal = "PAYPAL",
20
20
  PaypalBNPL = "PAYPAL_BNPL"
21
21
  }
22
+ export declare enum PaymentProvider {
23
+ Stripe = "STRIPE",
24
+ Solidgate = "SOLIDGATE"
25
+ }
22
26
  export declare enum PauseDuration {
23
27
  Weeks1 = "WEEKS_1",
24
28
  Weeks2 = "WEEKS_2",
@@ -22,6 +22,11 @@ export var SubscriptionProvider;
22
22
  SubscriptionProvider["Paypal"] = "PAYPAL";
23
23
  SubscriptionProvider["PaypalBNPL"] = "PAYPAL_BNPL";
24
24
  })(SubscriptionProvider || (SubscriptionProvider = {}));
25
+ export var PaymentProvider;
26
+ (function (PaymentProvider) {
27
+ PaymentProvider["Stripe"] = "STRIPE";
28
+ PaymentProvider["Solidgate"] = "SOLIDGATE";
29
+ })(PaymentProvider || (PaymentProvider = {}));
25
30
  export var PauseDuration;
26
31
  (function (PauseDuration) {
27
32
  PauseDuration["Weeks1"] = "WEEKS_1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brighterly/lib-core-types",
3
- "version": "0.19.7",
3
+ "version": "0.19.8",
4
4
  "description": "Official Brighterly lib-core-types",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",