/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * The status of a user's ToS agreement * @export * @interface TermsOfServiceStatus */ export interface TermsOfServiceStatus { /** * The ID of the user. * @type {string} * @memberof TermsOfServiceStatus */ userId?: string; /** * The user's current ToS state defines what action if any they will need to take to meet ToS requirements. * @type {string} * @memberof TermsOfServiceStatus */ userCurrentTermsOfServiceState?: TermsOfServiceStatusUserCurrentTermsOfServiceStateEnum; /** * The date/time when the user last agreed to the ToS. Will be null if the user has never agreed to the ToS. * @type {string} * @memberof TermsOfServiceStatus */ lastAgreementDate?: string; /** * The version of ToS that the user last agreed to. Will be null if the user has never agreed to the ToS. * @type {string} * @memberof TermsOfServiceStatus */ lastAgreementVersion?: string; } /** * @export */ export declare const TermsOfServiceStatusUserCurrentTermsOfServiceStateEnum: { readonly MUST_AGREE_NOW: "MUST_AGREE_NOW"; readonly MUST_AGREE_SOON: "MUST_AGREE_SOON"; readonly UP_TO_DATE: "UP_TO_DATE"; }; export type TermsOfServiceStatusUserCurrentTermsOfServiceStateEnum = typeof TermsOfServiceStatusUserCurrentTermsOfServiceStateEnum[keyof typeof TermsOfServiceStatusUserCurrentTermsOfServiceStateEnum]; /** * Check if a given object implements the TermsOfServiceStatus interface. */ export declare function instanceOfTermsOfServiceStatus(value: object): value is TermsOfServiceStatus; export declare function TermsOfServiceStatusFromJSON(json: any): TermsOfServiceStatus; export declare function TermsOfServiceStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): TermsOfServiceStatus; export declare function TermsOfServiceStatusToJSON(json: any): TermsOfServiceStatus; export declare function TermsOfServiceStatusToJSONTyped(value?: TermsOfServiceStatus | null, ignoreDiscriminator?: boolean): any;