UNPKG

digitalfemsa

Version:
73 lines (72 loc) 1.96 kB
/** * Femsa API * Femsa sdk * * The version of the OpenAPI document: 2.1.0 * Contact: engineering@femsa.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CompanyFiscalInfoResponse } from './company-fiscal-info-response'; import { CompanyPayoutDestinationResponse } from './company-payout-destination-response'; /** * Company model * @export * @interface CompanyResponse */ export interface CompanyResponse { /** * The child company\'s unique identifier * @type {string} * @memberof CompanyResponse */ 'id'?: string; /** * The resource\'s creation date (unix timestamp) * @type {number} * @memberof CompanyResponse */ 'created_at'?: number; /** * The child company\'s name * @type {string} * @memberof CompanyResponse */ 'name'?: string; /** * The resource\'s type * @type {string} * @memberof CompanyResponse */ 'object'?: CompanyResponseObjectEnum; /** * Id of the parent company * @type {string} * @memberof CompanyResponse */ 'parent_company_id'?: string; /** * Whether the parent company\'s fiscal data is to be used for liquidation and tax purposes * @type {boolean} * @memberof CompanyResponse */ 'use_parent_fiscal_data'?: boolean; /** * * @type {CompanyPayoutDestinationResponse} * @memberof CompanyResponse */ 'payout_destination'?: CompanyPayoutDestinationResponse; /** * * @type {CompanyFiscalInfoResponse} * @memberof CompanyResponse */ 'fiscal_info'?: CompanyFiscalInfoResponse; } export declare const CompanyResponseObjectEnum: { readonly company: "company"; }; export type CompanyResponseObjectEnum = typeof CompanyResponseObjectEnum[keyof typeof CompanyResponseObjectEnum];