Latest generation

This commit is contained in:
ci core model
2025-06-11 13:13:22 +00:00
parent 143daff298
commit 4382d9fa25
3 changed files with 71 additions and 108 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.11.0-SNAPSHOT-250611082307",
"version": "1.11.0-SNAPSHOT-250611131305",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",

View File

@@ -141,7 +141,7 @@ export interface Site {
*/
Emails: string[];
/**
* set the fallback language in case of missing translation
* Set the fallback language in case of missing translation
*
* @generated from protobuf field: string DefaultSiteLanguageISO6391 = 21
*/
@@ -422,13 +422,13 @@ export interface GetAvailableSlotsRequest {
*/
Segmentations: Segmentation[];
/**
* Start date of the range to look for available slots
* format yyyy-mm-dd, Start date of the range to look for available slots
*
* @generated from protobuf field: string StartDate = 5
*/
StartDate: string;
/**
* End date of the range to look for available slots
* format yyyy-mm-dd, End date of the range to look for available slots
*
* @generated from protobuf field: string EndDate = 6
*/
@@ -484,8 +484,8 @@ export interface BookAppointmentRequest {
*/
Slots: Slot[];
/**
* User mails being notified on this appointment
* TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
* User mails being notified on this appointment
*
* @generated from protobuf field: repeated string Emails = 8
*/

View File

@@ -68,7 +68,7 @@ export interface Slot {
*
* @generated from protobuf field: string StartDateTime = 1
*/
StartDateTime: string;
StartDateTime: string; // format yyyy-mm-jjThh:mm:ss (iso8601 without timezone, because the time zone is defined by the site on which the slot is booked)
/**
* Slot duration in seconds.
*
@@ -138,76 +138,57 @@ export interface Instruction {
*/
export interface OpeningRule {
/**
* Start date of the opening rule validity, format yyyy-mm-jj
* TODO Add time
*
* @generated from protobuf field: string StartDate = 1
*/
StartDate: string;
StartDate: string; // Start date of the opening rule validity, format yyyy-mm-jj
/**
* End date of the opening rule validity, format yyyy-mm-jj
*
* @generated from protobuf field: string EndDate = 2
*/
EndDate: string;
EndDate: string; // End date of the opening rule validity, format yyyy-mm-jj
/**
* Definition of the opening rules by week day
*
* @generated from protobuf field: repeated api.OpeningDay OpeningDays = 3
*/
OpeningDays: OpeningDay[];
OpeningDays: OpeningDay[]; // Definition of the opening rules by week day
/**
* The identifier of the calendar to be used within this period of time
*
* @generated from protobuf field: string CalendarID = 4
*/
CalendarID: string;
CalendarID: string; // The identifier of the calendar to be used within this period of time
/**
* Label of the Rule
*
* @generated from protobuf field: string Label = 5
*/
Label: string;
Label: string; // Label of the Rule
}
/**
* @generated from protobuf message api.OpeningDay
*/
export interface OpeningDay {
/**
* Day of the week
*
* @generated from protobuf field: api.WeekDay WeekDay = 1
*/
WeekDay: WeekDay;
WeekDay: WeekDay; // Day of the week
/**
* Opening hours definition according to filters
*
* @generated from protobuf field: repeated api.OpeningDayDefinition Definition = 2
*/
Definition: OpeningDayDefinition[];
Definition: OpeningDayDefinition[]; // Opening hours definition according to filters
}
/**
* @generated from protobuf message api.OpeningDayDefinition
*/
export interface OpeningDayDefinition {
/**
* List of opening hours
*
* @generated from protobuf field: repeated api.TimeRange TimeRanges = 2
*/
TimeRanges: TimeRange[];
TimeRanges: TimeRange[]; // List of opening hours
/**
* Validity filters for this opening rule definition
*
* @generated from protobuf field: api.RuleFilter Filter = 3
*/
Filter?: RuleFilter;
Filter?: RuleFilter; // Validity filters for this opening rule definition
/**
* Order in which the Rule will be applied
*
* @generated from protobuf field: int32 OrderAppliance = 4
*/
OrderAppliance: number;
OrderAppliance: number; // Order in which the Rule will be applied
}
/**
* CapacityRule
@@ -216,64 +197,46 @@ export interface OpeningDayDefinition {
*/
export interface CapacityRule {
/**
* Start date of the capacity rule validity, format yyyy-mm-jj.
*
* @generated from protobuf field: string StartDate = 1
*/
StartDate: string;
StartDate: string; // Start date of the capacity rule validity, format yyyy-mm-jj.
/**
* End date of the capacity rule validity, format yyyy-mm-jj.
*
* @generated from protobuf field: string EndDate = 2
*/
EndDate: string;
EndDate: string; // End date of the capacity rule validity, format yyyy-mm-jj.
/**
* Label of the Rule
*
* @generated from protobuf field: string Label = 5
*/
Label: string;
Label: string; // Label of the Rule
/**
* List of the days on which this rule is applied.
*
* @generated from protobuf field: repeated api.WeekDay Days = 3
*/
Days: WeekDay[];
Days: WeekDay[]; // List of the days on which this rule is applied.
/**
* Definition of the capacity rules.
*
* @generated from protobuf field: repeated api.CapacityDefinition Capacities = 4
*/
Capacities: CapacityDefinition[];
Capacities: CapacityDefinition[]; // Definition of the capacity rules.
}
/**
* @generated from protobuf message api.CapacityDefinition
*/
export interface CapacityDefinition {
/**
* Validity filters for this capacity rule definition.
*
* @generated from protobuf field: api.RuleFilter Filter = 1
*/
Filter?: RuleFilter;
Filter?: RuleFilter; // Validity filters for this capacity rule definition.
/**
* Scope of the rule, simultaneous or daily.
*
* @generated from protobuf field: api.CapacityRuleScope Scope = 2
*/
Scope: CapacityRuleScope;
Scope: CapacityRuleScope; // Scope of the rule, simultaneous or daily.
/**
* The capacity constraint to apply.
*
* @generated from protobuf field: int64 MaximalCapacity = 3
*/
MaximalCapacity: bigint;
MaximalCapacity: bigint; // The capacity constraint to apply.
/**
* Site unit identifier of the capacity if not 'APPOINTMENT'.
*
* @generated from protobuf field: string UnitID = 4
*/
UnitID: string;
UnitID: string; // Site unit identifier of the capacity.
}
/**
* DurationRule
@@ -647,121 +610,121 @@ export interface SlotGroup {
*/
export enum AppointmentType {
/**
* @generated from protobuf enum value: APPOINTMENTTYPE_UNKNOWN = 0;
* @generated from protobuf enum value: APPOINTMENT_TYPE_UNKNOWN = 0;
*/
APPOINTMENTTYPE_UNKNOWN = 0,
APPOINTMENT_TYPE_UNKNOWN = 0,
/**
* @generated from protobuf enum value: APPOINTMENTTYPE_EXPEDITION = 1;
* @generated from protobuf enum value: APPOINTMENT_TYPE_EXPEDITION = 1;
*/
APPOINTMENTTYPE_EXPEDITION = 1,
APPOINTMENT_TYPE_EXPEDITION = 1,
/**
* @generated from protobuf enum value: APPOINTMENTTYPE_RECEPTION = 2;
* @generated from protobuf enum value: APPOINTMENT_TYPE_RECEPTION = 2;
*/
APPOINTMENTTYPE_RECEPTION = 2,
APPOINTMENT_TYPE_RECEPTION = 2,
/**
* @generated from protobuf enum value: APPOINTMENTTYPE_UNDEFINED = 3;
* @generated from protobuf enum value: APPOINTMENT_TYPE_UNDEFINED = 3;
*/
APPOINTMENTTYPE_UNDEFINED = 3,
APPOINTMENT_TYPE_UNDEFINED = 3,
/**
* @generated from protobuf enum value: APPOINTMENTTYPE_BOTH = 4;
* @generated from protobuf enum value: APPOINTMENT_TYPE_BOTH = 4;
*/
APPOINTMENTTYPE_BOTH = 4
APPOINTMENT_TYPE_BOTH = 4
}
/**
* @generated from protobuf enum api.PeriodUnit
*/
export enum PeriodUnit {
/**
* @generated from protobuf enum value: PERIODUNIT_UNDEFINED = 0;
* @generated from protobuf enum value: PERIOD_UNIT_UNDEFINED = 0;
*/
PERIODUNIT_UNDEFINED = 0,
PERIOD_UNIT_UNDEFINED = 0,
/**
* @generated from protobuf enum value: PERIODUNIT_WORK_HOUR = 1;
* @generated from protobuf enum value: PERIOD_UNIT_WORK_HOUR = 1;
*/
PERIODUNIT_WORK_HOUR = 1,
PERIOD_UNIT_WORK_HOUR = 1,
/**
* @generated from protobuf enum value: PERIODUNIT_WORK_DAY = 2;
* @generated from protobuf enum value: PERIOD_UNIT_WORK_DAY = 2;
*/
PERIODUNIT_WORK_DAY = 2,
PERIOD_UNIT_WORK_DAY = 2,
/**
* Google Duration class only expresses durations in seconds and nanoseconds
* To get it in calendar days, working days, it is more complex because all year days do not have the same length...
* Some go libraries will be required
*
* @generated from protobuf enum value: PERIODUNIT_CALENDAR_DAY = 3;
* @generated from protobuf enum value: PERIOD_UNIT_CALENDAR_DAY = 3;
*/
PERIODUNIT_CALENDAR_DAY = 3
PERIOD_UNIT_CALENDAR_DAY = 3
}
/**
* @generated from protobuf enum api.CapacityRuleScope
*/
export enum CapacityRuleScope {
/**
* @generated from protobuf enum value: CAPACITYRULESCOPE_UNKNOWN = 0;
* @generated from protobuf enum value: CAPACITY_RULE_SCOPE_UNKNOWN = 0;
*/
CAPACITYRULESCOPE_UNKNOWN = 0,
CAPACITY_RULE_SCOPE_UNKNOWN = 0,
/**
* @generated from protobuf enum value: CAPACITYRULESCOPE_SIMULTANEOUS = 1;
* @generated from protobuf enum value: CAPACITY_RULE_SCOPE_SIMULTANEOUS = 1;
*/
CAPACITYRULESCOPE_SIMULTANEOUS = 1,
CAPACITY_RULE_SCOPE_SIMULTANEOUS = 1,
/**
* @generated from protobuf enum value: CAPACITYRULESCOPE_DAILY = 2;
* @generated from protobuf enum value: CAPACITY_RULE_SCOPE_DAILY = 2;
*/
CAPACITYRULESCOPE_DAILY = 2
CAPACITY_RULE_SCOPE_DAILY = 2
}
/**
* @generated from protobuf enum api.CarrierInformationType
*/
export enum CarrierInformationType {
/**
* @generated from protobuf enum value: CARRIERINFORMATIONTYPE_UNKNOWN = 0;
* @generated from protobuf enum value: CARRIER_INFORMATION_TYPE_UNKNOWN = 0;
*/
CARRIERINFORMATIONTYPE_UNKNOWN = 0,
CARRIER_INFORMATION_TYPE_UNKNOWN = 0,
/**
* @generated from protobuf enum value: CARRIERINFORMATIONTYPE_SHORT_TEXT = 1;
* @generated from protobuf enum value: CARRIER_INFORMATION_TYPE_SHORT_TEXT = 1;
*/
CARRIERINFORMATIONTYPE_SHORT_TEXT = 1,
CARRIER_INFORMATION_TYPE_SHORT_TEXT = 1,
/**
* @generated from protobuf enum value: CARRIERINFORMATIONTYPE_LONG_TEXT = 2;
* @generated from protobuf enum value: CARRIER_INFORMATION_TYPE_LONG_TEXT = 2;
*/
CARRIERINFORMATIONTYPE_LONG_TEXT = 2,
CARRIER_INFORMATION_TYPE_LONG_TEXT = 2,
/**
* @generated from protobuf enum value: CARRIERINFORMATIONTYPE_PHONE = 3;
* @generated from protobuf enum value: CARRIER_INFORMATION_TYPE_PHONE = 3;
*/
CARRIERINFORMATIONTYPE_PHONE = 3,
CARRIER_INFORMATION_TYPE_PHONE = 3,
/**
* @generated from protobuf enum value: CARRIERINFORMATIONTYPE_MAIL = 4;
* @generated from protobuf enum value: CARRIER_INFORMATION_TYPE_MAIL = 4;
*/
CARRIERINFORMATIONTYPE_MAIL = 4,
CARRIER_INFORMATION_TYPE_MAIL = 4,
/**
* @generated from protobuf enum value: CARRIERINFORMATIONTYPE_LICENSE_NUMBER = 5;
* @generated from protobuf enum value: CARRIER_INFORMATION_TYPE_LICENSE_NUMBER = 5;
*/
CARRIERINFORMATIONTYPE_LICENSE_NUMBER = 5,
CARRIER_INFORMATION_TYPE_LICENSE_NUMBER = 5,
/**
* @generated from protobuf enum value: CARRIERINFORMATIONTYPE_DOCUMENT = 6;
* @generated from protobuf enum value: CARRIER_INFORMATION_TYPE_DOCUMENT = 6;
*/
CARRIERINFORMATIONTYPE_DOCUMENT = 6
CARRIER_INFORMATION_TYPE_DOCUMENT = 6
}
/**
* @generated from protobuf enum api.SegmentationConstraintType
*/
export enum SegmentationConstraintType {
/**
* @generated from protobuf enum value: SEGMENTATIONCONSTRAINTTYPE_UNKNOWN = 0;
* @generated from protobuf enum value: SEGMENTATION_CONSTRAINT_TYPE_UNKNOWN = 0;
*/
SEGMENTATIONCONSTRAINTTYPE_UNKNOWN = 0,
SEGMENTATION_CONSTRAINT_TYPE_UNKNOWN = 0,
/**
* @generated from protobuf enum value: SEGMENTATIONCONSTRAINTTYPE_USER_CHOICE = 1;
* @generated from protobuf enum value: SEGMENTATION_CONSTRAINT_TYPE_USER_CHOICE = 1;
*/
SEGMENTATIONCONSTRAINTTYPE_USER_CHOICE = 1,
SEGMENTATION_CONSTRAINT_TYPE_USER_CHOICE = 1,
/**
* @generated from protobuf enum value: SEGMENTATIONCONSTRAINTTYPE_ORDER_ATTRIBUTE = 2;
* @generated from protobuf enum value: SEGMENTATION_CONSTRAINT_TYPE_ORDER_ATTRIBUTE = 2;
*/
SEGMENTATIONCONSTRAINTTYPE_ORDER_ATTRIBUTE = 2,
SEGMENTATION_CONSTRAINT_TYPE_ORDER_ATTRIBUTE = 2,
/**
* @generated from protobuf enum value: SEGMENTATIONCONSTRAINTTYPE_ENFORCED = 3;
* @generated from protobuf enum value: SEGMENTATION_CONSTRAINT_TYPE_ENFORCED = 3;
*/
SEGMENTATIONCONSTRAINTTYPE_ENFORCED = 3
SEGMENTATION_CONSTRAINT_TYPE_ENFORCED = 3
}
// @generated message type with reflection information, may provide speed optimized methods
class Unit$Type extends MessageType<Unit> {