You've already forked npm-core-sdk
416 lines
16 KiB
TypeScript
416 lines
16 KiB
TypeScript
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
// @generated from file adaptiveCard.proto (package api, syntax proto3)
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
|
/**
|
|
* @generated from message api.AdaptiveCard
|
|
*/
|
|
export class AdaptiveCard extends Message<AdaptiveCard> {
|
|
/**
|
|
* @generated from field: string Name = 1;
|
|
*/
|
|
Name = "";
|
|
|
|
/**
|
|
* @generated from field: string Template = 2;
|
|
*/
|
|
Template = "";
|
|
|
|
constructor(data?: PartialMessage<AdaptiveCard>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.AdaptiveCard";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 2, name: "Template", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdaptiveCard {
|
|
return new AdaptiveCard().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdaptiveCard {
|
|
return new AdaptiveCard().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdaptiveCard {
|
|
return new AdaptiveCard().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: AdaptiveCard | PlainMessage<AdaptiveCard> | undefined, b: AdaptiveCard | PlainMessage<AdaptiveCard> | undefined): boolean {
|
|
return proto3.util.equals(AdaptiveCard, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.ListAdaptiveCardRequest
|
|
*/
|
|
export class ListAdaptiveCardRequest extends Message<ListAdaptiveCardRequest> {
|
|
constructor(data?: PartialMessage<ListAdaptiveCardRequest>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.ListAdaptiveCardRequest";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAdaptiveCardRequest {
|
|
return new ListAdaptiveCardRequest().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAdaptiveCardRequest {
|
|
return new ListAdaptiveCardRequest().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAdaptiveCardRequest {
|
|
return new ListAdaptiveCardRequest().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: ListAdaptiveCardRequest | PlainMessage<ListAdaptiveCardRequest> | undefined, b: ListAdaptiveCardRequest | PlainMessage<ListAdaptiveCardRequest> | undefined): boolean {
|
|
return proto3.util.equals(ListAdaptiveCardRequest, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.ListAdaptiveCardResult
|
|
*/
|
|
export class ListAdaptiveCardResult extends Message<ListAdaptiveCardResult> {
|
|
/**
|
|
* @generated from field: repeated api.AdaptiveCard AdaptiveCards = 1;
|
|
*/
|
|
AdaptiveCards: AdaptiveCard[] = [];
|
|
|
|
constructor(data?: PartialMessage<ListAdaptiveCardResult>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.ListAdaptiveCardResult";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "AdaptiveCards", kind: "message", T: AdaptiveCard, repeated: true },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAdaptiveCardResult {
|
|
return new ListAdaptiveCardResult().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAdaptiveCardResult {
|
|
return new ListAdaptiveCardResult().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAdaptiveCardResult {
|
|
return new ListAdaptiveCardResult().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: ListAdaptiveCardResult | PlainMessage<ListAdaptiveCardResult> | undefined, b: ListAdaptiveCardResult | PlainMessage<ListAdaptiveCardResult> | undefined): boolean {
|
|
return proto3.util.equals(ListAdaptiveCardResult, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.GetAdaptiveCardRequest
|
|
*/
|
|
export class GetAdaptiveCardRequest extends Message<GetAdaptiveCardRequest> {
|
|
/**
|
|
* @generated from field: string Name = 1;
|
|
*/
|
|
Name = "";
|
|
|
|
constructor(data?: PartialMessage<GetAdaptiveCardRequest>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.GetAdaptiveCardRequest";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAdaptiveCardRequest {
|
|
return new GetAdaptiveCardRequest().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAdaptiveCardRequest {
|
|
return new GetAdaptiveCardRequest().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAdaptiveCardRequest {
|
|
return new GetAdaptiveCardRequest().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: GetAdaptiveCardRequest | PlainMessage<GetAdaptiveCardRequest> | undefined, b: GetAdaptiveCardRequest | PlainMessage<GetAdaptiveCardRequest> | undefined): boolean {
|
|
return proto3.util.equals(GetAdaptiveCardRequest, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.GetAdaptiveCardResult
|
|
*/
|
|
export class GetAdaptiveCardResult extends Message<GetAdaptiveCardResult> {
|
|
/**
|
|
* @generated from field: api.AdaptiveCard AdaptiveCard = 1;
|
|
*/
|
|
AdaptiveCard?: AdaptiveCard;
|
|
|
|
constructor(data?: PartialMessage<GetAdaptiveCardResult>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.GetAdaptiveCardResult";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "AdaptiveCard", kind: "message", T: AdaptiveCard },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAdaptiveCardResult {
|
|
return new GetAdaptiveCardResult().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAdaptiveCardResult {
|
|
return new GetAdaptiveCardResult().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAdaptiveCardResult {
|
|
return new GetAdaptiveCardResult().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: GetAdaptiveCardResult | PlainMessage<GetAdaptiveCardResult> | undefined, b: GetAdaptiveCardResult | PlainMessage<GetAdaptiveCardResult> | undefined): boolean {
|
|
return proto3.util.equals(GetAdaptiveCardResult, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.CreateAdaptiveCardRequest
|
|
*/
|
|
export class CreateAdaptiveCardRequest extends Message<CreateAdaptiveCardRequest> {
|
|
/**
|
|
* @generated from field: string Template = 1;
|
|
*/
|
|
Template = "";
|
|
|
|
/**
|
|
* @generated from field: string Name = 2;
|
|
*/
|
|
Name = "";
|
|
|
|
constructor(data?: PartialMessage<CreateAdaptiveCardRequest>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.CreateAdaptiveCardRequest";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "Template", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 2, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAdaptiveCardRequest {
|
|
return new CreateAdaptiveCardRequest().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAdaptiveCardRequest {
|
|
return new CreateAdaptiveCardRequest().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAdaptiveCardRequest {
|
|
return new CreateAdaptiveCardRequest().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: CreateAdaptiveCardRequest | PlainMessage<CreateAdaptiveCardRequest> | undefined, b: CreateAdaptiveCardRequest | PlainMessage<CreateAdaptiveCardRequest> | undefined): boolean {
|
|
return proto3.util.equals(CreateAdaptiveCardRequest, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.CreateAdaptiveCardResult
|
|
*/
|
|
export class CreateAdaptiveCardResult extends Message<CreateAdaptiveCardResult> {
|
|
/**
|
|
* @generated from field: api.AdaptiveCard AdaptiveCard = 1;
|
|
*/
|
|
AdaptiveCard?: AdaptiveCard;
|
|
|
|
constructor(data?: PartialMessage<CreateAdaptiveCardResult>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.CreateAdaptiveCardResult";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "AdaptiveCard", kind: "message", T: AdaptiveCard },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAdaptiveCardResult {
|
|
return new CreateAdaptiveCardResult().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAdaptiveCardResult {
|
|
return new CreateAdaptiveCardResult().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAdaptiveCardResult {
|
|
return new CreateAdaptiveCardResult().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: CreateAdaptiveCardResult | PlainMessage<CreateAdaptiveCardResult> | undefined, b: CreateAdaptiveCardResult | PlainMessage<CreateAdaptiveCardResult> | undefined): boolean {
|
|
return proto3.util.equals(CreateAdaptiveCardResult, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.UpdateAdaptiveCardRequest
|
|
*/
|
|
export class UpdateAdaptiveCardRequest extends Message<UpdateAdaptiveCardRequest> {
|
|
/**
|
|
* @generated from field: api.AdaptiveCard AdaptiveCard = 1;
|
|
*/
|
|
AdaptiveCard?: AdaptiveCard;
|
|
|
|
constructor(data?: PartialMessage<UpdateAdaptiveCardRequest>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.UpdateAdaptiveCardRequest";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "AdaptiveCard", kind: "message", T: AdaptiveCard },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateAdaptiveCardRequest {
|
|
return new UpdateAdaptiveCardRequest().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateAdaptiveCardRequest {
|
|
return new UpdateAdaptiveCardRequest().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateAdaptiveCardRequest {
|
|
return new UpdateAdaptiveCardRequest().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: UpdateAdaptiveCardRequest | PlainMessage<UpdateAdaptiveCardRequest> | undefined, b: UpdateAdaptiveCardRequest | PlainMessage<UpdateAdaptiveCardRequest> | undefined): boolean {
|
|
return proto3.util.equals(UpdateAdaptiveCardRequest, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.UpdateAdaptiveCardResult
|
|
*/
|
|
export class UpdateAdaptiveCardResult extends Message<UpdateAdaptiveCardResult> {
|
|
/**
|
|
* @generated from field: api.AdaptiveCard AdaptiveCard = 1;
|
|
*/
|
|
AdaptiveCard?: AdaptiveCard;
|
|
|
|
constructor(data?: PartialMessage<UpdateAdaptiveCardResult>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.UpdateAdaptiveCardResult";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "AdaptiveCard", kind: "message", T: AdaptiveCard },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateAdaptiveCardResult {
|
|
return new UpdateAdaptiveCardResult().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateAdaptiveCardResult {
|
|
return new UpdateAdaptiveCardResult().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateAdaptiveCardResult {
|
|
return new UpdateAdaptiveCardResult().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: UpdateAdaptiveCardResult | PlainMessage<UpdateAdaptiveCardResult> | undefined, b: UpdateAdaptiveCardResult | PlainMessage<UpdateAdaptiveCardResult> | undefined): boolean {
|
|
return proto3.util.equals(UpdateAdaptiveCardResult, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.DeleteAdaptiveCardRequest
|
|
*/
|
|
export class DeleteAdaptiveCardRequest extends Message<DeleteAdaptiveCardRequest> {
|
|
/**
|
|
* @generated from field: string Name = 1;
|
|
*/
|
|
Name = "";
|
|
|
|
constructor(data?: PartialMessage<DeleteAdaptiveCardRequest>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.DeleteAdaptiveCardRequest";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteAdaptiveCardRequest {
|
|
return new DeleteAdaptiveCardRequest().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteAdaptiveCardRequest {
|
|
return new DeleteAdaptiveCardRequest().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteAdaptiveCardRequest {
|
|
return new DeleteAdaptiveCardRequest().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: DeleteAdaptiveCardRequest | PlainMessage<DeleteAdaptiveCardRequest> | undefined, b: DeleteAdaptiveCardRequest | PlainMessage<DeleteAdaptiveCardRequest> | undefined): boolean {
|
|
return proto3.util.equals(DeleteAdaptiveCardRequest, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.DeleteAdaptiveCardResult
|
|
*/
|
|
export class DeleteAdaptiveCardResult extends Message<DeleteAdaptiveCardResult> {
|
|
constructor(data?: PartialMessage<DeleteAdaptiveCardResult>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.DeleteAdaptiveCardResult";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteAdaptiveCardResult {
|
|
return new DeleteAdaptiveCardResult().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteAdaptiveCardResult {
|
|
return new DeleteAdaptiveCardResult().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteAdaptiveCardResult {
|
|
return new DeleteAdaptiveCardResult().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: DeleteAdaptiveCardResult | PlainMessage<DeleteAdaptiveCardResult> | undefined, b: DeleteAdaptiveCardResult | PlainMessage<DeleteAdaptiveCardResult> | undefined): boolean {
|
|
return proto3.util.equals(DeleteAdaptiveCardResult, a, b);
|
|
}
|
|
}
|
|
|