@apistudio/apim-cli
Version:
CLI for API Management Products
1,383 lines • 54.6 kB
TypeScript
declare namespace _default {
let rules: {
"invalid-kind-value-combined": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
functionOptions: {
schema: {
type: string;
enum: string[];
};
};
};
};
"kind-not-exist": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
};
};
"invalid-kind-value": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
functionOptions: {
schema: {
type: string;
enum: string[];
};
};
};
};
"invalid-kind-spl-character": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
functionOptions: {
match: string;
};
};
};
"invalid-api-version": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
functionOptions: {
schema: {
type: string;
enum: string[];
};
};
};
};
"api-version-not-exist": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
};
};
"metadata-not-exist": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
};
};
"metadata-whitelist-check": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
functionOptions: {
match: string;
};
};
};
"metadata-name-not-exist": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
};
};
"metadata-name-whitelist-check": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
functionOptions: {
match: string;
};
};
};
"metadata-version-not-exist": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
};
};
"metadata-version-whitelist-check": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
functionOptions: {
match: string;
};
};
};
"metadata-namespace-not-exist": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
};
};
"metadata-namespace-whitelist-check": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
functionOptions: {
match: string;
};
};
};
"spec-details-not-exist": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
};
};
"spec-details-whitelist-check": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
functionOptions: {
match: string;
};
};
};
"tags-not-exist": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
field: string;
function: string;
};
};
"invalid-tag-type": {
description: string;
severity: string;
given: string;
resolved: boolean;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-metadata-description-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-metadata-name-required": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"$-metadata-name-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-metadata-namespace-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-metadata-tags-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-metadata-tags-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-metadata-type-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-metadata-type-enum": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
enum: string[];
};
};
};
};
"$-metadata-version-required": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"$-metadata-version-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-metadata-labels-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-metadata-labels-gatewayTypes-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-metadata-labels-gatewayTypes-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
required: string[];
properties: {
basic: {
oneOf: ({
type: string;
required: string[];
properties: {
static: {
type: string;
required: string[];
properties: {
username: {
type: string;
};
password: {
type: string;
pattern: string;
description: string;
};
};
};
valueType: {
type: string;
enum: string[];
};
useIncoming?: undefined;
};
} | {
type: string;
required: string[];
properties: {
useIncoming: {
type: string;
};
static?: undefined;
valueType?: undefined;
};
})[];
};
message: {
type: string;
};
oAuth2?: undefined;
ntlm?: undefined;
jwt?: undefined;
kerberos?: undefined;
anonymous?: undefined;
};
} | {
required: string[];
properties: {
oAuth2: {
oneOf: ({
type: string;
required: string[];
properties: {
token: {
type: string;
pattern: string;
description: string;
};
useIncoming?: undefined;
};
} | {
type: string;
required: string[];
properties: {
useIncoming: {
type: string;
};
token?: undefined;
};
})[];
};
message: {
type: string;
};
basic?: undefined;
ntlm?: undefined;
jwt?: undefined;
kerberos?: undefined;
anonymous?: undefined;
};
} | {
required: string[];
properties: {
ntlm: {
oneOf: ({
type: string;
required: string[];
properties: {
static: {
type: string;
required: string[];
properties: {
username: {
type: string;
};
password: {
type: string;
pattern: string;
description: string;
};
};
};
useIncoming?: undefined;
transparent?: undefined;
};
} | {
type: string;
required: string[];
properties: {
useIncoming: {
type: string;
};
static?: undefined;
transparent?: undefined;
};
} | {
type: string;
required: string[];
properties: {
transparent: {
type: string;
additionalProperties: boolean;
};
static?: undefined;
useIncoming?: undefined;
};
})[];
};
message: {
type: string;
};
basic?: undefined;
oAuth2?: undefined;
jwt?: undefined;
kerberos?: undefined;
anonymous?: undefined;
};
} | {
required: string[];
properties: {
jwt: {
oneOf: {
type: string;
required: string[];
properties: {
useIncoming: {
type: string;
};
};
}[];
};
message: {
type: string;
};
basic?: undefined;
oAuth2?: undefined;
ntlm?: undefined;
kerberos?: undefined;
anonymous?: undefined;
};
} | {
required: string[];
properties: {
kerberos: {
oneOf: ({
type: string;
required: string[];
properties: {
useIncoming: {
type: string;
};
delegateIncomingCredentials?: undefined;
incomingHTTPBasicAuthCred?: undefined;
useCustomCredentials?: undefined;
};
} | {
type: string;
required: string[];
properties: {
delegateIncomingCredentials: {
type: string;
required: string[];
properties: {
clientPassword: {
type: string;
pattern: string;
description: string;
};
clientPrincipal: {
type: string;
};
servicePrincipal: {
type: string;
};
servicePrincipalNameform: {
type: string;
enum: string[];
};
};
};
useIncoming?: undefined;
incomingHTTPBasicAuthCred?: undefined;
useCustomCredentials?: undefined;
};
} | {
type: string;
required: string[];
properties: {
incomingHTTPBasicAuthCred: {
type: string;
required: string[];
properties: {
servicePrincipal: {
type: string;
};
servicePrincipalNameform: {
type: string;
enum: string[];
};
};
};
useIncoming?: undefined;
delegateIncomingCredentials?: undefined;
useCustomCredentials?: undefined;
};
} | {
type: string;
required: string[];
properties: {
useCustomCredentials: {
type: string;
required: string[];
properties: {
clientPassword: {
type: string;
pattern: string;
description: string;
};
clientPrincipal: {
type: string;
};
servicePrincipal: {
type: string;
};
servicePrincipalNameform: {
type: string;
enum: string[];
};
};
};
useIncoming?: undefined;
delegateIncomingCredentials?: undefined;
incomingHTTPBasicAuthCred?: undefined;
};
})[];
};
message: {
type: string;
};
basic?: undefined;
oAuth2?: undefined;
ntlm?: undefined;
jwt?: undefined;
anonymous?: undefined;
};
} | {
required: string[];
properties: {
anonymous: {
type: string;
};
message: {
type: string;
};
basic?: undefined;
oAuth2?: undefined;
ntlm?: undefined;
jwt?: undefined;
kerberos?: undefined;
};
})[];
};
};
};
};
"spec-basic-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
type: string;
required: string[];
properties: {
static: {
type: string;
required: string[];
properties: {
username: {
type: string;
};
password: {
type: string;
pattern: string;
description: string;
};
};
};
valueType: {
type: string;
enum: string[];
};
useIncoming?: undefined;
};
} | {
type: string;
required: string[];
properties: {
useIncoming: {
type: string;
};
static?: undefined;
valueType?: undefined;
};
})[];
};
};
};
};
"spec-basic-useIncoming-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-basic-static-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-basic-static-username-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-basic-static-password-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-basic-static-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-basic-valueType-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-basic-valueType-enum": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
enum: string[];
};
};
};
};
"$-spec-basic-useIncoming-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-message-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-oAuth2-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
type: string;
required: string[];
properties: {
token: {
type: string;
pattern: string;
description: string;
};
useIncoming?: undefined;
};
} | {
type: string;
required: string[];
properties: {
useIncoming: {
type: string;
};
token?: undefined;
};
})[];
};
};
};
};
"spec-oAuth2-useIncoming-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-oAuth2-token-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-oAuth2-token-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-oAuth2-useIncoming-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-ntlm-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
type: string;
required: string[];
properties: {
static: {
type: string;
required: string[];
properties: {
username: {
type: string;
};
password: {
type: string;
pattern: string;
description: string;
};
};
};
useIncoming?: undefined;
transparent?: undefined;
};
} | {
type: string;
required: string[];
properties: {
useIncoming: {
type: string;
};
static?: undefined;
transparent?: undefined;
};
} | {
type: string;
required: string[];
properties: {
transparent: {
type: string;
additionalProperties: boolean;
};
static?: undefined;
useIncoming?: undefined;
};
})[];
};
};
};
};
"spec-ntlm-useIncoming-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-ntlm-static-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-ntlm-static-username-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-ntlm-static-password-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-ntlm-static-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-ntlm-useIncoming-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-ntlm-transparent-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-ntlm-transparent-no-additional-properties": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
additionalProperties: boolean;
properties: {};
};
};
};
};
"$-spec-ntlm-transparent-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-jwt-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: {
type: string;
required: string[];
properties: {
useIncoming: {
type: string;
};
};
}[];
};
};
};
};
"spec-jwt-useIncoming-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-jwt-useIncoming-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-kerberos-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
type: string;
required: string[];
properties: {
useIncoming: {
type: string;
};
delegateIncomingCredentials?: undefined;
incomingHTTPBasicAuthCred?: undefined;
useCustomCredentials?: undefined;
};
} | {
type: string;
required: string[];
properties: {
delegateIncomingCredentials: {
type: string;
required: string[];
properties: {
clientPassword: {
type: string;
pattern: string;
description: string;
};
clientPrincipal: {
type: string;
};
servicePrincipal: {
type: string;
};
servicePrincipalNameform: {
type: string;
enum: string[];
};
};
};
useIncoming?: undefined;
incomingHTTPBasicAuthCred?: undefined;
useCustomCredentials?: undefined;
};
} | {
type: string;
required: string[];
properties: {
incomingHTTPBasicAuthCred: {
type: string;
required: string[];
properties: {
servicePrincipal: {
type: string;
};
servicePrincipalNameform: {
type: string;
enum: string[];
};
};
};
useIncoming?: undefined;
delegateIncomingCredentials?: undefined;
useCustomCredentials?: undefined;
};
} | {
type: string;
required: string[];
properties: {
useCustomCredentials: {
type: string;
required: string[];
properties: {
clientPassword: {
type: string;
pattern: string;
description: string;
};
clientPrincipal: {
type: string;
};
servicePrincipal: {
type: string;
};
servicePrincipalNameform: {
type: string;
enum: string[];
};
};
};
useIncoming?: undefined;
delegateIncomingCredentials?: undefined;
incomingHTTPBasicAuthCred?: undefined;
};
})[];
};
};
};
};
"spec-kerberos-useIncoming-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-kerberos-useIncoming-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-kerberos-delegateIncomingCredentials-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-kerberos-delegateIncomingCredentials-clientPassword-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-kerberos-delegateIncomingCredentials-clientPrincipal-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-kerberos-delegateIncomingCredentials-servicePrincipal-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-kerberos-delegateIncomingCredentials-servicePrincipalNameform-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-kerberos-delegateIncomingCredentials-servicePrincipalNameform-enum": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
enum: string[];
};
};
};
};
"$-spec-kerberos-delegateIncomingCredentials-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-kerberos-incomingHTTPBasicAuthCred-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-kerberos-incomingHTTPBasicAuthCred-servicePrincipal-type": {
descripti