@apistudio/apim-cli
Version:
CLI for API Management Products
1,486 lines (1,485 loc) • 52.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: ({
type: string;
required: string[];
properties: {
messageBody: {
type: string;
required: string[];
properties: {
messageName: {
type: string;
};
jsonataTransforms: {
type: string;
items: {
type: string;
properties: {
capture: {
type: string;
};
transform: {
type: string;
};
};
};
};
};
};
messageHeader?: undefined;
messageUriQuery?: undefined;
messageUriPath?: undefined;
variable?: undefined;
distributedVariable?: undefined;
telemetry?: undefined;
};
} | {
type: string;
required: string[];
properties: {
messageHeader: {
type: string;
required: string[];
properties: {
messageName: {
type: string;
};
jsonataTransforms: {
type: string;
items: {
type: string;
required: string[];
properties: {
headerNames: {
type: string;
items: {
type: string;
};
};
transform: {
type: string;
};
};
};
};
};
};
messageBody?: undefined;
messageUriQuery?: undefined;
messageUriPath?: undefined;
variable?: undefined;
distributedVariable?: undefined;
telemetry?: undefined;
};
} | {
type: string;
required: string[];
properties: {
messageUriQuery: {
type: string;
required: string[];
properties: {
messageName: {
type: string;
};
jsonataTransforms: {
type: string;
items: {
type: string;
required: string[];
properties: {
queryNames: {
type: string;
items: {
type: string;
};
};
action: {
type: string;
enum: string[];
};
transform: {
type: string;
};
};
};
};
};
};
messageBody?: undefined;
messageHeader?: undefined;
messageUriPath?: undefined;
variable?: undefined;
distributedVariable?: undefined;
telemetry?: undefined;
};
} | {
type: string;
required: string[];
properties: {
messageUriPath: {
type: string;
required: string[];
properties: {
messageName: {
type: string;
};
jsonataTransforms: {
oneOf: ({
type: string;
items?: undefined;
} | {
type: string;
items: {
type: string;
properties: {
capture: {
type: string;
};
transform: {
type: string;
};
};
};
})[];
};
};
};
messageBody?: undefined;
messageHeader?: undefined;
messageUriQuery?: undefined;
variable?: undefined;
distributedVariable?: undefined;
telemetry?: undefined;
};
} | {
type: string;
required: string[];
properties: {
variable: {
type: string;
required: string[];
properties: {
name: {
type: string;
};
jsonataTransforms: {
type: string;
items: {
type: string;
properties: {
capture: {
type: string;
};
transform: {
type: string;
};
};
};
};
};
};
messageBody?: undefined;
messageHeader?: undefined;
messageUriQuery?: undefined;
messageUriPath?: undefined;
distributedVariable?: undefined;
telemetry?: undefined;
};
} | {
type: string;
required: string[];
properties: {
distributedVariable: {
type: string;
required: string[];
properties: {
name: {
type: string;
};
expireIn: {
type: string;
description: string;
};
jsonataTransforms: {
type: string;
items: {
type: string;
properties: {
capture: {
type: string;
};
transform: {
type: string;
};
};
};
};
};
};
messageBody?: undefined;
messageHeader?: undefined;
messageUriQuery?: undefined;
messageUriPath?: undefined;
variable?: undefined;
telemetry?: undefined;
};
} | {
type: string;
required: string[];
properties: {
telemetry: {
type: string;
required: string[];
properties: {
keys: {
type: string;
properties: {
keyLiterals: {
type: string;
items: {
type: string;
};
};
};
};
span: {
oneOf: ({
type: string;
enum: string[];
properties?: undefined;
} | {
type: string;
properties: {
policySpan: {
type: string;
};
httpSpan: {
type: string;
};
};
enum?: undefined;
})[];
};
jsonataTransforms: {
type: string;
items: {
type: string;
properties: {
capture: {
type: string;
};
transform: {
type: string;
};
};
};
};
};
};
messageBody?: undefined;
messageHeader?: undefined;
messageUriQuery?: undefined;
messageUriPath?: undefined;
variable?: undefined;
distributedVariable?: undefined;
};
})[];
};
};
};
};
"spec-messageBody-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageBody-messageName-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageBody-jsonataTransforms-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageBody-jsonataTransforms-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageBody-jsonataTransforms[*]-capture-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageBody-jsonataTransforms[*]-transform-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"type:$.spec.messageBody.jsonataTransforms[*].capture:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"type:$.spec.messageBody.jsonataTransforms[*].transform:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-messageHeader-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageHeader-messageName-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageHeader-jsonataTransforms-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageHeader-jsonataTransforms-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageHeader-jsonataTransforms[*]-headerNames-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageHeader-jsonataTransforms[*]-headerNames-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageHeader-jsonataTransforms[*]-transform-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.messageHeader.jsonataTransforms[*]:headerNames": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.messageHeader.jsonataTransforms[*].headerNames:array": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.messageHeader.jsonataTransforms[*]:transform": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.messageHeader.jsonataTransforms[*].transform:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-messageUriQuery-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUriQuery-messageName-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUriQuery-jsonataTransforms-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUriQuery-jsonataTransforms-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUriQuery-jsonataTransforms[*]-queryNames-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUriQuery-jsonataTransforms[*]-queryNames-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUriQuery-jsonataTransforms[*]-action-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUriQuery-jsonataTransforms[*]-action-enum": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
enum: string[];
};
};
};
};
"$-spec-messageUriQuery-jsonataTransforms[*]-transform-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.messageUriQuery.jsonataTransforms[*]:queryNames": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.messageUriQuery.jsonataTransforms[*].queryNames:array": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"required:$.spec.messageUriQuery.jsonataTransforms[*]:action": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.messageUriQuery.jsonataTransforms[*].action:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"enum:$.spec.messageUriQuery.jsonataTransforms[*].action:add,update,set": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
enum: string[];
};
};
};
};
"required:$.spec.messageUriQuery.jsonataTransforms[*]:transform": {
description: string;
severity: string;
given: string;
then: {
field: string;
function: string;
};
};
"type:$.spec.messageUriQuery.jsonataTransforms[*].transform:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-messageUriPath-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUriPath-messageName-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-messageUriPath-jsonataTransforms-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
type: string;
items?: undefined;
} | {
type: string;
items: {
type: string;
properties: {
capture: {
type: string;
};
transform: {
type: string;
};
};
};
})[];
};
};
};
};
"spec-variable-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-variable-name-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-variable-jsonataTransforms-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-variable-jsonataTransforms-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-variable-jsonataTransforms[*]-capture-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-variable-jsonataTransforms[*]-transform-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"type:$.spec.variable.jsonataTransforms[*].capture:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"type:$.spec.variable.jsonataTransforms[*].transform:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-distributedVariable-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-distributedVariable-name-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-distributedVariable-expireIn-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-distributedVariable-jsonataTransforms-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-distributedVariable-jsonataTransforms-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-distributedVariable-jsonataTransforms[*]-capture-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-distributedVariable-jsonataTransforms[*]-transform-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"type:$.spec.distributedVariable.jsonataTransforms[*].capture:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"type:$.spec.distributedVariable.jsonataTransforms[*].transform:string": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"spec-telemetry-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-telemetry-keys-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-telemetry-keys-keyLiterals-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-telemetry-keys-keyLiterals-items-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-telemetry-span-oneOf": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
oneOf: ({
type: string;
enum: string[];
properties?: undefined;
} | {
type: string;
properties: {
policySpan: {
type: string;
};
httpSpan: {
type: string;
};
};
enum?: undefined;
})[];
};
};
};
};
"$-spec-telemetry-span-policySpan-type": {
description: string;
severity: string;
given: string;
then: {
function: string;
functionOptions: {
schema: {
type: string;
};
};
};
};
"$-spec-telemetry-span-httpSpan-type": {
description: string;