Skip to content

Commit 6efb813

Browse files
author
Jani Giannoudis
committed
calendar service: adapted name changes period/cycle/value
updated verion to 0.9.0-beta.5
1 parent ec55811 commit 6efb813

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

Client.Core/PayrollEngine.Client.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
</None>
9090
</ItemGroup>
9191
<ItemGroup>
92-
<PackageReference Include="PayrollEngine.Core" Version="0.9.0-beta.4" />
92+
<PackageReference Include="PayrollEngine.Core" Version="0.9.0-beta.5" />
9393
</ItemGroup>
9494

9595
<!-- build json schema -->

Client.Core/PayrollEngine.Client.Core.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12554,14 +12554,14 @@
1255412554
<member name="M:PayrollEngine.Client.TenantApiEndpoints.CalendarUrl(System.Int32,System.Int32)">
1255512555
<summary>The calendar URL</summary>
1255612556
</member>
12557-
<member name="M:PayrollEngine.Client.TenantApiEndpoints.TenantCalendarsPeriodsUrl(System.Int32)">
12558-
<summary>The calendars periods URL</summary>
12557+
<member name="M:PayrollEngine.Client.TenantApiEndpoints.TenantCalendarsPeriodUrl(System.Int32)">
12558+
<summary>The calendars period URL</summary>
1255912559
</member>
12560-
<member name="M:PayrollEngine.Client.TenantApiEndpoints.TenantCalendarsCyclesUrl(System.Int32)">
12561-
<summary>The calendar cycles URL</summary>
12560+
<member name="M:PayrollEngine.Client.TenantApiEndpoints.TenantCalendarsCycleUrl(System.Int32)">
12561+
<summary>The calendar cycle URL</summary>
1256212562
</member>
12563-
<member name="M:PayrollEngine.Client.TenantApiEndpoints.TenantCalendarsValuesUrl(System.Int32)">
12564-
<summary>The calendar values URL</summary>
12563+
<member name="M:PayrollEngine.Client.TenantApiEndpoints.TenantCalendarsValueUrl(System.Int32)">
12564+
<summary>The calendar value URL</summary>
1256512565
</member>
1256612566
<member name="M:PayrollEngine.Client.TenantApiEndpoints.UsersUrl(System.Int32)">
1256712567
<summary>The users URL</summary>

Client.Core/Service.Api/CalendarService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public virtual async Task<DatePeriod> GetPeriodAsync(int tenantId, string cultur
147147
throw new ArgumentOutOfRangeException(nameof(tenantId));
148148
}
149149

150-
var url = TenantApiEndpoints.TenantCalendarsPeriodsUrl(tenantId)
150+
var url = TenantApiEndpoints.TenantCalendarsPeriodUrl(tenantId)
151151
.AddQueryString(nameof(cultureName), cultureName)
152152
.AddQueryString(nameof(calendarName), calendarName)
153153
.AddQueryString(nameof(periodMoment), periodMoment)
@@ -164,7 +164,7 @@ public virtual async Task<DatePeriod> GetCycleAsync(int tenantId, string culture
164164
throw new ArgumentOutOfRangeException(nameof(tenantId));
165165
}
166166

167-
var url = TenantApiEndpoints.TenantCalendarsCyclesUrl(tenantId)
167+
var url = TenantApiEndpoints.TenantCalendarsCycleUrl(tenantId)
168168
.AddQueryString(nameof(cultureName), cultureName)
169169
.AddQueryString(nameof(calendarName), calendarName)
170170
.AddQueryString(nameof(cycleMoment), cycleMoment)
@@ -183,7 +183,7 @@ public virtual async Task<DatePeriod> GetCycleAsync(int tenantId, string culture
183183
throw new ArgumentOutOfRangeException(nameof(tenantId));
184184
}
185185

186-
var url = TenantApiEndpoints.TenantCalendarsValuesUrl(tenantId)
186+
var url = TenantApiEndpoints.TenantCalendarsValueUrl(tenantId)
187187
.AddQueryString(nameof(cultureName), cultureName)
188188
.AddQueryString(nameof(calendarName), calendarName)
189189
.AddQueryString(nameof(value), value)

Client.Core/TenantApiEndpoints.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ public static string CalendarsUrl(int tenantId) =>
3838
public static string CalendarUrl(int tenantId, int calendarId) =>
3939
$"{CalendarsUrl(tenantId)}/{calendarId}";
4040

41-
/// <summary>The calendars periods URL</summary>
42-
public static string TenantCalendarsPeriodsUrl(int tenantId) =>
43-
$"{CalendarsUrl(tenantId)}/periods";
41+
/// <summary>The calendars period URL</summary>
42+
public static string TenantCalendarsPeriodUrl(int tenantId) =>
43+
$"{CalendarsUrl(tenantId)}/period";
4444

45-
/// <summary>The calendar cycles URL</summary>
46-
public static string TenantCalendarsCyclesUrl(int tenantId) =>
47-
$"{CalendarsUrl(tenantId)}/cycles";
45+
/// <summary>The calendar cycle URL</summary>
46+
public static string TenantCalendarsCycleUrl(int tenantId) =>
47+
$"{CalendarsUrl(tenantId)}/cycle";
4848

49-
/// <summary>The calendar values URL</summary>
50-
public static string TenantCalendarsValuesUrl(int tenantId) =>
51-
$"{CalendarsUrl(tenantId)}/values";
49+
/// <summary>The calendar value URL</summary>
50+
public static string TenantCalendarsValueUrl(int tenantId) =>
51+
$"{CalendarsUrl(tenantId)}/value";
5252

5353
/// <summary>The users URL</summary>
5454
public static string UsersUrl(int tenantId) =>

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net9.0</TargetFramework>
5-
<Version>0.9.0-beta.4</Version>
5+
<Version>0.9.0-beta.5</Version>
66
<FileVersion>0.9.0</FileVersion>
77
<InformationalVersion></InformationalVersion>
88
<Authors>Jani Giannoudis</Authors>

0 commit comments

Comments
 (0)