/* tslint:disable */ /* eslint-disable */ /** * Credify API doc version 2 * API documentations version 2. * * The version of the OpenAPI document: 1.0.0-oas3 * Contact: dev@credify.one * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { IntentOffer } from './intent-offer'; import { OrderCreationRequest } from './order-creation-request'; import { PublicOrganizationCore } from './public-organization-core'; import { ServiceInfo } from './service-info'; import { UserInfo } from './user-info'; /** * * @export * @interface Intent */ export interface Intent { /** * Type of the intent. * @type {string} * @memberof Intent */ 'type'?: IntentTypeEnum; /** * * @type {OrderCreationRequest} * @memberof Intent */ 'bnplOrder'?: OrderCreationRequest; /** * * @type {IntentOffer} * @memberof Intent */ 'offer'?: IntentOffer; /** * * @type {UserInfo} * @memberof Intent */ 'user'?: UserInfo; /** * * @type {ServiceInfo} * @memberof Intent */ 'service'?: ServiceInfo; /** * * @type {PublicOrganizationCore} * @memberof Intent */ 'market'?: PublicOrganizationCore; /** * * @type {string} * @memberof Intent */ 'createdAt'?: string; } export const IntentTypeEnum = { BNPL: 'BNPL', OFFER: 'OFFER' } as const; export type IntentTypeEnum = typeof IntentTypeEnum[keyof typeof IntentTypeEnum];