taxtank-core 0.31.2 → 0.31.4

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.
@@ -2,4 +2,5 @@ export * from './service-payment/service-payment.service';
2
2
  export * from './service-payment-method/service-payment-method.service';
3
3
  export * from './service-price/service-price.service';
4
4
  export * from './service-subscription/subscription.service';
5
+ export * from './service-subscription/subscription-messages.enum';
5
6
  export * from './service-product/service-product.service';
@@ -0,0 +1,8 @@
1
+ export declare enum SubscriptionMessagesEnum {
2
+ PROMOCODE_ERROR = "This promo code can\u2019t be applied to your subscription. Please contact support.",
3
+ SUCCEEDED = "Success! Payment received.",
4
+ SUCCEEDED_FREE = "Success! We'll update you soon.",
5
+ PROCESSING = "Payment processing. We'll update you when payment is received.",
6
+ REQUIRES_PAYMENT_METHOD = "Payment failed. Please try another payment method.",
7
+ ERROR = "Something went wrong."
8
+ }
@@ -23,7 +23,7 @@ export declare class SubscriptionService extends RestService<ServiceSubscription
23
23
  disabledMethods: RestMethod[];
24
24
  constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, sseService: SseService, toastService: ToastService, environment: any);
25
25
  startTrial(subscription: ServiceSubscription): Observable<ServiceSubscription>;
26
- getStripeClientSecret(subscription: ServiceSubscription): Observable<string>;
26
+ postStripeSubscription(subscription: ServiceSubscription): Observable<string | void>;
27
27
  getActive(): Observable<ServiceSubscriptionCollection>;
28
28
  getTrials(): Observable<ServiceSubscriptionCollection>;
29
29
  getActiveTrials(): Observable<ServiceSubscriptionCollection>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.31.2",
3
+ "version": "0.31.4",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",