diff --git a/package.json b/package.json index fb649a8..669bd4f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.12.0-SNAPSHOT-251010083607", + "version": "1.12.0-SNAPSHOT-251010092540", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/site.client.ts b/site.client.ts index ff202b7..d3384e3 100644 --- a/site.client.ts +++ b/site.client.ts @@ -117,6 +117,10 @@ export interface ISiteServiceClient { * @generated from protobuf rpc: DeleteSettings */ deleteSettings(input: DeleteSettingsRequest, options?: RpcOptions): UnaryCall; + /** + * @generated from protobuf rpc: CreateSettingsV2 + */ + createSettingsV2(input: CreateSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetBasicSettings */ @@ -261,18 +265,25 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo { const method = this.methods[17], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } + /** + * @generated from protobuf rpc: CreateSettingsV2 + */ + createSettingsV2(input: CreateSettingsRequest, options?: RpcOptions): UnaryCall { + const method = this.methods[18], opt = this._transport.mergeOptions(options); + return stackIntercept("unary", this._transport, method, opt, input); + } /** * @generated from protobuf rpc: GetBasicSettings */ getBasicSettings(input: GetBasicSettingsRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[18], opt = this._transport.mergeOptions(options); + const method = this.methods[19], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListSitesAuthorizedForBooking */ listSitesAuthorizedForBooking(input: ListSitesAuthorizedForBookingRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[19], opt = this._transport.mergeOptions(options); + const method = this.methods[20], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } } diff --git a/site.ts b/site.ts index 38da3fc..34be0b8 100644 --- a/site.ts +++ b/site.ts @@ -1377,7 +1377,7 @@ export const CreateSettingsRequest = new CreateSettingsRequest$Type(); class CreateSettingsResponse$Type extends MessageType { constructor() { super("api.CreateSettingsResponse", [ - { no: 1, name: "Site", kind: "message", localName: "Site", jsonName: "Site", T: () => Site, options: { "validate.rules": { message: { required: true } } } } + { no: 1, name: "Site", kind: "message", localName: "Site", jsonName: "Site", T: () => Site } ]); } create(value?: PartialMessage): CreateSettingsResponse { @@ -3922,6 +3922,7 @@ export const SiteService = new ServiceType("api.SiteService", [ { name: "UpdateAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update slot and/or commissions on an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateAppointmentNoReferenceRequest, O: BookAppointmentResponse }, { name: "ForceUpdateAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Force Update slot and/or commissions on an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ForceUpdateAppointmentRequest, O: BookAppointmentResponse }, { name: "DeleteSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the Site in database" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Manage", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteSettingsRequest, O: DeleteSettingsResult }, + { name: "CreateSettingsV2", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Creates the site settings" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Manage", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateSettingsRequest, O: CreateSettingsResponse }, { name: "GetBasicSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the basic settings of a site to display" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetBasicSettingsRequest, O: GetBasicSettingsResponse }, { name: "ListSitesAuthorizedForBooking", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List the site allowing booking for a project" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListSitesAuthorizedForBookingRequest, O: ListSitesAuthorizedForBookingResponse } ], { "api.k8sService": "core-site" });