You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { CalendarService } from "./calendar";
|
||||
import type { ComputeSLAPeriodOnSiteResponse } from "./calendar";
|
||||
import type { ComputeSLAPeriodOnSiteRequest } from "./calendar";
|
||||
import type { GetPublicHolidaysResponse } from "./calendar";
|
||||
import type { GetPublicHolidaysRequest } from "./calendar";
|
||||
@@ -18,7 +17,7 @@ import type { GetOnSiteResponse } from "./calendar";
|
||||
import type { GetOnSiteRequest } from "./calendar";
|
||||
import type { CreateOnSiteResponse } from "./calendar";
|
||||
import type { CreateOnSiteRequest } from "./calendar";
|
||||
import type { ComputeSLAPeriodOnOrganisationResponse } from "./calendar";
|
||||
import type { ComputeSLAPeriodResponse } from "./calendar";
|
||||
import type { ComputeSLAPeriodOnOrganisationRequest } from "./calendar";
|
||||
import type { DeleteOnOrganisationResponse } from "./calendar";
|
||||
import type { DeleteOnOrganisationRequest } from "./calendar";
|
||||
@@ -60,7 +59,7 @@ export interface ICalendarServiceClient {
|
||||
/**
|
||||
* @generated from protobuf rpc: ComputeSLAPeriodOnOrganisation
|
||||
*/
|
||||
computeSLAPeriodOnOrganisation(input: ComputeSLAPeriodOnOrganisationRequest, options?: RpcOptions): UnaryCall<ComputeSLAPeriodOnOrganisationRequest, ComputeSLAPeriodOnOrganisationResponse>;
|
||||
computeSLAPeriodOnOrganisation(input: ComputeSLAPeriodOnOrganisationRequest, options?: RpcOptions): UnaryCall<ComputeSLAPeriodOnOrganisationRequest, ComputeSLAPeriodResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CreateOnSite
|
||||
*/
|
||||
@@ -88,7 +87,7 @@ export interface ICalendarServiceClient {
|
||||
/**
|
||||
* @generated from protobuf rpc: ComputeSLAPeriodOnSite
|
||||
*/
|
||||
computeSLAPeriodOnSite(input: ComputeSLAPeriodOnSiteRequest, options?: RpcOptions): UnaryCall<ComputeSLAPeriodOnSiteRequest, ComputeSLAPeriodOnSiteResponse>;
|
||||
computeSLAPeriodOnSite(input: ComputeSLAPeriodOnSiteRequest, options?: RpcOptions): UnaryCall<ComputeSLAPeriodOnSiteRequest, ComputeSLAPeriodResponse>;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf service api.CalendarService
|
||||
@@ -137,9 +136,9 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
|
||||
/**
|
||||
* @generated from protobuf rpc: ComputeSLAPeriodOnOrganisation
|
||||
*/
|
||||
computeSLAPeriodOnOrganisation(input: ComputeSLAPeriodOnOrganisationRequest, options?: RpcOptions): UnaryCall<ComputeSLAPeriodOnOrganisationRequest, ComputeSLAPeriodOnOrganisationResponse> {
|
||||
computeSLAPeriodOnOrganisation(input: ComputeSLAPeriodOnOrganisationRequest, options?: RpcOptions): UnaryCall<ComputeSLAPeriodOnOrganisationRequest, ComputeSLAPeriodResponse> {
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ComputeSLAPeriodOnOrganisationRequest, ComputeSLAPeriodOnOrganisationResponse>("unary", this._transport, method, opt, input);
|
||||
return stackIntercept<ComputeSLAPeriodOnOrganisationRequest, ComputeSLAPeriodResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CreateOnSite
|
||||
@@ -186,8 +185,8 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
|
||||
/**
|
||||
* @generated from protobuf rpc: ComputeSLAPeriodOnSite
|
||||
*/
|
||||
computeSLAPeriodOnSite(input: ComputeSLAPeriodOnSiteRequest, options?: RpcOptions): UnaryCall<ComputeSLAPeriodOnSiteRequest, ComputeSLAPeriodOnSiteResponse> {
|
||||
computeSLAPeriodOnSite(input: ComputeSLAPeriodOnSiteRequest, options?: RpcOptions): UnaryCall<ComputeSLAPeriodOnSiteRequest, ComputeSLAPeriodResponse> {
|
||||
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ComputeSLAPeriodOnSiteRequest, ComputeSLAPeriodOnSiteResponse>("unary", this._transport, method, opt, input);
|
||||
return stackIntercept<ComputeSLAPeriodOnSiteRequest, ComputeSLAPeriodResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
92
calendar.ts
92
calendar.ts
@@ -348,19 +348,6 @@ export interface ComputeSLAPeriodOnOrganisationRequest {
|
||||
*/
|
||||
StartSearchTime: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ComputeSLAPeriodOnOrganisationResponse
|
||||
*/
|
||||
export interface ComputeSLAPeriodOnOrganisationResponse {
|
||||
/**
|
||||
* @generated from protobuf field: string StartSLA = 1
|
||||
*/
|
||||
StartSLA: string;
|
||||
/**
|
||||
* @generated from protobuf field: string EndSLA = 2
|
||||
*/
|
||||
EndSLA: string;
|
||||
}
|
||||
// //// API at Site level
|
||||
|
||||
/**
|
||||
@@ -549,9 +536,9 @@ export interface ComputeSLAPeriodOnSiteRequest {
|
||||
StartSearchTime: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ComputeSLAPeriodOnSiteResponse
|
||||
* @generated from protobuf message api.ComputeSLAPeriodResponse
|
||||
*/
|
||||
export interface ComputeSLAPeriodOnSiteResponse {
|
||||
export interface ComputeSLAPeriodResponse {
|
||||
/**
|
||||
* @generated from protobuf field: string StartSLA = 1
|
||||
*/
|
||||
@@ -1528,61 +1515,6 @@ class ComputeSLAPeriodOnOrganisationRequest$Type extends MessageType<ComputeSLAP
|
||||
*/
|
||||
export const ComputeSLAPeriodOnOrganisationRequest = new ComputeSLAPeriodOnOrganisationRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ComputeSLAPeriodOnOrganisationResponse$Type extends MessageType<ComputeSLAPeriodOnOrganisationResponse> {
|
||||
constructor() {
|
||||
super("api.ComputeSLAPeriodOnOrganisationResponse", [
|
||||
{ no: 1, name: "StartSLA", kind: "scalar", localName: "StartSLA", jsonName: "StartSLA", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "EndSLA", kind: "scalar", localName: "EndSLA", jsonName: "EndSLA", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ComputeSLAPeriodOnOrganisationResponse>): ComputeSLAPeriodOnOrganisationResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.StartSLA = "";
|
||||
message.EndSLA = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ComputeSLAPeriodOnOrganisationResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ComputeSLAPeriodOnOrganisationResponse): ComputeSLAPeriodOnOrganisationResponse {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string StartSLA */ 1:
|
||||
message.StartSLA = reader.string();
|
||||
break;
|
||||
case /* string EndSLA */ 2:
|
||||
message.EndSLA = reader.string();
|
||||
break;
|
||||
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: ComputeSLAPeriodOnOrganisationResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string StartSLA = 1; */
|
||||
if (message.StartSLA !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.StartSLA);
|
||||
/* string EndSLA = 2; */
|
||||
if (message.EndSLA !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.EndSLA);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.ComputeSLAPeriodOnOrganisationResponse
|
||||
*/
|
||||
export const ComputeSLAPeriodOnOrganisationResponse = new ComputeSLAPeriodOnOrganisationResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class CreateOnSiteRequest$Type extends MessageType<CreateOnSiteRequest> {
|
||||
constructor() {
|
||||
super("api.CreateOnSiteRequest", [
|
||||
@@ -2202,22 +2134,22 @@ class ComputeSLAPeriodOnSiteRequest$Type extends MessageType<ComputeSLAPeriodOnS
|
||||
*/
|
||||
export const ComputeSLAPeriodOnSiteRequest = new ComputeSLAPeriodOnSiteRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ComputeSLAPeriodOnSiteResponse$Type extends MessageType<ComputeSLAPeriodOnSiteResponse> {
|
||||
class ComputeSLAPeriodResponse$Type extends MessageType<ComputeSLAPeriodResponse> {
|
||||
constructor() {
|
||||
super("api.ComputeSLAPeriodOnSiteResponse", [
|
||||
super("api.ComputeSLAPeriodResponse", [
|
||||
{ no: 1, name: "StartSLA", kind: "scalar", localName: "StartSLA", jsonName: "StartSLA", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "EndSLA", kind: "scalar", localName: "EndSLA", jsonName: "EndSLA", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ComputeSLAPeriodOnSiteResponse>): ComputeSLAPeriodOnSiteResponse {
|
||||
create(value?: PartialMessage<ComputeSLAPeriodResponse>): ComputeSLAPeriodResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.StartSLA = "";
|
||||
message.EndSLA = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ComputeSLAPeriodOnSiteResponse>(this, message, value);
|
||||
reflectionMergePartial<ComputeSLAPeriodResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ComputeSLAPeriodOnSiteResponse): ComputeSLAPeriodOnSiteResponse {
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ComputeSLAPeriodResponse): ComputeSLAPeriodResponse {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
@@ -2239,7 +2171,7 @@ class ComputeSLAPeriodOnSiteResponse$Type extends MessageType<ComputeSLAPeriodOn
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ComputeSLAPeriodOnSiteResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
internalBinaryWrite(message: ComputeSLAPeriodResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string StartSLA = 1; */
|
||||
if (message.StartSLA !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.StartSLA);
|
||||
@@ -2253,9 +2185,9 @@ class ComputeSLAPeriodOnSiteResponse$Type extends MessageType<ComputeSLAPeriodOn
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.ComputeSLAPeriodOnSiteResponse
|
||||
* @generated MessageType for protobuf message api.ComputeSLAPeriodResponse
|
||||
*/
|
||||
export const ComputeSLAPeriodOnSiteResponse = new ComputeSLAPeriodOnSiteResponse$Type();
|
||||
export const ComputeSLAPeriodResponse = new ComputeSLAPeriodResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.CalendarService
|
||||
*/
|
||||
@@ -2265,12 +2197,12 @@ export const CalendarService = new ServiceType("api.CalendarService", [
|
||||
{ name: "ListOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "List Calendar of an organisation" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ListOnOrganisationRequest, O: ListOnOrganisationResponse },
|
||||
{ name: "UpdateOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Update a Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateOnOrganisationRequest, O: UpdateOnOrganisationResponse },
|
||||
{ name: "DeleteOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteOnOrganisationRequest, O: DeleteOnOrganisationResponse },
|
||||
{ name: "ComputeSLAPeriodOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Compute the ETA according to a Period and the Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ComputeSLAPeriodOnOrganisationRequest, O: ComputeSLAPeriodOnOrganisationResponse },
|
||||
{ name: "ComputeSLAPeriodOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Compute the ETA according to a Period and the Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ComputeSLAPeriodOnOrganisationRequest, O: ComputeSLAPeriodResponse },
|
||||
{ name: "CreateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Create a Calendar for the site" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateOnSiteRequest, O: CreateOnSiteResponse },
|
||||
{ name: "GetOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get a Calendar at site level" }, "api.rscType": "Site", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetOnSiteRequest, O: GetOnSiteResponse },
|
||||
{ name: "ListOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "List Calendar of an site" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ListOnSiteRequest, O: ListOnSiteResponse },
|
||||
{ name: "UpdateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Update a Calendar at site level" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateOnSiteRequest, O: UpdateOnSiteResponse },
|
||||
{ name: "DeleteOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar at site level" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteOnSiteRequest, O: DeleteOnSiteResponse },
|
||||
{ name: "GetPublicHolidays", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get public holidays for a given country up to a given year" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetPublicHolidaysRequest, O: GetPublicHolidaysResponse },
|
||||
{ name: "ComputeSLAPeriodOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Compute the ETA according to a Period and the Calendar at site level" }, "api.rscType": "Site", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ComputeSLAPeriodOnSiteRequest, O: ComputeSLAPeriodOnSiteResponse }
|
||||
{ name: "ComputeSLAPeriodOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Compute the ETA according to a Period and the Calendar at site level" }, "api.rscType": "Site", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ComputeSLAPeriodOnSiteRequest, O: ComputeSLAPeriodResponse }
|
||||
], { "api.k8sService": "core-calendar" });
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-250916092349",
|
||||
"version": "1.12.0-SNAPSHOT-250916123548",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user