@osovitny/anatoly 3.17.107 → 3.17.110

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.
@@ -21,8 +21,9 @@ export * from './services/billing/currencies-api.service';
21
21
  export * from './services/billing/currencies-storage.service';
22
22
  export * from './services/billing/discountcodes-api.service';
23
23
  export * from './services/billing/payments-api.service';
24
+ export * from './services/billing/subscriptions-api.service';
24
25
  export * from './services/billing/transactions-api.service';
25
26
  //services
26
27
  export * from './services/core-api.service';
27
28
  export * from './services/emails-api.service';
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi9kYXRhL2V4cG9ydHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7RUFhRTtBQUVGLE1BQU07QUFDTixjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYywrQkFBK0IsQ0FBQztBQUU5QyxrQkFBa0I7QUFDbEIsY0FBYywyQ0FBMkMsQ0FBQztBQUMxRCxjQUFjLCtDQUErQyxDQUFDO0FBQzlELGNBQWMsOENBQThDLENBQUM7QUFDN0QsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLDZDQUE2QyxDQUFDO0FBRTVELFVBQVU7QUFDVixjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsK0JBQStCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG48ZmlsZT5cclxuICBQcm9qZWN0OlxyXG4gICAgQG9zb3ZpdG55L2FuYXRvbHlcclxuXHJcbiAgQXV0aG9yczpcclxuICAgIEFuYXRvbHkgT3Nvdml0bnkgYW5hdG9seS5vc292a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9ydCAqIGZyb20gJy4vYmFzZS9ncmlkL2dyaWQtZWRpdC5zZXJ2aWNlJztcclxuXHJcbi8vc2VydmljZXMvYmlsbGluZ1xyXG5leHBvcnQgKiBmcm9tICcuL3NlcnZpY2VzL2JpbGxpbmcvY3VycmVuY2llcy1hcGkuc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc2VydmljZXMvYmlsbGluZy9jdXJyZW5jaWVzLXN0b3JhZ2Uuc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc2VydmljZXMvYmlsbGluZy9kaXNjb3VudGNvZGVzLWFwaS5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9iaWxsaW5nL3BheW1lbnRzLWFwaS5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9iaWxsaW5nL3N1YnNjcmlwdGlvbnMtYXBpLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NlcnZpY2VzL2JpbGxpbmcvdHJhbnNhY3Rpb25zLWFwaS5zZXJ2aWNlJztcclxuXHJcbi8vc2VydmljZXNcclxuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9jb3JlLWFwaS5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9lbWFpbHMtYXBpLnNlcnZpY2UnO1xyXG4iXX0=
@@ -5803,6 +5803,49 @@ class CurrenciesStorageService {
5803
5803
  type: Injectable
5804
5804
  }], () => [{ type: AppContextService }, { type: CurrenciesApiService }], null); })();
5805
5805
 
