UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

52 lines (51 loc) 1.5 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * OpenPay API * super charge your subscription management. * * The version of the OpenAPI document: 1.2.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.GenericListMode = void 0; exports.instanceOfGenericListMode = instanceOfGenericListMode; exports.GenericListModeFromJSON = GenericListModeFromJSON; exports.GenericListModeFromJSONTyped = GenericListModeFromJSONTyped; exports.GenericListModeToJSON = GenericListModeToJSON; exports.GenericListModeToJSONTyped = GenericListModeToJSONTyped; /** * * @export */ exports.GenericListMode = { Allowlist: 'allowlist', Denylist: 'denylist' }; function instanceOfGenericListMode(value) { for (const key in exports.GenericListMode) { if (Object.prototype.hasOwnProperty.call(exports.GenericListMode, key)) { if (exports.GenericListMode[key] === value) { return true; } } } return false; } function GenericListModeFromJSON(json) { return GenericListModeFromJSONTyped(json, false); } function GenericListModeFromJSONTyped(json, ignoreDiscriminator) { return json; } function GenericListModeToJSON(value) { return value; } function GenericListModeToJSONTyped(value, ignoreDiscriminator) { return value; }