Skip to content

Commit 05fd935

Browse files
authored
Merge pull request #24 from tspence/main
Generate SDKs for 2022.15
2 parents b308d21 + 4c1dbaf commit 05fd935

File tree

7 files changed

+26
-14
lines changed

7 files changed

+26
-14
lines changed

LockstepApi.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>LockstepSdk</id>
5-
<version>2022.14.30</version>
5+
<version>2022.15.31</version>
66
<title>LockstepSdk</title>
77
<authors>Lockstep Network</authors>
88
<owners>Lockstep, Inc.</owners>
@@ -14,7 +14,7 @@
1414
<readme>docs/README.md</readme>
1515
<summary>Lockstep Platform SDK for CSharp</summary>
1616
<releaseNotes>
17-
# 2022.14.30
17+
# 2022.15.31
1818

1919
For full patch notes see [Patch Notes](https://medium.com/lockstep-developer/tagged/patch-notes) on the [Lockstep Developer website](https://developer.lockstep.io)
2020
</releaseNotes>

src/Enums.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
{
33

44
/// <summary>
5-
/// An enumeration listing all publicly available Lockstep Platform environments
5+
/// A collection of publicly available Lockstep Platform environments
66
/// </summary>
7-
public enum LockstepEnv
7+
public class LockstepEnv
88
{
99
/// <summary>
1010
/// Production environment - https://api.lockstep.io
1111
/// </summary>
12-
PRD,
12+
public static string PRD = "prd";
1313

1414
/// <summary>
1515
/// Sandbox environment - https://api.sbx.lockstep.io
1616
/// </summary>
17-
SBX
17+
public static string SBX = "sbx";
1818
}
1919

2020
/// <summary>

src/LockstepApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @author Lockstep Network <[email protected]>
1010
*
1111
* @copyright 2021-2022 Lockstep, Inc.
12-
* @version 2022.14.30
12+
* @version 2022.15.31
1313
* @link https://github.com/Lockstep-Network/lockstep-sdk-csharp
1414
*/
1515

@@ -36,7 +36,7 @@ public class LockstepApi
3636
{
3737
// The URL of the environment we will use
3838
private readonly string _serverUrl;
39-
private const string _version = "2022.14.30";
39+
private const string _version = "2022.15.31";
4040
private readonly HttpClient _client;
4141
private string _appName;
4242
private string _bearerToken;

src/clients/ReportsClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ public async Task<LockstepResponse<AttachmentHeaderInfoModel>> AttachmentsHeader
147147
/// Generates a Trial Balance Report for the given time range.
148148
///
149149
/// </summary>
150-
/// <param name="startDate"></param>
151-
/// <param name="endDate"></param>
150+
/// <param name="startDate">The start date of the report</param>
151+
/// <param name="endDate">The end date of the report</param>
152152
public async Task<LockstepResponse<FinancialReportModel>> TrialBalanceReport(DateTime? startDate = null, DateTime? endDate = null)
153153
{
154154
var url = $"/api/v1/Reports/trial-balance";

src/models/ContactSyncModel.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ public class ContactSyncModel
4242
/// Example: If you store your contact records in a database, whatever the primary key for the contact table is
4343
/// in the database should be the &quot;ErpKey&quot;.
4444
///
45+
/// As some ERP systems don&#39;t maintain a unique key for Contacts, we also support syncing Contacts with ERP keys
46+
/// of the form {CompanyErpKey}|{index}, for example CompanyErpKey|1, CompanyErpKey|2 and so on.
47+
///
48+
/// For this reason, please ensure that your Company/Contact ERP keys don&#39;t contain the &#39;|&#39; symbol or that it
49+
/// is replaced by an alternate symbol if they do.
50+
///
4551
/// For more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).
4652
/// </summary>
4753
public string ErpKey { get; set; }

src/models/DeveloperAccountSubmitModel.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,14 @@ public class DeveloperAccountSubmitModel
2727
{
2828

2929
/// <summary>
30-
/// The name of the developer.
30+
/// The first name of the person requesting the developer account.
3131
/// </summary>
32-
public string Name { get; set; }
32+
public string FirstName { get; set; }
33+
34+
/// <summary>
35+
/// The last name of the person requesting the developer account.
36+
/// </summary>
37+
public string LastName { get; set; }
3338

3439
/// <summary>
3540
/// The email address of the developer.

src/models/InvoiceSyncModel.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ public class InvoiceSyncModel
9999
///
100100
/// Recognized Invoice types are:
101101
/// * `Invoice` - Represents an invoice sent by Company to the Customer
102-
/// * `AP Invoice` - Represents an invoice sent by Customer to the Company
103-
/// * `Credit Memo` - Represents a credit memo generated by Customer given to Company
102+
/// * `AP Invoice` - Represents an invoice sent by Vendor to the Company
103+
/// * `Credit Memo` - Represents a credit memo generated by Company given to Customer
104+
/// * `AP Credit Memo` - Represents a credit memo generated by Vendor given to Company
104105
/// </summary>
105106
public string InvoiceTypeCode { get; set; }
106107

0 commit comments

Comments
 (0)