@osovitny/anatoly 3.20.37 → 3.20.38

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/index.d.ts CHANGED
@@ -959,7 +959,7 @@ declare class PaymentsApiService extends ApiServiceBase {
959
959
  constructor(http: HttpClient);
960
960
  createStripeSession(amount: any, currency: any, name: any, description: any, image: any): Observable<any>;
961
961
  createBraintreeToken(): Observable<any>;
962
- addPayment(paymentMethod: any, paidFor: any, subtotal: any, promoCode: any, total: any, currency: any, pmId: any, pmStatus: any, pmDetails: any, success?: Function, error?: Function): rxjs.Subscription;
962
+ addPayment(paymentMethod: any, planId: any, paidFor: any, subtotal: any, promoCode: any, total: any, currency: any, pmId: any, pmStatus: any, pmDetails: any, success?: Function, error?: Function): rxjs.Subscription;
963
963
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentsApiService, never>;
964
964
  static ɵprov: i0.ɵɵInjectableDeclaration<PaymentsApiService>;
965
965
  }
@@ -982,7 +982,7 @@ declare class BillingService {
982
982
  fireSubscriptionAdded(paymentInProgress: any, paymentFailed: any): void;
983
983
  createStripeSession(amount: any, currency: any, title: any, description: any, image: any): rxjs.Observable<any>;
984
984
  createBraintreeToken(): rxjs.Observable<any>;
985
- addPayment(paymentMethod: any, paidFor: any, subtotal: any, promoCode: any, total: any, currency: any, pmId: any, pmStatus: any, pmDetails: any): void;
985
+ addPayment(paymentMethod: any, planId: any, paidFor: any, subtotal: any, promoCode: any, total: any, currency: any, pmId: any, pmStatus: any, pmDetails: any): void;
986
986
  paymentSuccessful(stage: PaymentStage): void;
987
987
  paymentFailed(stage: PaymentStage): void;
988
988
  setPaymentProgress(stage: PaymentStage, paymentInProgress: any, isPaymentFailed: any): void;
@@ -997,6 +997,7 @@ declare class BraintreeDialog extends DialogBase {
997
997
  private ns;
998
998
  braintreeInstance: any;
999
999
  deviceData: any;
1000
+ planId: any;
1000
1001
  paidFor: any;
1001
1002
  title: any;
1002
1003
  description: any;
@@ -1011,7 +1012,7 @@ declare class BraintreeDialog extends DialogBase {
1011
1012
  onClose(): void;
1012
1013
  get visible(): boolean;
1013
1014
  static ɵfac: i0.ɵɵFactoryDeclaration<BraintreeDialog, never>;
1014
- static ɵcmp: i0.ɵɵComponentDeclaration<BraintreeDialog, "anatoly-billing-braintree-dialog", never, { "paidFor": { "alias": "paidFor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, never, false, never>;
1015
+ static ɵcmp: i0.ɵɵComponentDeclaration<BraintreeDialog, "anatoly-billing-braintree-dialog", never, { "planId": { "alias": "planId"; "required": false; }; "paidFor": { "alias": "paidFor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, never, false, never>;
1015
1016
  }
1016
1017
 
1017
1018
  interface IPayPalConfig {
@@ -1304,8 +1305,9 @@ declare class PaypalButtonComponent extends ComponentBase {
1304
1305
  private bs;
1305
1306
  private ps;
1306
1307
  payPalConfig?: IPayPalConfig;
1307
- paidForTitle: string;
1308
+ planId: any;
1308
1309
  paidFor: any;
1310
+ paidForTitle: string;
1309
1311
  constructor(bs: BillingService, ps: PaymentsService);
1310
1312
  ngOnInit(): void;
1311
1313
  private setDefaults;
@@ -1313,7 +1315,7 @@ declare class PaypalButtonComponent extends ComponentBase {
1313
1315
  private initPayPal;
1314
1316
  get visible(): boolean;
1315
1317
  static ɵfac: i0.ɵɵFactoryDeclaration<PaypalButtonComponent, never>;
1316
- static ɵcmp: i0.ɵɵComponentDeclaration<PaypalButtonComponent, "anatoly-billing-paypal-button", never, { "paidForTitle": { "alias": "paidForTitle"; "required": false; }; "paidFor": { "alias": "paidFor"; "required": false; }; }, {}, never, never, false, never>;
1318
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaypalButtonComponent, "anatoly-billing-paypal-button", never, { "planId": { "alias": "planId"; "required": false; }; "paidFor": { "alias": "paidFor"; "required": false; }; "paidForTitle": { "alias": "paidForTitle"; "required": false; }; }, {}, never, never, false, never>;
1317
1319
  }
1318
1320
 
1319
1321
  declare class PaypalSubscribeButtonComponent extends ComponentBase {
@@ -1402,6 +1404,7 @@ declare class StripeDialog extends DialogBase {
1402
1404
  stripe: any;
1403
1405
  stripeCheckout: any;
1404
1406
  sessionId: any;
1407
+ planId: any;
1405
1408
  paidFor: any;
1406
1409
  title: any;
1407
1410
  description: any;
@@ -1413,7 +1416,7 @@ declare class StripeDialog extends DialogBase {
1413
1416
  onClose(): void;
1414
1417
  get visible(): boolean;
1415
1418
  static ɵfac: i0.ɵɵFactoryDeclaration<StripeDialog, never>;
1416
- static ɵcmp: i0.ɵɵComponentDeclaration<StripeDialog, "anatoly-billing-stripe-dialog", never, { "paidFor": { "alias": "paidFor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, never, false, never>;
1419
+ static ɵcmp: i0.ɵɵComponentDeclaration<StripeDialog, "anatoly-billing-stripe-dialog", never, { "planId": { "alias": "planId"; "required": false; }; "paidFor": { "alias": "paidFor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, never, false, never>;
1417
1420
  }
1418
1421
 
1419
1422
  declare class BillingUtils {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "3.20.37",
3
+ "version": "3.20.38",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.12",
6
6
  "@angular/core": "^20.3.12",