@rolatech/angular-services 20.3.2-beta.3 → 20.3.2-beta.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.
@@ -5507,6 +5507,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
5507
5507
  }]
5508
5508
  }] });
5509
5509
 
5510
+ class BillingProfileService extends BaseService {
5511
+ init() {
5512
+ this.endpoint = 'billing/profile';
5513
+ super.init();
5514
+ }
5515
+ getOrCreate() {
5516
+ return this.http.get(this.actionUrl);
5517
+ }
5518
+ updateProfile(body) {
5519
+ return this.http.put(this.actionUrl, body);
5520
+ }
5521
+ patch(body) {
5522
+ return this.http.patch(this.actionUrl, body);
5523
+ }
5524
+ enable() {
5525
+ return this.http.patch(this.actionUrl, {
5526
+ enabled: true,
5527
+ });
5528
+ }
5529
+ disable() {
5530
+ return this.http.patch(this.actionUrl, {
5531
+ enabled: false,
5532
+ });
5533
+ }
5534
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BillingProfileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
5535
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BillingProfileService, providedIn: 'root' });
5536
+ }
5537
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BillingProfileService, decorators: [{
5538
+ type: Injectable,
5539
+ args: [{
5540
+ providedIn: 'root',
5541
+ }]
5542
+ }] });
5543
+
5510
5544
  class LoadingInterceptor {
5511
5545
  loadingService = inject(LoadingService);
5512
5546
  activeRequests = 0;
@@ -5774,5 +5808,5 @@ function onboardingVatModeLabel(mode) {
5774
5808
  * Generated bundle index. Do not edit.
5775
5809
  */
5776
5810
 
5777
- export { AmenityService, ApplicationService, AutomationService, BackButtonDirective, BaseService, BillingService, BookingService, BreadcrumbService, CartEventType, CartService, CategoryService, ConversationInitService, ConversationService, DialogComponent, DialogService, EnumApiClient, EnumCacheService, FacilityService, FeatureService, FloorplanService, FulfillmentService, HideFooterDirective, I18nLocaleService, InventoryService, InvoiceLineService, InvoiceService, InvoiceStatsService, LanguageService, LayoutService, LoadingInterceptor, LoadingService, MediaService, MembershipService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, ONBOARDING_APPLICANT_TYPE_LABEL, ONBOARDING_DOCUMENT_TYPE_LABEL, ONBOARDING_ISSUE_TYPE_LABEL, ONBOARDING_STATUS_LABEL, ONBOARDING_VAT_MODE_LABEL, OfferingService, OnboardingAdminService, OnboardingApplicantService, OnboardingDocumentService, OrderPayoutService, OrderService, OrganizationInvitationService, OrganizationMemberService, PROPERTY_OFFER_STATUS_LABEL, PaymentService, PermissionService, PlatformAuthClientService, PlatformEndpointService, PlatformServiceRegistryService, PlatformUserService, PostService, ProductCategoryService, ProductService, PropertyHighlightsService, PropertyOfferCounterService, PropertyOfferService, PropertyOfferStatus, PropertySearchService, PropertyService, PropertyStatsService, PropertyViewingService, ResourceCategoryService, ResourceService, RoleService, SCHEDULE_CRON_META, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TimeZoneService, TitleService, acceptLanguageInterceptor, offerStatusLabel, onboardingApplicantTypeLabel, onboardingDocumentTypeLabel, onboardingIssueTypeLabel, onboardingStatusLabel, onboardingVatModeLabel, provideAngularServices };
5811
+ export { AmenityService, ApplicationService, AutomationService, BackButtonDirective, BaseService, BillingProfileService, BillingService, BookingService, BreadcrumbService, CartEventType, CartService, CategoryService, ConversationInitService, ConversationService, DialogComponent, DialogService, EnumApiClient, EnumCacheService, FacilityService, FeatureService, FloorplanService, FulfillmentService, HideFooterDirective, I18nLocaleService, InventoryService, InvoiceLineService, InvoiceService, InvoiceStatsService, LanguageService, LayoutService, LoadingInterceptor, LoadingService, MediaService, MembershipService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, ONBOARDING_APPLICANT_TYPE_LABEL, ONBOARDING_DOCUMENT_TYPE_LABEL, ONBOARDING_ISSUE_TYPE_LABEL, ONBOARDING_STATUS_LABEL, ONBOARDING_VAT_MODE_LABEL, OfferingService, OnboardingAdminService, OnboardingApplicantService, OnboardingDocumentService, OrderPayoutService, OrderService, OrganizationInvitationService, OrganizationMemberService, PROPERTY_OFFER_STATUS_LABEL, PaymentService, PermissionService, PlatformAuthClientService, PlatformEndpointService, PlatformServiceRegistryService, PlatformUserService, PostService, ProductCategoryService, ProductService, PropertyHighlightsService, PropertyOfferCounterService, PropertyOfferService, PropertyOfferStatus, PropertySearchService, PropertyService, PropertyStatsService, PropertyViewingService, ResourceCategoryService, ResourceService, RoleService, SCHEDULE_CRON_META, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TimeZoneService, TitleService, acceptLanguageInterceptor, offerStatusLabel, onboardingApplicantTypeLabel, onboardingDocumentTypeLabel, onboardingIssueTypeLabel, onboardingStatusLabel, onboardingVatModeLabel, provideAngularServices };
5778
5812
  //# sourceMappingURL=rolatech-angular-services.mjs.map