@mochabug/adapt-web
Version:
The client library to execute automations, without effort, in a browser environment
64 lines • 3.67 kB
JavaScript
;
// Copyright 2023, mochabug AB
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.TlsConfigSchema = exports.TlsDefinition_ModeSchema = exports.TlsDefinition_Mode = exports.TlsDefinitionSchema = exports.file_mochabugapis_adapt_plugins_v1_tls_service = void 0;
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
const validate_pb_js_1 = require("../../../../buf/validate/validate_pb.js");
const file_pb_js_1 = require("./file_pb.js");
/**
* Describes the file mochabugapis/adapt/plugins/v1/tls_service.proto.
*/
exports.file_mochabugapis_adapt_plugins_v1_tls_service = (0, codegenv2_1.fileDesc)("Ci9tb2NoYWJ1Z2FwaXMvYWRhcHQvcGx1Z2lucy92MS90bHNfc2VydmljZS5wcm90bxIdbW9jaGFidWdhcGlzLmFkYXB0LnBsdWdpbnMudjEinwEKDVRsc0RlZmluaXRpb24SSwoEbW9kZRgBIAEoDjIxLm1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxLlRsc0RlZmluaXRpb24uTW9kZUIKukgHggEEEAEgACJBCgRNb2RlEhQKEE1PREVfVU5TUEVDSUZJRUQQABINCglNT0RFX01UTFMQARIUChBNT0RFX1NFUlZFUl9PTkxZEAIi+QEKCVRsc0NvbmZpZxI+CgljYV9idW5kbGUYASABKAsyIy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5GaWxlQga6SAPIAQESRQoLY2VydGlmaWNhdGUYAiABKAsyIy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5GaWxlQga6SAPIAQFIAIgBARJFCgtwcml2YXRlX2tleRgDIAEoCzIjLm1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxLkZpbGVCBrpIA8gBAUgBiAEBQg4KDF9jZXJ0aWZpY2F0ZUIOCgxfcHJpdmF0ZV9rZXliBnByb3RvMw", [validate_pb_js_1.file_buf_validate_validate, file_pb_js_1.file_mochabugapis_adapt_plugins_v1_file]);
/**
* Describes the message mochabugapis.adapt.plugins.v1.TlsDefinition.
* Use `create(TlsDefinitionSchema)` to create a new message.
*/
exports.TlsDefinitionSchema = (0, codegenv2_1.messageDesc)(exports.file_mochabugapis_adapt_plugins_v1_tls_service, 0);
/**
* Mode specifies which TLS configuration to use.
*
* @generated from enum mochabugapis.adapt.plugins.v1.TlsDefinition.Mode
*/
var TlsDefinition_Mode;
(function (TlsDefinition_Mode) {
/**
* Default value. Invalid.
*
* @generated from enum value: MODE_UNSPECIFIED = 0;
*/
TlsDefinition_Mode[TlsDefinition_Mode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
/**
* MTLS requires both the client and server to present valid certificates.
*
* @generated from enum value: MODE_MTLS = 1;
*/
TlsDefinition_Mode[TlsDefinition_Mode["MTLS"] = 1] = "MTLS";
/**
* SERVER_ONLY requires only the server to present a certificate, and the client performs validation.
*
* @generated from enum value: MODE_SERVER_ONLY = 2;
*/
TlsDefinition_Mode[TlsDefinition_Mode["SERVER_ONLY"] = 2] = "SERVER_ONLY";
})(TlsDefinition_Mode || (exports.TlsDefinition_Mode = TlsDefinition_Mode = {}));
/**
* Describes the enum mochabugapis.adapt.plugins.v1.TlsDefinition.Mode.
*/
exports.TlsDefinition_ModeSchema = (0, codegenv2_1.enumDesc)(exports.file_mochabugapis_adapt_plugins_v1_tls_service, 0, 0);
/**
* Describes the message mochabugapis.adapt.plugins.v1.TlsConfig.
* Use `create(TlsConfigSchema)` to create a new message.
*/
exports.TlsConfigSchema = (0, codegenv2_1.messageDesc)(exports.file_mochabugapis_adapt_plugins_v1_tls_service, 1);
//# sourceMappingURL=tls_service_pb.js.map