UNPKG

@unito/integration-cli

Version:

Integration CLI

52 lines (51 loc) 1.77 kB
"use strict"; /* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Format = exports.Type = exports.RequestContentType = exports.GrantType = exports.Method = void 0; /** * The method of authorization */ var Method; (function (Method) { Method["CUSTOM"] = "custom"; Method["OAUTH2"] = "oauth2"; })(Method || (exports.Method = Method = {})); /** * The type of grant of the OAuth 2 authorization. */ var GrantType; (function (GrantType) { GrantType["AUTHORIZATION_CODE"] = "authorization_code"; GrantType["PASSWORD"] = "password"; GrantType["CLIENT_CREDENTIALS"] = "client_credentials"; GrantType["JWT_BEARER"] = "urn:ietf:params:oauth:grant-type:jwt-bearer"; })(GrantType || (exports.GrantType = GrantType = {})); /** * The content type of exchanged information with the provider */ var RequestContentType; (function (RequestContentType) { RequestContentType["URL_ENCODED"] = "application/x-www-form-urlencoded"; RequestContentType["JSON"] = "application/json"; })(RequestContentType || (exports.RequestContentType = RequestContentType = {})); var Type; (function (Type) { Type["BOOLEAN"] = "boolean"; Type["NUMBER"] = "number"; Type["PASSWORD"] = "password"; Type["STRING"] = "string"; Type["TEXT"] = "text"; })(Type || (exports.Type = Type = {})); /** * The JSON Schema format that the value of the variable must comply to */ var Format; (function (Format) { Format["EMAIL"] = "email"; Format["URI"] = "uri"; })(Format || (exports.Format = Format = {}));