fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
199 lines • 4.11 kB
TypeScript
/**
* fastcomments
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { APIDomainConfiguration } from './APIDomainConfiguration';
import type { BillingInfo } from './BillingInfo';
/**
*
* @export
* @interface APITenant
*/
export interface APITenant {
/**
*
* @type {string}
* @memberof APITenant
*/
id: string;
/**
*
* @type {string}
* @memberof APITenant
*/
name: string;
/**
*
* @type {string}
* @memberof APITenant
*/
email?: string;
/**
*
* @type {number}
* @memberof APITenant
*/
signUpDate: number;
/**
*
* @type {string}
* @memberof APITenant
*/
packageId: string;
/**
*
* @type {number}
* @memberof APITenant
*/
paymentFrequency: number;
/**
*
* @type {boolean}
* @memberof APITenant
*/
billingInfoValid: boolean;
/**
*
* @type {boolean}
* @memberof APITenant
*/
billingHandledExternally?: boolean;
/**
*
* @type {string}
* @memberof APITenant
*/
createdBy: string;
/**
*
* @type {boolean}
* @memberof APITenant
*/
isSetup: boolean;
/**
*
* @type {Array<APIDomainConfiguration>}
* @memberof APITenant
*/
domainConfiguration: Array<APIDomainConfiguration>;
/**
*
* @type {BillingInfo}
* @memberof APITenant
*/
billingInfo?: BillingInfo;
/**
*
* @type {string}
* @memberof APITenant
*/
stripeCustomerId?: string;
/**
*
* @type {string}
* @memberof APITenant
*/
stripeSubscriptionId?: string;
/**
*
* @type {string}
* @memberof APITenant
*/
stripePlanId?: string;
/**
*
* @type {boolean}
* @memberof APITenant
*/
enableProfanityFilter: boolean;
/**
*
* @type {boolean}
* @memberof APITenant
*/
enableSpamFilter: boolean;
/**
*
* @type {Date}
* @memberof APITenant
*/
lastBillingIssueReminderDate?: Date;
/**
*
* @type {boolean}
* @memberof APITenant
*/
removeUnverifiedComments?: boolean;
/**
*
* @type {number}
* @memberof APITenant
*/
unverifiedCommentsTTLms?: number | null;
/**
*
* @type {boolean}
* @memberof APITenant
*/
commentsRequireApproval?: boolean;
/**
*
* @type {boolean}
* @memberof APITenant
*/
autoApproveCommentOnVerification?: boolean;
/**
*
* @type {boolean}
* @memberof APITenant
*/
sendProfaneToSpam?: boolean;
/**
*
* @type {boolean}
* @memberof APITenant
*/
hasFlexPricing?: boolean;
/**
*
* @type {boolean}
* @memberof APITenant
*/
hasAuditing?: boolean;
/**
*
* @type {number}
* @memberof APITenant
*/
flexLastBilledAmount?: number;
/**
*
* @type {number}
* @memberof APITenant
*/
deAnonIpAddr?: number;
/**
* Construct a type with a set of properties K of type T
* @type {{ [key: string]: string; }}
* @memberof APITenant
*/
meta?: {
[key: string]: string;
};
}
/**
* Check if a given object implements the APITenant interface.
*/
export declare function instanceOfAPITenant(value: object): value is APITenant;
export declare function APITenantFromJSON(json: any): APITenant;
export declare function APITenantFromJSONTyped(json: any, ignoreDiscriminator: boolean): APITenant;
export declare function APITenantToJSON(json: any): APITenant;
export declare function APITenantToJSONTyped(value?: APITenant | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=APITenant.d.ts.map