You've already forked npm-core-sdk
Latest generation
This commit is contained in:
30
calendar.ts
30
calendar.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "calendar.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -578,7 +578,7 @@ class WorkTimeDay$Type extends MessageType<WorkTimeDay> {
|
||||
super("api.WorkTimeDay", [
|
||||
{ no: 1, name: "WeekDay", kind: "enum", localName: "WeekDay", jsonName: "WeekDay", T: () => ["api.WeekDay", WeekDay] },
|
||||
{ no: 2, name: "IsWorkingDay", kind: "scalar", localName: "IsWorkingDay", jsonName: "IsWorkingDay", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 3, name: "TimeRanges", kind: "message", localName: "TimeRanges", jsonName: "TimeRanges", repeat: 1 /*RepeatType.PACKED*/, T: () => TimeRange }
|
||||
{ no: 3, name: "TimeRanges", kind: "message", localName: "TimeRanges", jsonName: "TimeRanges", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TimeRange }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<WorkTimeDay>): WorkTimeDay {
|
||||
@@ -639,7 +639,7 @@ export const WorkTimeDay = new WorkTimeDay$Type();
|
||||
class ExceptionnalClosure$Type extends MessageType<ExceptionnalClosure> {
|
||||
constructor() {
|
||||
super("api.ExceptionnalClosure", [
|
||||
{ no: 1, name: "Label", kind: "message", localName: "Label", jsonName: "Label", repeat: 1 /*RepeatType.PACKED*/, T: () => LabelByLanguage },
|
||||
{ no: 1, name: "Label", kind: "message", localName: "Label", jsonName: "Label", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LabelByLanguage },
|
||||
{ no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } },
|
||||
{ no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } },
|
||||
{ no: 4, name: "FullDay", kind: "scalar", localName: "FullDay", jsonName: "FullDay", T: 8 /*ScalarType.BOOL*/ },
|
||||
@@ -731,8 +731,8 @@ class Calendar$Type extends MessageType<Calendar> {
|
||||
{ no: 3, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 6, name: "ExceptionnalClosures", kind: "message", localName: "ExceptionnalClosures", jsonName: "ExceptionnalClosures", repeat: 1 /*RepeatType.PACKED*/, T: () => ExceptionnalClosure },
|
||||
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 1 /*RepeatType.PACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
|
||||
{ no: 6, name: "ExceptionnalClosures", kind: "message", localName: "ExceptionnalClosures", jsonName: "ExceptionnalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionnalClosure },
|
||||
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Calendar>): Calendar {
|
||||
@@ -824,8 +824,8 @@ class CreateCalendarOnOrganisationRequest$Type extends MessageType<CreateCalenda
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "ExceptionnalClosures", kind: "message", localName: "ExceptionnalClosures", jsonName: "ExceptionnalClosures", repeat: 1 /*RepeatType.PACKED*/, T: () => ExceptionnalClosure },
|
||||
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 1 /*RepeatType.PACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
|
||||
{ no: 4, name: "ExceptionnalClosures", kind: "message", localName: "ExceptionnalClosures", jsonName: "ExceptionnalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionnalClosure },
|
||||
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<CreateCalendarOnOrganisationRequest>): CreateCalendarOnOrganisationRequest {
|
||||
@@ -1091,7 +1091,7 @@ export const ListCalendarOnOrganisationRequest = new ListCalendarOnOrganisationR
|
||||
class ListCalendarOnOrganisationResponse$Type extends MessageType<ListCalendarOnOrganisationResponse> {
|
||||
constructor() {
|
||||
super("api.ListCalendarOnOrganisationResponse", [
|
||||
{ no: 1, name: "Calendars", kind: "message", localName: "Calendars", jsonName: "Calendars", repeat: 1 /*RepeatType.PACKED*/, T: () => Calendar }
|
||||
{ no: 1, name: "Calendars", kind: "message", localName: "Calendars", jsonName: "Calendars", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Calendar }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ListCalendarOnOrganisationResponse>): ListCalendarOnOrganisationResponse {
|
||||
@@ -1142,8 +1142,8 @@ class UpdateCalendarOnOrganisationRequest$Type extends MessageType<UpdateCalenda
|
||||
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 5, name: "ExceptionnalClosures", kind: "message", localName: "ExceptionnalClosures", jsonName: "ExceptionnalClosures", repeat: 1 /*RepeatType.PACKED*/, T: () => ExceptionnalClosure },
|
||||
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 1 /*RepeatType.PACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
|
||||
{ no: 5, name: "ExceptionnalClosures", kind: "message", localName: "ExceptionnalClosures", jsonName: "ExceptionnalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionnalClosure },
|
||||
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<UpdateCalendarOnOrganisationRequest>): UpdateCalendarOnOrganisationRequest {
|
||||
@@ -1582,8 +1582,8 @@ class CreateCalendarOnSiteRequest$Type extends MessageType<CreateCalendarOnSiteR
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "ExceptionnalClosures", kind: "message", localName: "ExceptionnalClosures", jsonName: "ExceptionnalClosures", repeat: 1 /*RepeatType.PACKED*/, T: () => ExceptionnalClosure },
|
||||
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 1 /*RepeatType.PACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
|
||||
{ no: 4, name: "ExceptionnalClosures", kind: "message", localName: "ExceptionnalClosures", jsonName: "ExceptionnalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionnalClosure },
|
||||
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<CreateCalendarOnSiteRequest>): CreateCalendarOnSiteRequest {
|
||||
@@ -1849,7 +1849,7 @@ export const ListCalendarOnSiteRequest = new ListCalendarOnSiteRequest$Type();
|
||||
class ListCalendarOnSiteResponse$Type extends MessageType<ListCalendarOnSiteResponse> {
|
||||
constructor() {
|
||||
super("api.ListCalendarOnSiteResponse", [
|
||||
{ no: 1, name: "Calendars", kind: "message", localName: "Calendars", jsonName: "Calendars", repeat: 1 /*RepeatType.PACKED*/, T: () => Calendar }
|
||||
{ no: 1, name: "Calendars", kind: "message", localName: "Calendars", jsonName: "Calendars", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Calendar }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ListCalendarOnSiteResponse>): ListCalendarOnSiteResponse {
|
||||
@@ -1900,8 +1900,8 @@ class UpdateCalendarOnSiteRequest$Type extends MessageType<UpdateCalendarOnSiteR
|
||||
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 5, name: "ExceptionnalClosures", kind: "message", localName: "ExceptionnalClosures", jsonName: "ExceptionnalClosures", repeat: 1 /*RepeatType.PACKED*/, T: () => ExceptionnalClosure },
|
||||
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 1 /*RepeatType.PACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
|
||||
{ no: 5, name: "ExceptionnalClosures", kind: "message", localName: "ExceptionnalClosures", jsonName: "ExceptionnalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionnalClosure },
|
||||
{ no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<UpdateCalendarOnSiteRequest>): UpdateCalendarOnSiteRequest {
|
||||
|
||||
Reference in New Issue
Block a user