Latest generation

This commit is contained in:
ci core model
2025-08-04 12:36:44 +00:00
parent 16b397a6e6
commit 9eb9fad127
89 changed files with 1089 additions and 1089 deletions

View File

@@ -288,7 +288,7 @@ class PartnerCreatedPayload$Type extends MessageType<PartnerCreatedPayload> {
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "LegalStructure", kind: "scalar", localName: "LegalStructure", jsonName: "LegalStructure", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
{ no: 5, name: "PhotoURI", kind: "scalar", localName: "PhotoURI", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } },
{ no: 5, name: "PhotoURI", kind: "scalar", localName: "PhotoURI", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "api.viewType": { Types: [{ Context: "*", Type: "image" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" } } },
{ no: 6, name: "AllowedRoles", kind: "scalar", localName: "AllowedRoles", jsonName: "AllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated since release 1.7. Roles allowed for these partner's users" } } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
}
@@ -426,7 +426,7 @@ class PartnerCreatedRequest$Type extends MessageType<PartnerCreatedRequest> {
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => PartnerCreatedPayload, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Created" });
], { "api.messageType": "Request", "api.inputEvent": "Created", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<PartnerCreatedRequest>): PartnerCreatedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -857,7 +857,7 @@ class PartnerAttachmentAddedRequest$Type extends MessageType<PartnerAttachmentAd
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => PartnerAttachmentAddedPayload, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AttachmentAdded" });
], { "api.messageType": "Request", "api.inputEvent": "AttachmentAdded", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<PartnerAttachmentAddedRequest>): PartnerAttachmentAddedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -1077,7 +1077,7 @@ class PartnerAttachmentRemovedRequest$Type extends MessageType<PartnerAttachment
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => PartnerAttachmentRemovedPayload, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AttachmentRemoved" });
], { "api.messageType": "Request", "api.inputEvent": "AttachmentRemoved", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<PartnerAttachmentRemovedRequest>): PartnerAttachmentRemovedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -1187,8 +1187,8 @@ export const PartnerAttachmentRemovedResponse = new PartnerAttachmentRemovedResp
* @generated ServiceType for protobuf service api.PartnerInputAPI
*/
export const PartnerInputAPI = new ServiceType("api.PartnerInputAPI", [
{ name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An Partner has been created. This is called from Reflex Platform Admin service to share the Organisation partners. For each created partner, a user group should be created by calling api.UserGroupsService/Put." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerCreatedRequest, O: PartnerCreatedResponse },
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An Partner has been deleted. This is called from Reflex Platform Admin service to share the Organisation partners." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerDeletedRequest, O: PartnerDeletedResponse },
{ name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An attachment is added for the Partner." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerAttachmentAddedRequest, O: PartnerAttachmentAddedResponse },
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An attachment is removed for the Partner." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerAttachmentRemovedRequest, O: PartnerAttachmentRemovedResponse }
{ name: "Created", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Input", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An Partner has been created. This is called from Reflex Platform Admin service to share the Organisation partners. For each created partner, a user group should be created by calling api.UserGroupsService/Put." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerCreatedRequest, O: PartnerCreatedResponse },
{ name: "Deleted", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Input", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An Partner has been deleted. This is called from Reflex Platform Admin service to share the Organisation partners." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerDeletedRequest, O: PartnerDeletedResponse },
{ name: "AttachmentAdded", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An attachment is added for the Partner." }, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerAttachmentAddedRequest, O: PartnerAttachmentAddedResponse },
{ name: "AttachmentRemoved", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An attachment is removed for the Partner." }, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerAttachmentRemovedRequest, O: PartnerAttachmentRemovedResponse }
], { "api.serviceType": "Api", "api.k8sService": "api-server" });