5806
+ /*
5807
+ <file>
5808
+ Project:
5809
+ @osovitny/anatoly
5810
+
5811
+ Authors:
5812
+ Vadim Osovitny vadim.osovitny@osovitny.com
5813
+
5814
+ Created:
5815
+ 10 Nov 2024
5816
+
5817
+ Copyright (c) 2017-2025 Osovitny Inc. All rights reserved.
5818
+ </file>
5819
+ */
5820
+ //Node
5821
+ class SubscriptionsApiService extends ApiServiceBase {
5822
+ constructor(http) {
5823
+ super(http);
5824
+ this.http = http;
5825
+ this.baseUrl = `${ApiUrl}/billing/subscriptions`;
5826
+ }
5827
+ getSubscriptions(data) {
5828
+ return this.get('getSubscriptions', data);
5829
+ }
5830
+ addSubscription(billingPlan, currentSubscriptionId, newSubscriptionId, success, error) {
5831
+ this.post('addSubscription', { billingPlan, currentSubscriptionId, newSubscriptionId }).subscribe({
5832
+ next: (data) => {
5833
+ if (success)
5834
+ success(data);
5835
+ },
5836
+ error: (e) => {
5837
+ if (error)
5838
+ error(e);
5839
+ }
5840
+ });
5841
+ }
5842
+ static { this.ɵfac = function SubscriptionsApiService_Factory(t) { return new (t || SubscriptionsApiService)(i0.ɵɵinject(i1$1.HttpClient)); }; }
5843
+ static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SubscriptionsApiService, factory: SubscriptionsApiService.ɵfac }); }
5844
+ }
5845
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscriptionsApiService, [{
5846
+ type: Injectable
5847
+ }], () => [{ type: i1$1.HttpClient }], null); })();
5848
+
5806
5849
  /*
5807
5850
  <file>
5808
5851
  Project:
@@ -9453,49 +9496,6 @@ class AnatolyCoreModule {
9453
9496
  LocalizationSettingsModule,
9454
9497
  LocalizationModule] }); })();
9455
9498
 
9456
- /*
9457
- <file>
9458
- Project:
9459
- @osovitny/anatoly
9460
-
9461
- Authors:
9462
- Vadim Osovitny vadim.osovitny@osovitny.com
9463
-
9464
- Created:
9465
- 10 Nov 2024
9466
-
9467
- Copyright (c) 2017-2025 Osovitny Inc. All rights reserved.
9468
- </file>
9469
- */
9470
- //Node
9471
- class SubscriptionsApiService extends ApiServiceBase {
9472
- constructor(http) {
9473
- super(http);
9474
- this.http = http;
9475
- this.baseUrl = `${ApiUrl}/billing/subscriptions`;
9476
- }
9477
- getSubscriptions(data) {
9478
- return this.get('getSubscriptions', data);
9479
- }
9480
- addSubscription(billingPlan, currentSubscriptionId, newSubscriptionId, success, error) {
9481
- this.post('addSubscription', { billingPlan, currentSubscriptionId, newSubscriptionId }).subscribe({
9482
- next: (data) => {
9483
- if (success)
9484
- success(data);
9485
- },
9486
- error: (e) => {
9487
- if (error)
9488
- error(e);
9489
- }
9490
- });
9491
- }
9492
- static { this.ɵfac = function SubscriptionsApiService_Factory(t) { return new (t || SubscriptionsApiService)(i0.ɵɵinject(i1$1.HttpClient)); }; }
9493
- static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SubscriptionsApiService, factory: SubscriptionsApiService.ɵfac }); }
9494
- }
9495
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscriptionsApiService, [{
9496
- type: Injectable
9497
- }], () => [{ type: i1$1.HttpClient }], null); })();
9498
-
9499
9499
  /*
9500
9500
  <file>
9501
9501
  Project:
@@ -10476,5 +10476,5 @@ class AnatolyModule {
10476
10476
  * Generated bundle index. Do not edit.
10477
10477
  */
10478
10478
 
10479
- export { AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, BillingUtils, BraintreeDialog, Browser, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, DiscountCodesApiService, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FeatureWillBeReadyComponent, FileSizePipe, FormValidationSummaryComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoServiceBase, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10NUrl, L10nUtils, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, MSALUtils, ModerationStatus, ModerationStatusDropdownlist, NativeElementDirective, NoMobileSupportComponent, NodataComponent, NotificationService, OrderSummaryComponent, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentMethodsComponent, PaymentOptionsComponent, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, PublishStatus, PublishStatusDropdownlist, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, getAppSettingsById, getAppSettingsByName, is, localizationInitializerFactory, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
10479
+ export { AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, BillingUtils, BraintreeDialog, Browser, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, DiscountCodesApiService, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FeatureWillBeReadyComponent, FileSizePipe, FormValidationSummaryComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoServiceBase, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10NUrl, L10nUtils, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, MSALUtils, ModerationStatus, ModerationStatusDropdownlist, NativeElementDirective, NoMobileSupportComponent, NodataComponent, NotificationService, OrderSummaryComponent, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentMethodsComponent, PaymentOptionsComponent, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, PublishStatus, PublishStatusDropdownlist, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, SubscriptionsApiService, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, getAppSettingsById, getAppSettingsByName, is, localizationInitializerFactory, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
10480
10480
  //# sourceMappingURL=osovitny-anatoly.mjs.map