UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

843 lines 29.4 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; description: string; additionalProperties: boolean; properties: { "default-endpoint": { type: string; required: string[]; properties: { $ref: { type: string; }; }; }; "conditional-endpoints": { type: string; items: { type: string; additionalProperties: boolean; properties: { condition: { type: string; }; endpoint: { type: string; required: string[]; additionalProperties: boolean; properties: { $ref: { type: string; }; }; }; }; }; }; "content-based-endpoints"?: undefined; "dynamic-endpoints"?: undefined; "mock-endpoint"?: undefined; messageConfig?: undefined; }; } | { type: string; description: string; additionalProperties: boolean; properties: { "default-endpoint": { type: string; required: string[]; properties: { $ref: { type: string; }; }; }; "content-based-endpoints": { type: string; items: { type: string; additionalProperties: boolean; properties: { payloadIdentifier: { oneOf: ({ type: string; additionalProperties: boolean; properties: { jPath: { type: string; }; xpath?: undefined; namespaces?: undefined; regex?: undefined; }; } | { type: string; additionalProperties: boolean; properties: { xpath: { type: string; }; namespaces: { type: string; items: { type: string; additionalProperties: boolean; properties: { prefix: { type: string; }; URI: { type: string; }; }; }; }; jPath?: undefined; regex?: undefined; }; } | { type: string; additionalProperties: boolean; properties: { regex: { type: string; }; jPath?: undefined; xpath?: undefined; namespaces?: undefined; }; })[]; }; endpoint: { type: string; required: string[]; properties: { $ref: { type: string; }; }; }; }; }; }; "conditional-endpoints"?: undefined; "dynamic-endpoints"?: undefined; "mock-endpoint"?: undefined; messageConfig?: undefined; }; } | { type: string; description: string; additionalProperties: boolean; properties: { "default-endpoint": { type: string; required: string[]; properties: { $ref: { type: string; }; }; }; "dynamic-endpoints": { type: string; additionalProperties: boolean; properties: { useHeader: { type: string; properties: { name: { type: string; }; $ref: { type: string; }; }; }; useContext: { type: string; required: string[]; additionalProperties: boolean; properties: { $ref: { type: string; }; }; }; }; }; "conditional-endpoints"?: undefined; "content-based-endpoints"?: undefined; "mock-endpoint"?: undefined; messageConfig?: undefined; }; } | { type: string; description: string; additionalProperties: boolean; properties: { "mock-endpoint": { type: string; properties: { enabled: { type: string; }; $ref: { type: string; }; }; }; "default-endpoint"?: undefined; "conditional-endpoints"?: undefined; "content-based-endpoints"?: undefined; "dynamic-endpoints"?: undefined; messageConfig?: undefined; }; } | { type: string; description: string; additionalProperties: boolean; properties: { messageConfig: { type: string; required: string[]; properties: { $ref: { type: string; }; }; }; "default-endpoint"?: undefined; "conditional-endpoints"?: undefined; "content-based-endpoints"?: undefined; "dynamic-endpoints"?: undefined; "mock-endpoint"?: undefined; }; })[]; }; }; }; }; "spec-default-endpoint-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-default-endpoint-$ref-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "spec-conditional-endpoints-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "spec-content-based-endpoints-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "spec-dynamic-endpoints-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "spec-dynamic-endpoints-no-additional-properties": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; additionalProperties: boolean; properties: { useHeader: {}; useContext: {}; }; }; }; }; }; "$-spec-dynamic-endpoints-useHeader-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-dynamic-endpoints-useHeader-name-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-dynamic-endpoints-useHeader-$ref-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-dynamic-endpoints-useContext-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-dynamic-endpoints-useContext-$ref-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-dynamic-endpoints-useContext-no-additional-properties": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { additionalProperties: boolean; properties: { $ref: {}; }; }; }; }; }; "spec-mock-endpoint-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-mock-endpoint-enabled-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-mock-endpoint-$ref-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "spec-messageConfig-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; "$-spec-messageConfig-$ref-type": { description: string; severity: string; given: string; then: { function: string; functionOptions: { schema: { type: string; }; }; }; }; }; } export default _default; //# sourceMappingURL=route.ruleset.d.ts.map