UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

1,446 lines (1,445 loc) 58.6 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-oneOf": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { oneOf: ({ type: string; required: string[]; additionalProperties: boolean; properties: { ip: { oneOf: ({ type: string; additionalProperties: boolean; required: string[]; properties: { allowList: { type: string; items: { type: string; }; }; denyList?: undefined; }; } | { type: string; additionalProperties: boolean; required: string[]; properties: { denyList: { type: string; items: { type: string; }; }; allowList?: undefined; }; })[]; }; header?: undefined; queryParam?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; additionalProperties: boolean; properties: { header: { oneOf: ({ type: string; additionalProperties: boolean; required: string[]; properties: { allowList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; denyList?: undefined; }; } | { type: string; additionalProperties: boolean; required: string[]; properties: { denyList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; allowList?: undefined; }; })[]; }; ip?: undefined; queryParam?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; additionalProperties: boolean; properties: { queryParam: { oneOf: ({ type: string; additionalProperties: boolean; required: string[]; properties: { allowList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; denyList?: undefined; }; } | { type: string; additionalProperties: boolean; required: string[]; properties: { denyList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; allowList?: undefined; }; })[]; }; ip?: undefined; header?: undefined; cookie?: undefined; }; } | { type: string; required: string[]; additionalProperties: boolean; properties: { cookie: { oneOf: ({ type: string; additionalProperties: boolean; required: string[]; properties: { allowList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; denyList?: undefined; }; } | { type: string; additionalProperties: boolean; required: string[]; properties: { denyList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; allowList?: undefined; }; })[]; }; ip?: undefined; header?: undefined; queryParam?: undefined; }; })[]; }; }; }; }; "spec-ip-oneOf": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { oneOf: ({ type: string; additionalProperties: boolean; required: string[]; properties: { allowList: { type: string; items: { type: string; }; }; denyList?: undefined; }; } | { type: string; additionalProperties: boolean; required: string[]; properties: { denyList: { type: string; items: { type: string; }; }; allowList?: undefined; }; })[]; }; }; }; }; "spec-ip-allowList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-ip-allowList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-ip-allowList-items-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "spec-ip-denyList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-ip-denyList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-ip-denyList-items-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "spec-header-oneOf": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { oneOf: ({ type: string; additionalProperties: boolean; required: string[]; properties: { allowList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; denyList?: undefined; }; } | { type: string; additionalProperties: boolean; required: string[]; properties: { denyList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; allowList?: undefined; }; })[]; }; }; }; }; "spec-header-allowList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-header-allowList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-header-allowList-items-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-header-allowList[*]-name-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-header-allowList[*]-value-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-header-allowList-no-additional-properties": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { additionalProperties: boolean; properties: { name: {}; value: {}; }; }; }; }; }; "required:$.spec.header.allowList[*]:name": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "type:$.spec.header.allowList[*].name:string": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "required:$.spec.header.allowList[*]:value": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "type:$.spec.header.allowList[*].value:string": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "no-additional-properties:$.spec.header.allowList[*]": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { additionalProperties: boolean; properties: { name: {}; value: {}; }; }; }; }; }; "spec-header-denyList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-header-denyList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-header-denyList-items-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-header-denyList[*]-name-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-header-denyList[*]-value-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-header-denyList-no-additional-properties": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { additionalProperties: boolean; properties: { name: {}; value: {}; }; }; }; }; }; "required:$.spec.header.denyList[*]:name": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "type:$.spec.header.denyList[*].name:string": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "required:$.spec.header.denyList[*]:value": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "type:$.spec.header.denyList[*].value:string": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "no-additional-properties:$.spec.header.denyList[*]": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { additionalProperties: boolean; properties: { name: {}; value: {}; }; }; }; }; }; "spec-queryParam-oneOf": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { oneOf: ({ type: string; additionalProperties: boolean; required: string[]; properties: { allowList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; denyList?: undefined; }; } | { type: string; additionalProperties: boolean; required: string[]; properties: { denyList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; allowList?: undefined; }; })[]; }; }; }; }; "spec-queryParam-allowList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-queryParam-allowList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-queryParam-allowList-items-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-queryParam-allowList[*]-name-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-queryParam-allowList[*]-value-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-queryParam-allowList-no-additional-properties": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { additionalProperties: boolean; properties: { name: {}; value: {}; }; }; }; }; }; "required:$.spec.queryParam.allowList[*]:name": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "type:$.spec.queryParam.allowList[*].name:string": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "type:$.spec.queryParam.allowList[*].value:string": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "no-additional-properties:$.spec.queryParam.allowList[*]": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { additionalProperties: boolean; properties: { name: {}; value: {}; }; }; }; }; }; "spec-queryParam-denyList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-queryParam-denyList-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-queryParam-denyList-items-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-queryParam-denyList[*]-name-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-queryParam-denyList[*]-value-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-queryParam-denyList-no-additional-properties": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { additionalProperties: boolean; properties: { name: {}; value: {}; }; }; }; }; }; "required:$.spec.queryParam.denyList[*]:name": { description: string; severity: string; given: string; then: { field: string; function: string; }; }; "type:$.spec.queryParam.denyList[*].name:string": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "type:$.spec.queryParam.denyList[*].value:string": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "no-additional-properties:$.spec.queryParam.denyList[*]": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { additionalProperties: boolean; properties: { name: {}; value: {}; }; }; }; }; }; "spec-cookie-oneOf": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { oneOf: ({ type: string; additionalProperties: boolean; required: string[]; properties: { allowList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; }; }; }; denyList?: undefined; }; } | { type: string; additionalProperties: boolean; required: string[]; properties: { denyList: { type: string; items: { type: string; required: string[]; additionalProperties: boolean; properties: { name: { type: string; }; value: { type: string; }; };