UNPKG

@ringer-tel/ivy

Version:
67 lines (56 loc) 2.1 kB
/* tslint:disable */ /* eslint-disable */ /** * Ringer Business API * This API provides comprehensive endpoints for the Ringer Business system. It includes functionality for managing customer accounts, addresses, sites, phone numbers, payments, users, and other business resources. Operations typically require authentication and appropriate permissions. * * The version of the OpenAPI document: 1.0.5 * Contact: support@ringer.tel * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * Contains the token needed to confirm a user account. * @export * @interface ConfirmationRequest */ export interface ConfirmationRequest { /** * The unique token sent to the user after registration, used to verify and activate their account. * @type {string} * @memberof ConfirmationRequest */ confirmationToken: string; } /** * Check if a given object implements the ConfirmationRequest interface. */ export function instanceOfConfirmationRequest(value: object): value is ConfirmationRequest { if (!('confirmationToken' in value) || value['confirmationToken'] === undefined) return false; return true; } export function ConfirmationRequestFromJSON(json: any): ConfirmationRequest { return ConfirmationRequestFromJSONTyped(json, false); } export function ConfirmationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfirmationRequest { if (json == null) { return json; } return { 'confirmationToken': json['confirmation_token'], }; } export function ConfirmationRequestToJSON(json: any): ConfirmationRequest { return ConfirmationRequestToJSONTyped(json, false); } export function ConfirmationRequestToJSONTyped(value?: ConfirmationRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'confirmation_token': value['confirmationToken'], }; }