/* tslint:disable */ /* eslint-disable */ /** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.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 { mapValues } from '../runtime'; import type { IntegrationInstallationFlow } from './IntegrationInstallationFlow'; import { IntegrationInstallationFlowFromJSON, IntegrationInstallationFlowFromJSONTyped, IntegrationInstallationFlowToJSON, IntegrationInstallationFlowToJSONTyped, } from './IntegrationInstallationFlow'; /** * * @export * @interface StoreListingIntegrationDataInstallation */ export interface StoreListingIntegrationDataInstallation { /** * * @type {boolean} * @memberof StoreListingIntegrationDataInstallation */ 'availableSoon'?: boolean; /** * * @type {IntegrationInstallationFlow} * @memberof StoreListingIntegrationDataInstallation */ 'installationFlow'?: IntegrationInstallationFlow; /** * * @type {boolean} * @memberof StoreListingIntegrationDataInstallation */ 'showPrivacyConfirmation'?: boolean; /** * * @type {boolean} * @memberof StoreListingIntegrationDataInstallation */ 'showAiUsageWarning'?: boolean; /** * * @type {boolean} * @memberof StoreListingIntegrationDataInstallation */ 'multipleInstallationsAllowed'?: boolean; } /** * Check if a given object implements the StoreListingIntegrationDataInstallation interface. */ export function instanceOfStoreListingIntegrationDataInstallation(value: object): value is StoreListingIntegrationDataInstallation { return true; } export function StoreListingIntegrationDataInstallationFromJSON(json: any): StoreListingIntegrationDataInstallation { return StoreListingIntegrationDataInstallationFromJSONTyped(json, false); } export function StoreListingIntegrationDataInstallationFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreListingIntegrationDataInstallation { if (json == null) { return json; } const result = { } as StoreListingIntegrationDataInstallation; if (json['availableSoon'] !== undefined) { result['availableSoon'] = json['availableSoon']; } if (json['installationFlow'] !== undefined) { result['installationFlow'] = IntegrationInstallationFlowFromJSON(json['installationFlow']); } if (json['showPrivacyConfirmation'] !== undefined) { result['showPrivacyConfirmation'] = json['showPrivacyConfirmation']; } if (json['showAiUsageWarning'] !== undefined) { result['showAiUsageWarning'] = json['showAiUsageWarning']; } if (json['multipleInstallationsAllowed'] !== undefined) { result['multipleInstallationsAllowed'] = json['multipleInstallationsAllowed']; } return result; } export function StoreListingIntegrationDataInstallationToJSON(json: any): StoreListingIntegrationDataInstallation { return StoreListingIntegrationDataInstallationToJSONTyped(json, false); } export function StoreListingIntegrationDataInstallationToJSONTyped(value?: StoreListingIntegrationDataInstallation | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'availableSoon': value['availableSoon'], 'installationFlow': IntegrationInstallationFlowToJSON(value['installationFlow']), 'showPrivacyConfirmation': value['showPrivacyConfirmation'], 'showAiUsageWarning': value['showAiUsageWarning'], 'multipleInstallationsAllowed': value['multipleInstallationsAllowed'], }; }