You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-251121165916",
|
||||
"version": "1.12.0-SNAPSHOT-251124101429",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { SiteService } from "./site";
|
||||
import type { ListSettingsResponse } from "./site";
|
||||
import type { ListSettingsRequest } from "./site";
|
||||
import type { GetBookingContextResponse } from "./site";
|
||||
import type { GetBookingContextRequest } from "./site";
|
||||
import type { InitBookerProfileResponse } from "./site";
|
||||
@@ -206,6 +208,10 @@ export interface ISiteServiceClient {
|
||||
* @generated from protobuf rpc: GetBookingContext
|
||||
*/
|
||||
getBookingContext(input: GetBookingContextRequest, options?: RpcOptions): UnaryCall<GetBookingContextRequest, GetBookingContextResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: ListSettings
|
||||
*/
|
||||
listSettings(input: ListSettingsRequest, options?: RpcOptions): UnaryCall<ListSettingsRequest, ListSettingsResponse>;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf service api.SiteService
|
||||
@@ -454,4 +460,11 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
|
||||
const method = this.methods[33], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetBookingContextRequest, GetBookingContextResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: ListSettings
|
||||
*/
|
||||
listSettings(input: ListSettingsRequest, options?: RpcOptions): UnaryCall<ListSettingsRequest, ListSettingsResponse> {
|
||||
const method = this.methods[34], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ListSettingsRequest, ListSettingsResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
48
site.ts
48
site.ts
@@ -211,6 +211,13 @@ export interface GetSettingsRequest {
|
||||
*/
|
||||
Header?: RequestProjectHeader;
|
||||
}
|
||||
/**
|
||||
* List
|
||||
*
|
||||
* @generated from protobuf message api.ListSettingsRequest
|
||||
*/
|
||||
export interface ListSettingsRequest {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetSettingsResponse
|
||||
*/
|
||||
@@ -1880,6 +1887,44 @@ class GetSettingsRequest$Type extends MessageType<GetSettingsRequest> {
|
||||
*/
|
||||
export const GetSettingsRequest = new GetSettingsRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ListSettingsRequest$Type extends MessageType<ListSettingsRequest> {
|
||||
constructor() {
|
||||
super("api.ListSettingsRequest", []);
|
||||
}
|
||||
create(value?: PartialMessage<ListSettingsRequest>): ListSettingsRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ListSettingsRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListSettingsRequest): ListSettingsRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
||||
let d = reader.skip(wireType);
|
||||
if (u !== false)
|
||||
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
||||
}
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ListSettingsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.ListSettingsRequest
|
||||
*/
|
||||
export const ListSettingsRequest = new ListSettingsRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class GetSettingsResponse$Type extends MessageType<GetSettingsResponse> {
|
||||
constructor() {
|
||||
super("api.GetSettingsResponse", [
|
||||
@@ -5933,5 +5978,6 @@ export const SiteService = new ServiceType("api.SiteService", [
|
||||
{ name: "ClearAliasesOfSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Clear all site alias for a site." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClearAliasesOfSiteRequest, O: ClearAliasesOfSiteResponse },
|
||||
{ name: "ClearAliasesOfProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Clear all site alias for a project." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClearAliasesOfProjectRequest, O: ClearAliasesOfProjectResponse },
|
||||
{ name: "InitBookerProfile", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Init the booker profile for a site. The user will gain access to the site and be able to book appointments." }, "api.rscType": "Platform", "api.roles": "" }, I: InitBookerProfileRequest, O: InitBookerProfileResponse },
|
||||
{ name: "GetBookingContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the booking context for a given Project and Actor" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBookingContextRequest, O: GetBookingContextResponse }
|
||||
{ name: "GetBookingContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the booking context for a given Project and Actor" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBookingContextRequest, O: GetBookingContextResponse },
|
||||
{ name: "ListSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List all settings in the platform." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListSettingsRequest, O: ListSettingsResponse }
|
||||
], { "api.k8sService": "core-site" });
|
||||
|
||||
Reference in New Issue
Block a user