You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -745,9 +745,9 @@ class PushMessageRequest$Type extends MessageType<PushMessageRequest> {
|
||||
constructor() {
|
||||
super("api.PushMessageRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestPartnerAppHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "JWT", kind: "scalar", localName: "JWT", jsonName: "JWT", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The JWT holding the PartnerApp identity to which parent subject the message will be pushed. It is a signed JWT issued by Reflex Platform upon PartnerApp creation. The PartnerApp from the JWT must be the same as the one in the Header field meaning you cannot push a message for a PartnerApp different than the one you're allowed to." }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "SubjectSuffix", kind: "scalar", localName: "SubjectSuffix", jsonName: "SubjectSuffix", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The subject suffix to which the message will be pushed. The subject will be composed of the parent subject of the PartnerApp (from the JWT) and this suffix." }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The message payload." }, "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 2, name: "JWT", kind: "scalar", localName: "JWT", jsonName: "JWT", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The JWT holding the PartnerApp identity to which parent subject the message will be pushed. It is a signed JWT issued by HARDIS SC NETWORK upon PartnerApp creation. The PartnerApp from the JWT must be the same as the one in the Header field meaning you cannot push a message for a PartnerApp different than the one you're allowed to." } } },
|
||||
{ no: 3, name: "SubjectSuffix", kind: "scalar", localName: "SubjectSuffix", jsonName: "SubjectSuffix", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The subject suffix to which the message will be pushed. The subject will be composed of the parent subject of the PartnerApp (from the JWT) and this suffix." } } },
|
||||
{ no: 4, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The message payload." } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "JWT", "Subject"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<PushMessageRequest>): PushMessageRequest {
|
||||
|
||||
Reference in New Issue
Block a user