( type: PurchaseType, )
| 190 | `; |
| 191 | |
| 192 | export const fetchPricingMetadata = async ( |
| 193 | type: PurchaseType, |
| 194 | ): Promise<ProductPricingMetadata[]> => { |
| 195 | const { pricingMetadata } = await gqlClient.request<{ |
| 196 | pricingMetadata: ProductPricingMetadata[]; |
| 197 | }>(PRICING_METADATA_QUERY, { type }); |
| 198 | |
| 199 | return pricingMetadata; |
| 200 | }; |
| 201 | |
| 202 | export enum PricingCaptionColor { |
| 203 | Success = 'success', |
no outgoing calls
no test coverage detected