/* 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. */ /** * * @export */ export const StoreListingPermission = { StorageRead: 'STORAGE_READ', StorageWrite: 'STORAGE_WRITE', AssistantAccess: 'ASSISTANT_ACCESS' } as const; export type StoreListingPermission = typeof StoreListingPermission[keyof typeof StoreListingPermission]; export function instanceOfStoreListingPermission(value: any): boolean { for (const key in StoreListingPermission) { if (Object.prototype.hasOwnProperty.call(StoreListingPermission, key)) { if (StoreListingPermission[key as keyof typeof StoreListingPermission] === value) { return true; } } } return false; } export function StoreListingPermissionFromJSON(json: any): StoreListingPermission { return StoreListingPermissionFromJSONTyped(json, false); } export function StoreListingPermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreListingPermission { return json as StoreListingPermission; } export function StoreListingPermissionToJSON(value?: StoreListingPermission | null): any { return value as any; } export function StoreListingPermissionToJSONTyped(value: any, ignoreDiscriminator: boolean): StoreListingPermission { return value as StoreListingPermission; }