{ "version": 3, "sources": ["libs/partner-center-client/billing/static/src/lib/core/config.ts"], "sourcesContent": ["import { InjectionToken } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport type { BrandingV2Interface } from '@vendasta/partner';\nimport type { User } from '@vendasta/iamv2';\n\nexport interface PartnerCenterBillingConfig {\n merchantId$: Observable;\n customerService: CustomerService;\n merchantService: MerchantService;\n}\n\nexport interface MerchantService {\n getBranding(): Observable>;\n}\n\nexport type CustomerUser = Pick;\n\nexport interface CustomerService {\n getCustomer(customerId: string): Observable<{ name: string }>;\n getUsers(customerId: string): Observable;\n}\n\nexport interface PaymentMethodConfig {\n merchantId: string;\n customerId: string;\n stripeKey: string;\n stripeConnectId: string;\n}\n\nexport const PARTNER_CENTER_BILLING_CONFIG_TOKEN = new InjectionToken(\n '[Partner Center Billing]: Token for config',\n);\n"], "mappings": "yCA6BO,IAAMA,EAAsC,IAAIC,EACrD,4CAA4C", "names": ["PARTNER_CENTER_BILLING_CONFIG_TOKEN", "InjectionToken"] }