UNPKG

@maxio-com/advanced-billing-sdk

Version:

Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.

39 lines (35 loc) 1.08 kB
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { expandoObject, nullable, number, optional, Schema, string, } from '../schema.js'; export interface ProductFamily { id?: number; name?: string; handle?: string; accountingCode?: string | null; description?: string | null; createdAt?: string; updatedAt?: string; /** Timestamp indicating when this product family was archived. `null` if the product family is not archived. */ archivedAt?: string | null; [key: string]: unknown; } export const productFamilySchema: Schema<ProductFamily> = expandoObject({ id: ['id', optional(number())], name: ['name', optional(string())], handle: ['handle', optional(string())], accountingCode: ['accounting_code', optional(nullable(string()))], description: ['description', optional(nullable(string()))], createdAt: ['created_at', optional(string())], updatedAt: ['updated_at', optional(string())], archivedAt: ['archived_at', optional(nullable(string()))], });