You've already forked npm-core-sdk
Latest generation
This commit is contained in:
22
org.ts
22
org.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "org.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -592,9 +592,9 @@ class Organisation$Type extends MessageType<Organisation> {
|
||||
super("api.Organisation", [
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } } },
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } } },
|
||||
{ no: 3, name: "IDPs", kind: "message", localName: "IDPs", jsonName: "IDPs", repeat: 1 /*RepeatType.PACKED*/, T: () => IDP },
|
||||
{ no: 3, name: "IDPs", kind: "message", localName: "IDPs", jsonName: "IDPs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => IDP },
|
||||
{ no: 4, name: "status", kind: "enum", T: () => ["api.StatusEnum", StatusEnum], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 5, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 1 /*RepeatType.PACKED*/, T: () => Module }
|
||||
{ no: 5, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Organisation>): Organisation {
|
||||
@@ -871,7 +871,7 @@ class SetModulesOrganisationRequest$Type extends MessageType<SetModulesOrganisat
|
||||
constructor() {
|
||||
super("api.SetModulesOrganisationRequest", [
|
||||
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 1 /*RepeatType.PACKED*/, T: () => Module }
|
||||
{ no: 2, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<SetModulesOrganisationRequest>): SetModulesOrganisationRequest {
|
||||
@@ -1209,7 +1209,7 @@ export const GetOrganisationResult = new GetOrganisationResult$Type();
|
||||
class ListOrganisationResult$Type extends MessageType<ListOrganisationResult> {
|
||||
constructor() {
|
||||
super("api.ListOrganisationResult", [
|
||||
{ no: 1, name: "Organisations", kind: "message", localName: "Organisations", jsonName: "Organisations", repeat: 1 /*RepeatType.PACKED*/, T: () => Organisation }
|
||||
{ no: 1, name: "Organisations", kind: "message", localName: "Organisations", jsonName: "Organisations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Organisation }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ListOrganisationResult>): ListOrganisationResult {
|
||||
@@ -1496,9 +1496,6 @@ class StartIndividualStreamingJobRequest$Type extends MessageType<StartIndividua
|
||||
/* string OrgID = 1 [json_name = "OrgID"]; */
|
||||
if (message.OrgID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.OrgID);
|
||||
/* string Domain = 5 [json_name = "Domain"]; */
|
||||
if (message.Domain !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.Domain);
|
||||
/* string Entity = 2 [json_name = "Entity"]; */
|
||||
if (message.Entity !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Entity);
|
||||
@@ -1508,6 +1505,9 @@ class StartIndividualStreamingJobRequest$Type extends MessageType<StartIndividua
|
||||
/* string Arguments = 4 [json_name = "Arguments"]; */
|
||||
if (message.Arguments !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.Arguments);
|
||||
/* string Domain = 5 [json_name = "Domain"]; */
|
||||
if (message.Domain !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.Domain);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1622,9 +1622,6 @@ class StopIndividualStreamingJobRequest$Type extends MessageType<StopIndividualS
|
||||
/* string OrgID = 1 [json_name = "OrgID"]; */
|
||||
if (message.OrgID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.OrgID);
|
||||
/* string Domain = 5 [json_name = "Domain"]; */
|
||||
if (message.Domain !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.Domain);
|
||||
/* string Entity = 2 [json_name = "Entity"]; */
|
||||
if (message.Entity !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Entity);
|
||||
@@ -1634,6 +1631,9 @@ class StopIndividualStreamingJobRequest$Type extends MessageType<StopIndividualS
|
||||
/* bool Force = 4 [json_name = "Force"]; */
|
||||
if (message.Force !== false)
|
||||
writer.tag(4, WireType.Varint).bool(message.Force);
|
||||
/* string Domain = 5 [json_name = "Domain"]; */
|
||||
if (message.Domain !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.Domain);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user