UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

1,120 lines 93.3 kB
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-namespace-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-credentialType-oneOf": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { oneOf: ({ type: string; enum: string[]; additionalProperties?: undefined; properties?: undefined; } | { type: string; additionalProperties: boolean; properties: { hostname: { type: string; additionalProperties: boolean; }; ipAddress: { type: string; additionalProperties: boolean; }; httpBasic: { oneOf: ({ type: string; required: string[]; properties: { httpHeader: { type: string; required: string[]; properties: { name: { type: string; }; }; }; contextVar?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { contextVar: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { query: { type: string; properties: { username: { type: string; }; password: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { payload: { type: string; properties: { username: { type: string; }; password: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { cookie: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; payload?: undefined; }; })[]; }; oauth2: { oneOf: ({ type: string; required: string[]; properties: { httpHeader: { type: string; required: string[]; properties: { name: { type: string; }; }; }; contextVar?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { contextVar: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { query: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { payload: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { cookie: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; payload?: undefined; }; })[]; }; jwt: { oneOf: ({ type: string; required: string[]; properties: { httpHeader: { type: string; required: string[]; properties: { name: { type: string; }; }; }; contextVar?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { contextVar: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { query: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { payload: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { cookie: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; payload?: undefined; }; })[]; }; apiKey: { type: string; additionalProperties: boolean; properties: { clientId: { oneOf: ({ type: string; required: string[]; properties: { httpHeader: { type: string; required: string[]; properties: { name: { type: string; }; }; }; contextVar?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { contextVar: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { query: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { payload: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { cookie: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; payload?: undefined; }; })[]; }; clientSecret: { oneOf: ({ type: string; required: string[]; properties: { httpHeader: { type: string; required: string[]; properties: { name: { type: string; }; }; }; contextVar?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { contextVar: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { query: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { payload: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { cookie: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; payload?: undefined; }; })[]; }; }; }; certificate: { oneOf: ({ type: string; required: string[]; properties: { httpHeader: { type: string; required: string[]; properties: { name: { type: string; }; }; }; tlsCert?: undefined; }; } | { type: string; required: string[]; properties: { tlsCert: { type: string; }; httpHeader?: undefined; }; })[]; }; httpHeaders: { type: string; items: { type: string; }; }; payloadElement: { oneOf: ({ type: string; required: string[]; properties: { regex: { type: string; }; jsonPath?: undefined; }; } | { type: string; required: string[]; properties: { jsonPath: { type: string; }; regex?: undefined; }; })[]; }; }; enum?: undefined; })[]; }; }; }; }; "$-spec-credentialType-hostname-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-credentialType-ipAddress-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-credentialType-httpBasic-oneOf": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { oneOf: ({ type: string; required: string[]; properties: { httpHeader: { type: string; required: string[]; properties: { name: { type: string; }; }; }; contextVar?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { contextVar: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; query?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { query: { type: string; properties: { username: { type: string; }; password: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; payload?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { payload: { type: string; properties: { username: { type: string; }; password: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; properties: { cookie: { type: string; required: string[]; properties: { name: { type: string; }; }; }; httpHeader?: undefined; contextVar?: undefined; query?: undefined; payload?: undefined; }; })[]; }; }; }; }; "$-spec-credentialType-httpBasic-httpHeader-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-credentialType-httpBasic-httpHeader-name-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-credentialType-httpBasic-contextVar-type": { description: string; severity: string; given: string; then: { fu